Twit Connect
Removing Bottom Twitter Login Button (3 posts)

  1. MikeChipshop
    Posted 5 years ago #

    On the posts page i want to be able to remove the bottom Twitter login button.
    I want the only button to be the one i have placed above the comment form.

    Many thanks for an awesome plugin,


  2. swhitley
    Plugin Author

    Posted 5 years ago #

    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?

  3. MikeChipshop
    Posted 5 years ago #

    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 -->
    		/* Stop the rest of comments.php from being processed,
    		 * but don't kill the script entirely -- we still have
    		 * to fully load the template.
    	// 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>
    <?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>' );

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Twit Connect
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic