Plugin Priority Issue
-
I’m getting the error “Something is preventing AddToAny from loading. Try disabling content blockers such as ad-blocking add-ons, or try another web browser.”. I found the thread stating to add:
remove_filter( 'the_content', 'A2A_SHARE_SAVE_add_to_content', 98 ); add_filter( 'the_content', 'A2A_SHARE_SAVE_add_to_content', 39 );
and added that into my custom functions php but it didn’t fix the issue. The theme author suggested using 15 instead of 39 but that didn’t work.
I did find some documentation for my theme stating to add this custom php for another similar add on and it appears to be slightly different. I changed the theme name to ‘A2A_SHARE_SAVE_add_to_content’ but that didn’t work either. (I changed the plugin name they suggestion to “another plugin”)
<?php // Change priority for another plugin if ( function_exists( 'another_plugin' ) ) { remove_filter( 'the_content', 'another_plugin'); add_filter( 'the_content', 'another_plugin', 15 ); } ?>
Any suggestion would be greatly appreciated. Thank you!
- The topic ‘Plugin Priority Issue’ is closed to new replies.