Return to Snippet

Revision: 18171
at September 23, 2009 14:17 by thesislab


Initial Code
function no_single_tweetmeme() {
if (is_single()) {
?>
<style>
.custom .tweetmeme_button {
display:none;
}
</style>
<?php }
}
add_action('thesis_hook_before_post', 'no_single_tweetmeme');

Initial URL


Initial Description
One drawback: Removal of button leaves a small indent in first line of paragraph, probably an element:style DIV. Don't yet know how to get rid of that.

Initial Title
Removing TweetMeme button from single posts only

Initial Tags
php

Initial Language
PHP