WordPress.org

Ready to get started?Download WordPress

Forums

Simple Facebook Connect
How to display only for visitors? (1 post)

  1. Watt
    Member
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic