I have been using the BackType TweetCount WordPress Plugin to display the Re-tweet button and Tweet Count. The plugin is feature rich, but lacks one simple feature – The ability to disable it on any specific page or post.
This could be unwelcome in some cases, like when your blog homepage shows a static page and you probably don’t like to show the count. Pages are seldom re-tweeted.
I devised a simple solution using a WordPress custom Field, here is the customised Plugin.
Hide TweetCount on Pages using Custom Fields
The updated version checks the presence of a custom field show_bttc and if its absent, the button is shown.The value of this custom field could be anything, it just checks for the presence of the custom field.
So if you do nothing, the re-tweet button is shown. If you add the custom field show_bttc to any post or page, button vanishes.
How to Use
If you are new to WordPress Custom Fields, you should have a look at this – WordPress Custom Fields 101.
On the Page or Post on which you wish to disable the TweetCount Plugin, use a custom field with following details:
Save or Update the page and the button should be gone.
Download the Customised TweetCount Plugin Here. Its based on version 2.0 of the original Plugin.
If you have any concerns, let me know.
I prefer the Topsy Retweet Button myself. It would be cool if I could find a custom field command for that to prevent it from showing on certain pages.
I could look into that, sometime this weekend 🙂
This is a great tip, one of the blogs I just recently installed a TweetCount plugin for one of the blogs that I manage so this post will prove helpful.
Thanks a million! Great change to this plugin! 🙂
Thanks Dave. Glad you found it useful 🙂