wordpress is_user_logged_inproblem
-
Hello,
No idea why but this does not work in my wordpress post:
[php]if (is_user_logged_in()) {
echo ‘[/php]helllllllllllllllllloooooooooooooooooo[php]‘;
} else {
echo ‘[/php]helllllllllllllllooooooooooooo222222[php]‘;
}[/php]I have of course added a “php” plugin that enables php code in post…the php output works as I have tried it with echo” but the code above won’t recognized if the user is logged in.
Any idea why please?
I am using wordpress 3.3
Thank you,
Ben
- The topic ‘wordpress is_user_logged_inproblem’ is closed to new replies.