Support » Plugin: WordPress Share Buttons Plugin – AddThis » My AMPs have disappeared from searches due to a conflict with the plugin

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter Gruskel

    (@elevas33)

    Please do not want to use add this in my AMP as I use the social networks that come by default and now I get a code bug and I do not index the AMP as I fix it ?

    Thread Starter Gruskel

    (@elevas33)

    Apparently according to this video I have to put a code when I register obligatorily in the addthis web. I only used the plugin for desktop and mobile for AMP I used the plugin Accelerated Mobile Pages that brings their own social networks. I’ve tried to follow the instructions in the video to put the code and I don’t understand where to put it… I can’t find the AMP.hmtl file anywhere…

    Same issue here:

    “The tag ‘amp-addthis’ requires including the ‘amp-addthis’ extension JavaScript.”

    I have just disabled AddThis from all my pages until it is fixed.

    • This reply was modified 3 years, 3 months ago by cnxsoft.

    Same. I also disabled Addthis, but the error in Search Console still appears.

    Plugin Contributor Leland

    (@addthisleland)

    Hi there,

    We’ve just recently updated our plugin so that it is AMP compatible, without the need of external code added.

    @ericka90 @cnxsoft Can you share with me the URL of your AMP website so we can take a further look?

    Thanks,
    Leland

    Is there any way to completely remove Addthis plugin from my site, including the error scripts that still appears in SC:

    “The tag ‘amp-addthis’ requires including the ‘amp-addthis’ extension JavaScript.”

    Plugin Contributor Leland

    (@addthisleland)

    Hi @ericka90 ,

    AMP pages are heavily cached for performance reasons. Since you’ve disabled the plugin, it’s most likely that the cached version of AMP is being reported in your Google’s search console.

    Here is documentation from Google on how to update your AMP cache:
    https://developers.google.com/amp/cache/update-cache

    Thanks,
    Leland

    Plugin Contributor Leland

    (@addthisleland)

    Also one thing to note, with our new release, you’ll need to make sure that your AMP plugin is up to date since the AddThis plugin can now work in conjunction with the official AMP plugin to render share buttons on AMP pages without any additional code added.

    It works as well with the AMP for WP plugin?

    I had the same error as you and fixed it by adding the following code snippet to your AMP header:

    script async custom-element="amp-addthis" src="https://cdn.ampproject.org/v0/amp-addthis-0.1.js"></script>

    It’s pretty annoying that AddThis doesn’t allow you to stop their plugin from interfering with your AMP pages, though. I have two AddThis Share buttons now on my AMP page for whatever reason: one that’s supposed to only show on the main site and the other that’s an automatic in-line button (which I never even created). I can’t even figure out how to get rid of it.

    • This reply was modified 3 years, 3 months ago by csaldanha. Reason: formatting

    @ericka90 Also, I just realized that since you’re using the AMPforWP plugin too, go to the plugin’s Settings page > Advanced settings > And then under “Enter HTML in Head,” paste the code snippet there. Don’t forget to save changes.

    In Search Console, you can then test/submit for indexing with the live URLs and that hopefully should fix the error. The only issue I have now is that I have duplicate Share buttons on my AMP page :/

    Hi @csaldanha ! Thanks so much for your help. I’m going to try what you suggest!

    Plugin Contributor Leland

    (@addthisleland)

    Hi @ericka90 ,

    The AddThis plugin is currently not compatible with the AMP for WP plugin. However, we just made an update ~30 mins ago where we won’t activate our AMP buttons unless you have the official AMP plugin activated.

    Thanks,
    Leland

    @addthisleland My website is https://www.cnx-software.com, but AddThis is currently diabled. It would be nice to be able to manually enable/disable support for AMP in AddThis in case a trouble. Then it would still run on the rest of the webstie.

    Plugin Contributor Leland

    (@addthisleland)

    Thanks for sharing your feedback @cnxsoft, this has actually been talking about with our team. We are thinking about implementing a toggle button in a future release so users can switch the AMP compatibility on/off.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘My AMPs have disappeared from searches due to a conflict with the plugin’ is closed to new replies.