Skip to content

Instantly share code, notes, and snippets.

@cliffordp
Created May 3, 2014 14:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cliffordp/11498452 to your computer and use it in GitHub Desktop.
Save cliffordp/11498452 to your computer and use it in GitHub Desktop.
Remove display of Karma Counter in DMS 2
<?php
//from http://www.pagelinestheme.com/removing-dms-2-karma-counter/
//remove display of Karma Counter in DMS 2
remove_shortcode( 'pl_karma' );
add_shortcode( 'pl_karma', '__return_false' );
//hide Karma Counter when sections use PHP echo pl_karma( $post->ID ); instead of the [pl_karma] shortcode
.pl-karma.pl-social-counter.pl-social-pagelines {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment