/ Published in: PHP

Once the automatic button placement for the ShareThis plugin has been deactivated, this function added to custom_functions.php will place the button on single posts only (not the home page).
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// Add ShareThis to single posts only function custom_byline() { if (is_single()) { ?> <p class="custom_byline"> </p> <?php } } add_action('thesis_hook_after_post', 'custom_byline');
URL: http://testonly.philipbarron.net/archives/background-image/
Comments
