Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Contributor Leland

    (@addthisleland)

    Hi Nicos!

    Thanks for contacting AddThis Support ??

    Can you share with us a specific AMP URL where this error is happening so we can take a further look?

    Thanks,
    Leland

    Thread Starter Nicorel

    (@nicorel)

    Plugin Contributor Leland

    (@addthisleland)

    Hi Nicos,

    In order for our tools to be AMP compatible, there are special steps you will have to do which is documented here:

    https://www.addthis.com/academy/how-to-set-up-amp-on-your-wordpress-site/

    Can you try following the above steps and let us know if you run into any part where you’re having issues with?

    Thanks,
    Leland

    Thread Starter Nicorel

    (@nicorel)

    Hello,

    Thank you for your answer.

    I’m using wptouch plugin and wptouch theme for mobile version. This come with automatic AMP settings.

    No additional AMP plugin or Glue for Yoast plugin here.
    Trying to install these plugins return an answer : fail to install …(overwriting wpthouch existing files..).

    Thank you,
    Nicos

    Plugin Contributor Leland

    (@addthisleland)

    Hi Nicos,

    In order for our tools to be compatible with AMP, you will have to follow the below documentation:

    https://www.addthis.com/academy/how-to-install-addthis-inline-share-buttons-on-amp-accelerated-mobile-pages/
    https://www.ampproject.org/docs/reference/components/amp-addthis

    Essentially, you will have to uninstall the plugin and insert the below code within the <head> part of your WordPress site (typically located in your header.php template):

    Add in between <head></head>:
    <script async custom-element=”amp-addthis” src=”https://cdn.ampproject.org/v0/amp-addthis-0.1.js”></script&gt;

    Finally, you’ll just need to add this code before your page’s </body> (typically found in your footer.php template):

    Add in between <body></body>:
    <amp-addthis
    width=”320″
    height=”92″
    layout=”responsive”
    data-pub-id=”ra-59c2c366435ef478″
    data-widget-id=”0fyg”>
    </amp-addthis>

    Here is a video I created for you showing the above steps:
    https://www.screencast.com/t/9uqniv2n9xMr

    Let me know if you have any questions!

    Thanks,
    Leland

    Thread Starter Nicorel

    (@nicorel)

    Hello,

    Made this (uninstall and then …sugested steps) and no improvments :

    <html amp lang=”en-US” xmlns:fb=”https://www.facebook.com/2008/fbml&#8221; xmlns:addthis=”https://www.addthis.com/help/api-spec&#8221; >

    :((

    5 sept – 5 pages with this issue
    6 sept – 36 pages with this issue
    7 sept – 57 pages with this issue
    8 sept – 107 pages with this issue
    9 sept – 128 pages with this issue
    10 sept – 140 pages with this issue

    So only thing to solve this issue is to delete plugin?

    Thank you

    Nicos

    • This reply was modified 6 years, 1 month ago by Nicorel.
    • This reply was modified 6 years, 1 month ago by Nicorel.
    Plugin Author addthis_matt

    (@addthis_matt)

    Hi Nicos,

    That html tag attribute is added by our WP plugin (rather than our AMP code), so it looks like the plugin didn’t remove that code when it was deactivated. Could you try uninstalling the WP plugin and removing the AddThis folder from our plugins directory?

    Thread Starter Nicorel

    (@nicorel)

    Hello,

    So…now there is no addthis files or plugin on my wordpress.

    So i had to made this setup:

    “In order for our tools to be compatible with AMP, you will have to follow the below documentation:

    https://www.addthis.com/academy/how-to-install-addthis-inline-share-buttons-on-amp-accelerated-mobile-pages/
    https://www.ampproject.org/docs/reference/components/amp-addthis

    Essentially, you will have to uninstall the plugin and insert the below code within the <head> part of your WordPress site (typically located in your header.php template):

    Add in between <head></head>:
    <script async custom-element=”amp-addthis” src=”https://cdn.ampproject.org/v0/amp-addthis-0.1.js”></script>

    Finally, you’ll just need to add this code before your page’s </body> (typically found in your footer.php template):

    Add in between <body></body>:
    <amp-addthis
    width=”320″
    height=”92″
    layout=”responsive”
    data-pub-id=”ra-59c2c366435ef478″
    data-widget-id=”0fyg”>
    </amp-addthis>”

    to my basic wordpress theme Clean Magazine or somewhere on WpTouch plugin files (wptouch premium plugin include his own AMP) wich also include own mobile theme?

    Thank you
    Nicos

    Plugin Contributor Leland

    (@addthisleland)

    Hi Nicorel,

    I’m not too familiar with WPTouch but I did read through their website and it appears that they use their own theme to generate your mobile pages and because of that I believe you will have to add those 2 pieces of code somewhere in the plugin settings if possible.

    Thanks,
    Leland

    Thread Starter Nicorel

    (@nicorel)

    Hello,

    Unfortunately i had to delete your plugin. AMP errors appear also after instaling that code on WPtouch theme.

    :((

    Nicos
    Any other plugin without AMP errors?

    • This reply was modified 6 years, 1 month ago by Nicorel.
    Thread Starter Nicorel

    (@nicorel)

    Hello,

    Please let me know if you’ll fix that to roll back.

    Thank you
    Nicos

    Plugin Contributor Leland

    (@addthisleland)

    Hi Nicos,

    Right now the plugin works as intended and it is AMP compatible with a few tweaks. However, AddThis for AMP is not compatible with your WPtouch plugin, but with that said, there’s something in the pipeline for our WordPress AMP users ??

    Thanks,
    Leland

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Plugin Error on AMP’ is closed to new replies.