I’ve replaced the TweetMeme button with the official Twitter button, which should not alter functionality for the site, but may cause some of the tweet counts for each post to change (since the older button used a different metric for counting how often a post got tweeted).
I’m also writing this post because there doesn’t seem to be documentation on the Internet about how to manually position TweetMeme’s version of the official twitter button directly into your WordPress layout.
To use the “Manual” feature for TweetMeme’s Official Twitter button, do this:
- Download and install the latest version (1.9) of the plugin.
- Activate the plugin in your dashboard.
- In your dashboard, go to the options page for the official Twitter button, which is located as a sub-menu of the TweetMeme drill-down.
- Set your various options. For display, choose “Manual”.
- Open your theme file where you would like the button to display (e.g. index.php or single.php) in Notepad or some other text editor.
- Wherever you would like your Twitter button to display, copy and paste the following code:
<? php if (function_exists('twitter_generate_button')) echo twitter_generate_button();?>
- Save and upload your file.
Update: It’s also possible (I found it necessary) to alter the file so that post attributes (e.g. post title) would actually be displayed in the tweet textarea. If there’s interest, I will make my changes to that file available.
Also, I’ve noticed that the Twitter count seems to be reverting to 0 — at least when I tweet. If you notice this is also happening for you, please let me know so I can figure out what’s wrong with the tweet count.