Support » Plugin: WP-Print » [Plugin: WP-Print Sociable] Hide From Print WP 3.9
2 years, 12 months ago
Hi I really like Wp Print.
Im trying to hide the Sociable plug in at the bottom of the post when printing with WP-Print.
So far I have had no luck. I found several old posts pre 2010, but none of those solutions worked on word press 3.9.
Any ideas, or is there a better sharing plugin that hides easily on print page ?
I am guessing you are using this plugin http://wordpress.org/plugins/sociable/, since I don’t use it myself, the below code is not tested
on Line 25 In print.php https://github.com/lesterchan/wp-print/blob/master/print.php
Nice that worked.
I edited the print.php inside plugins/ wp-print/
A note on print.php print-posts.php and print-options.php I had moved these to the root folder of theme I am using. Editing that php file there made no difference.
2 years, 11 months ago
I was able to hide the Jetpack sharedaddy plugin by adding the following as filters on print.php
remove_filter('the_content', 'sharing_display', 19);
remove_filter('the_excerpt', 'sharing_display', 19);