content for logged in users
-
i m trying to add some content only for logged in users but getting errors unexpected T_STRING, expecting ‘,’ or ‘;’
i am not very advance with php, please help me with this scratch:<?php if ( !is_user_logged_in() ) { echo '<div id="item-nav"> <ul> <?php bp_get_options_nav(); ?> <?php do_action( 'bp_group_options_nav' ); ?> </ul> </div'; } ?>
- The topic ‘content for logged in users’ is closed to new replies.