Restriction in Template
-
Hey!
How can I show for example a <div> only to logged in users?
Normale I can do something like <?php echo do_shortcode( ‘[restricted]’ ) ?> but in that case it has to be an ending shortcode too…
How is that possible to just show some content to logged in users in my template?
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Restriction in Template’ is closed to new replies.