Skip to content

Instantly share code, notes, and snippets.

@bmoredrew
Created March 27, 2013 23:48
Show Gist options
  • Save bmoredrew/5259224 to your computer and use it in GitHub Desktop.
Save bmoredrew/5259224 to your computer and use it in GitHub Desktop.
<?php
add_filter('addthis_post_exclude', 'addthis_post_exclude');
function addthis_post_exclude($display) {
if ( !is_singular( 'post' ) )
$display = false;
return $display;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment