Title: Extra amp-custom
Last modified: November 7, 2017

---

# Extra amp-custom

 *  Resolved [huislaw](https://wordpress.org/support/users/huislaw/)
 * (@huislaw)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/extra-amp-custom/)
 * Hi,
 * I have this issue with extra amp-custom as posted here: [https://wordpress.org/support/topic/extra-24/](https://wordpress.org/support/topic/extra-24/)
   
   I suspect it is caused by that plugin because I just updated it.
 * Is there any setting in your AMP plugin that can solve this issue? Perhaps combining
   all the amp-custom tag into one?
 * I do see my other plugin such as addtoany is wrapped together in one amp-custom
   tag, but not this adsinserter plugin.
 * _Note: Temporary using Real-Time Find and Replace plugin to remove the extra 
   amp-custom_
 * Thanks!
    -  This topic was modified 8 years, 6 months ago by [huislaw](https://wordpress.org/support/users/huislaw/).
    -  This topic was modified 8 years, 6 months ago by [huislaw](https://wordpress.org/support/users/huislaw/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fextra-amp-custom%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/extra-amp-custom/#post-9659240)
 * Hi [@huislaw](https://wordpress.org/support/users/huislaw/)
 * Let’s try the plugin that Ad plugin author mentioned.
 *  [niall2012](https://wordpress.org/support/users/niall2012/)
 * (@niall2012)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/extra-amp-custom/#post-9659850)
 * Hi guys
 * Just wanted to drop by as we were having the same problem and tried your advice
   but it seems to be working on some pages and not others.
 * See here for more:
 * Original issue – [https://search.google.com/test/amp?utm_source=gws&utm_medium=onebox&utm_campaign=suit&id=nQO39i1JmCh4IvcGhtPjUA](https://search.google.com/test/amp?utm_source=gws&utm_medium=onebox&utm_campaign=suit&id=nQO39i1JmCh4IvcGhtPjUA)
 * When we deactivated the Ad Inserter plugin, deleted and then re-uploaded manually
   the version you suggested:
 * See here for result example – [https://search.google.com/test/amp?utm_source=gws&utm_medium=onebox&utm_campaign=suit&id=mfDvbBLIyYjTMK_atn1yrw](https://search.google.com/test/amp?utm_source=gws&utm_medium=onebox&utm_campaign=suit&id=mfDvbBLIyYjTMK_atn1yrw)
 * But still not working on [https://search.google.com/test/amp?utm_source=gws&utm_medium=onebox&utm_campaign=suit&id=ImmFrMnbwh45wl-ARDlD9g](https://search.google.com/test/amp?utm_source=gws&utm_medium=onebox&utm_campaign=suit&id=ImmFrMnbwh45wl-ARDlD9g)
 *  [niall2012](https://wordpress.org/support/users/niall2012/)
 * (@niall2012)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/extra-amp-custom/#post-9659933)
 * Update 2:
 * I have tested this issue on a large number of articles. This ‘style amp custom’
   error is happening roughly on 25% or new articles so is not allowing our AMP 
   pages to be fully rendered or validated by Google.
 * It is an issue with the plugin which we suspect has been there for a while, as
   we noticed strange dips of AMP pages been submitted in search console by our 
   web team over the last 5-6 weeks.
 * See here for more: [https://search.google.com/test/amp?utm_source=gws&utm_medium=onebox&utm_campaign=suit&id=vGl1Lu6rDe7ri8p2pIg3Ug](https://search.google.com/test/amp?utm_source=gws&utm_medium=onebox&utm_campaign=suit&id=vGl1Lu6rDe7ri8p2pIg3Ug)
 *  [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/extra-amp-custom/#post-9659962)
 * Hello,
 * I’m the author of Ad Inserter plugin.
 * The problem should be fixed in the development version:
    [https://downloads.wordpress.org/plugin/ad-inserter.zip](https://downloads.wordpress.org/plugin/ad-inserter.zip)
   You can simply uninstall the current version and install this one. The settings
   will be preserved.
 * Before testing make sure all the caches are cleared.
 * There will be soon a new version released with this fix.
 *  [niall2012](https://wordpress.org/support/users/niall2012/)
 * (@niall2012)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/extra-amp-custom/#post-9660271)
 * Conclusion:
 * Problem fixed after about 4 hours of testing – [https://search.google.com/test/amp?utm_source=gws&utm_medium=onebox&utm_campaign=suit&id=FudMhmxrLVbisNgYz1RdAQ](https://search.google.com/test/amp?utm_source=gws&utm_medium=onebox&utm_campaign=suit&id=FudMhmxrLVbisNgYz1RdAQ)
 * It’s fixed on that page at least. What happened was the AMPforWP plugin did not
   gel with the Ad Inserter plugin. I’ve removed Ad Inserter plugin which seems 
   to have fixed the issue and allow all of our pages to be validated in the AMP
   tester again.
 * PS – Thank you for the reply Ad Inserter author plugin but we tried your advice
   multiple times and also cleared the cache multiple times but after extensive 
   testing, we still found that at least 25% our articles were not validating with
   the above problem.
 * Thanks anyway and all the best.
 *  Thread Starter [huislaw](https://wordpress.org/support/users/huislaw/)
 * (@huislaw)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/extra-amp-custom/#post-9661167)
 * Thanks, problem fixed.
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/extra-amp-custom/#post-9661449)
 * Hi [@niall2012](https://wordpress.org/support/users/niall2012/) [@huislaw](https://wordpress.org/support/users/huislaw/)
 * It seems like the Ad Inserter plugin guys made few changes which made the site
   in-validated.
 * As [@spacetime](https://wordpress.org/support/users/spacetime/) said that they
   have fixed it, so I am sure that errors will drop and things will be fine.
 * [@niall2012](https://wordpress.org/support/users/niall2012/) As for your concern
   about if both will gel well, I have already made a ticket for this, we will test
   that and if we find any issue, we will release an immediate update for the stability
   of our users.
 * and Thank you [@spacetime](https://wordpress.org/support/users/spacetime/) for
   taking care of our users and taking care of the issue. You have gained my respect
   as a plugin author.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Extra amp-custom’ is closed to new replies.

 * ![](https://ps.w.org/accelerated-mobile-pages/assets/icon-256x256.png?rev=1693616)
 * [AMP for WP - Accelerated Mobile Pages](https://wordpress.org/plugins/accelerated-mobile-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accelerated-mobile-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accelerated-mobile-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/)

## Tags

 * [amp-custom](https://wordpress.org/support/topic-tag/amp-custom/)

 * 7 replies
 * 4 participants
 * Last reply from: [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/extra-amp-custom/#post-9661449)
 * Status: resolved