WordPress.org

Ready to get started?Download WordPress

Forums

Twit Connect
Removing Bottom Twitter Login Button (3 posts)

  1. MikeChipshop
    Member
    Posted 3 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,
    Mike

    http://wordpress.org/extend/plugins/twitconnect/

  2. swhitley
    Member
    Plugin Author

    Posted 3 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
    Member
    Posted 3 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 -->
    <?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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic