Support » Plugin: Twit Connect » [Plugin: Twit Connect] Removing Bottom Twitter Login Button

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author swhitley

    (@swhitley)

    Thanks, Mike.

    The instructions for the plugin (Step 2) show you the code that should be placed in the comments template. When you place that code in the
    template, the second button should not appear. Can you confirm that you’ve used the exact code from Step 2 of the instructions?

    Thread Starter MikeChipshop

    (@mikechipshop)

    Cheers for the reply, i’m pretty sure the code is inserted right.

    My code looks like so…

    <div id="comments">
    <?php if ( post_password_required() ) : ?>
    				<p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyten' ); ?></p>
    			</div><!-- #comments -->
    <?php
    		/* Stop the rest of comments.php from being processed,
    		 * but don't kill the script entirely -- we still have
    		 * to fully load the template.
    		 */
    		return;
    	endif;
    ?>
    
    <?php
    	// You can start editing here -- including this comment!
    ?>
    <ul id="SQ-socialbuttons">
    <li><?php if(function_exists('twit_connect')){twit_connect();} ?></li>
    <li><?php do_shortcode("[fb_login size='large' login_text='Logout' logout_text='Logout']"); ?></li>
    </ul>
    <?php if ( have_comments() ) : ?>
    			<h3 id="comments-title"><?php
    			printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'twentyten' ),
    			number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' );
    			?></h3>
    ...

    I can’t spot anything immediately obviously wrong… or am i just being blind? Cheers for the help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Twit Connect] Removing Bottom Twitter Login Button’ is closed to new replies.