VermilionDL
Member
Posted 1 year ago #
Hi there! We just installed the plugin on http://overworld.tv. It works as advertised, although it does seem to appear differently between different browsers. The only thing I'm trying to figure out is if there's a way to have the widget disappear once the user is logged in. It still says 'Connect with Facebook', which can be confusing. Thanks!
richboy7
Member
Posted 1 year ago #
Click Edit below 'SFC - Connect Widget'
Then replace this
<?php echo $before_widget; ?>
<?php if ( $title ) echo $before_title . $title . $after_title; ?>
<?php echo sfc_connect_shortcode(); ?>
<?php echo $after_widget; ?>
with this
<?php if ( ! is_user_logged_in() ){ ?>
<?php echo $before_widget; ?>
<?php if ( $title ) echo $before_title . $title . $after_title; ?>
<?php echo sfc_connect_shortcode(); ?>
<?php echo $after_widget;} ?>
Be careful with '}' in the last line of code.
VermilionDL
Member
Posted 1 year ago #
This worked perfectly, thanks! Great plugin!