Support » Fixing WordPress » [Plugin: Simple Facebook Connect] How to display only for visitors?

  • Is there a way I can call the connect button so it will display only for the visitors, like this for example:

    <?php if ( is_user_logged_in() ) : ?>
    no fb button
    <?php else : ?>
    fb button (this I need)
    <?php endif; ?>

    I’ve tried to use this <?php do_action(‘fbc_display_login_button’) ?> but doesn’t work.
    Thanks for any advice.

  • The topic ‘[Plugin: Simple Facebook Connect] How to display only for visitors?’ is closed to new replies.