sfc_like plug-in fix
-
Hey,
I don’t know if this would help anyone, and I haven’t tested it much, but it seems to be working. I had already removed the like buttons from the plug-in from showing up on all my site’s pages, because the plug-in does not have an option to exclude pages or categories.
I put this in my child theme’s function file to remove some of my theme’s filters and other stuff. Let me know if this isn’t a great way, because I’m not a PHP expert (or even good enough to be called a novice), but it seems to be ok.
<?php //Remove annoying theme styles function my_remove_filter(){ //Simple FB Connect if (is_page() ) : remove_filter('the_content', 'sfc_like_button_automatic', 30); endif; } add_action( 'init', 'my_remove_filter' ); ?>
https://www.ads-software.com/extend/plugins/si-contact-form/
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘sfc_like plug-in fix’ is closed to new replies.