Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2990

    Great work as usual.

    I would like to remove the twitter/retweet button on the side of each post in the Habitat theme. I would like to keep the stick out tab with the post date, simply remove the twitter part.

    Is there a way to do this?

    Thank you

    #40169

    Hey,

    delete or comment out following code in index.php and archive.php:

    <?php if($k_option['single']['acc_tw'] != '') { ?>
    <div class="tweetmeme">
    <script type="text/javascript">
    tweetmeme_source = '<?php echo $k_option['single']['acc_tw']; ?>';
    tweetmeme_url = '<?php echo get_permalink() ?>';
    </script>
    <script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
    </div>
    <?php } ?>

    #40170

    Nice one dude, thanks

    #40171

    Glad that I could help you :)

    #40172

    Actually, that worked – but it still shows on the single post page?

    #40173

    Hey,

    open up single.php and delete the same code – you’ll find the same code there – just delete it :)

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Removing Twitter on main page’ is closed to new replies.