bobjones
Member
Posted 2 years ago #
I'd like to display the Tweetmeme button (manually) only on the first entry of the front page.
Added this script to index.php:
<?php if (!$paged &&function_exists('tweetmeme') && !$tm_display_front) echo tm_generate_button(); ?>
Unfortunately, that still displays the button on every entry on the front page.
Any scripters want to take a crack at this?
neceros
Member
Posted 2 years ago #
Er, nevermind. I misread the question. :)
TalkTweetMeme
Member
Posted 2 years ago #
Simple, install the button through the plugin and select insert manually. Then just include [tweetmeme] where you want it to show.
Sarah
Pepperfly
Member
Posted 2 years ago #
Go to plugin settings and pick the manual display mode. Place the Tweetmeme button in your theme within any div/span/p/em/ loop like this:
<?php if (function_exists('tweetmeme')) echo tweetmeme(); ?>
Credit: http://kovshenin.com/archives/tweetmeme-button-wordpress-customized/