Text Widget issues
-
Hi
I’m trying to put the following code in a text widget
<?php if ( is_user_logged_in() ) { ?><a href="index.php?p=74">Profile</a> <?php } ?>
Which should show a link to the profile page only if the user is logged in. However this shows regardless of whether the are logged in or not.
Have I made an error in the command?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Text Widget issues’ is closed to new replies.