if statement div
-
Hello,
I have the following code running :<div class="site-info"> <h6>Title</h6> <?php if (!is_user_logged_in()) { echo '<div style="display:'.((get_locale()=="fr_FR")?'block':'none').';" >'; multieditDisplay('FR-content'); echo '</div>'; echo '<div style="display:'.((get_locale()!="fr_FR")?'block':'none').';" >'; multieditDisplay('EN-content'); echo '</div>'; } if(!is_user_logged_in()) Rencontre::f_ficheLibre(); // version WIDGET else if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar-3')) : endif; ?> </div>
I’d like to have :
if (!is_user_logged_in())
code as above.if (!s_user_logged_in())
code as above without the class=”site-info” and without the <h6>Title</h6>I’ve been struggling with it and cannot make it work.
Thank you !
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘if statement div’ is closed to new replies.