Created
May 3, 2014 14:03
-
-
Save cliffordp/11498452 to your computer and use it in GitHub Desktop.
Remove display of Karma Counter in DMS 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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