/ Published in: PHP

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.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function no_single_tweetmeme() { if (is_single()) { ?> <style> .custom .tweetmeme_button { display:none; } </style> <?php } } add_action('thesis_hook_before_post', 'no_single_tweetmeme');
Comments
