Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #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



    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 type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
    <?php } ?>


    Nice one dude, thanks


    Glad that I could help you :)


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



    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.