Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Members Page Message


Nahum
Participant

@nahummadrid

‘<?php if ( is_user_logged_in() ) : ?>

<?php locate_template( array(‘loggedinmessage.php’), true) ?>

<?php else:?>

<?php locate_template( array(‘forloggedoutmessage.php’), true) ?>

<?php endif;?>’

something like this. there’s probably a better way to do it but this works for me. in your message file edit it the way you want to manage your message. this is 2 messages, you can leave out the first one to show blank for logged in users

Skip to toolbar