Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1242

    Hi,

    Is it possible to change the TweetMeme button to the original Tweet button from Twitter?

    Thanks!

    #34518

    Yes it’s very simple to replace the TeetMeme re-tweet button with the official Twitter version.

    In your theme locate the following code in you index.php and single.php

    <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>

    Use the ‘Tweet Button’ feature on the Official Twitter Goodies page to generate you code and replace the above. It should look something like this (don’t worry about the div class of tweetmeme that’s just the css):

    <div class="tweetmeme">
    <a href="http://twitter.com/share">Tweet</a>
    <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
    </div>

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

The topic ‘TweetMeme’ is closed to new replies.