• The tweetmeme button worked great right away on my home page, but it wasn’t showing up on the single posts (the permalinks).

    I don’t want to use the ‘manual’ setting, b/c I want to have it everywhere, in the feed etc.

    The easy solution was to edit single.php in my theme’s folder by adding this line:
    <?php echo tm_generate_button();?>

    In my case I added it at right at the start of each post like so:
    <div class="entry-content entry">
    <?php echo tm_generate_button();?>

    It’s working fine now, but I would have thought there would be a way to set this option within the tweetmeme settings or in the plugin editor?
    Any ideas?

    [signature moderated Please read the Forum Rules]

Viewing 2 replies - 1 through 2 (of 2 total)
  • <?php echo tm_generate_button();?>

    I am using the Mimbo theme and I couldn’t get the Tweetmeme plugin to work. I copied this code to my single.php page and it works.

    It does not come on the homepage posts. But that’s okay.

    Thanks ryanve!

    Thanks ryanve, just started using Tweetmeme (today) and I had the exact same problem under WordPress 2.8.6 and WordPress 2.9 (upgraded to see if that was the issue), works on the home page, but no where else.

    Added the above code to single.php page and now it works.

    The theme I’m using at http://www.general-election-2010.co.uk/ was created by me (I sell it) and understand Tweetmeme is one of the more popular Twiiter plugins and would like to have it work out the box with my theme. Anyone know why Tweetmeme doesn’t always work on single post and pages, but fine on archive pages?

    On my theme the code in the archive template files is similar to the single.php and pages.php templates, about the biggest difference is I use the content excerpt function on the archive pages, but I can’t see that being the issue.

    Before trying Tweetmeme I installed a plugin for http://topsy.com/ and that worked first time with my theme.

    David

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

The topic ‘[Plugin: TweetMeme Button] not showing up on single post’ is closed to new replies.