• Resolved arctrinity

    (@arctrinity)


    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!

    • This topic was modified 8 years, 3 months ago by arctrinity.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter arctrinity

    (@arctrinity)

    <?php
    // Change priority for addtoany
    if ( function_exists( 'A2A_SHARE_SAVE_add_to_content' ) ) {
    remove_filter( 'the_content', 'A2A_SHARE_SAVE_add_to_content');
    add_filter( 'the_content', 'A2A_SHARE_SAVE_add_to_content', 15 );
    }
    ?>

    That’s what I tried, also tried adding the 98. Didn’t work. Just stuck…

    Plugin Author micropat

    (@micropat)

    “Something is preventing AddToAny from loading” is not a plugin priority issue. Plugin priority is for rearranging existing plugin content, such as having a Related Posts section appear above or below your AddToAny buttons.

    The issue probably has to do with your browser, device, or connection, so do what the message says and try disabling your browser’s add-ons/extensions, and anything that might block/filter out major social buttons. On arctrinity.com, the buttons are successfully displaying for visitors right now.

    Thread Starter arctrinity

    (@arctrinity)

    Wow it was that easy huh? Thank you so much!! I had an extension that filled in passwords automatically called ‘Blur’, I disabled it and it worked right away. Thanks again so much! So glad we have people like you to help the community. I honestly never had an issue with browser extensions before so I thought the only possibility could be the priority. Thank you thank you!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin Priority Issue’ is closed to new replies.