Getting Tweetmeme and Facebook share buttons back
I’ve had a few questions sent in to me, asking how I got my Tweetmeme and Facebook Share buttons back on WordPress 2.9.
Here’s how I did it.
First of all, Setup Tweetmeme and Facebook share to “Manual” on the settings page for the plugin.
Edit your themes ‘index.php’ and ‘single.php’
find something like
<?php the_content(__(‘Continue Reading »’)); ?>
And replace it with something like
<?php echo tweetmeme(); echo fbshare_manual(); the_content(__(‘Continue Reading »’)); ?>
There maybe other files that need to be modified in order to display the buttons on archive pages if you theme has them.
From what I can gather this is only an issue for sites running less than PHP 5.2 – Can anyone let me know if this is an issue on PHP 5.2.
I have sent emails to the authors but have not received a response from either.
Thanks, Kimberly, for the prompt response.
I have changed the settings to “manual” for both the plugins.
I am using the Atahualpa theme and the closest thing I could find is the “Loop” section.
So I did it like this:
<?php bfa_post_bodycopy('’,”); ?>
Only thing, like your blog, the buttons are slightly not in alignment with the content i.e. slightly above the top line of the content, whereas previously it was level.
But I can live with that for now! Thanks, again.
oops the full code doesn’t appear! it got truncated.
basically I just added the
manual code bit above the
bfa post bodycopy thing.
Hope this makes sense!
Hi
I got up this morning to find a new version of Tweetmeme available.
Seems this issue has been resolved!
I’ve just removed the manual code for tweetmeme and reset the settings to ‘before’ and all is working well.
Still awaiting a new version of Facebook Share (new) though.
I just saw that too, and came back here to find out what you thought of it.
I will do the same as what you did. Hope they sort out the Facebook Share thing as well!