针对登陆用户和游客有不同内容,可用这:
if ( is_user_logged_in()): echo "for member"; else: echo "for guests"; endif;
You must be logged in to post a comment.