Archived topic
GP theme header bug with AMP
13 replies · Started by Carsten on March 2, 2020
Hi there, I just installed AMP, https://wordpress.org/plugins/amp/, and now neither the menu in the header or the back button widget in the top banner are reacting:
The Template Mode is set to Standard, if set to Reader or Transitional the issue is not there. If I change to standard Twenty Twenty theme the issue is gone as well.
One more thing, every time the GP theme has been deactivated the widget, in my case, the Navigation Menu in the footer, has to be installed again, not a big issue but rather annoying ;-)
Thanks
oh, I just realized that not all themes are AMP ready, maybe that's why I'm experiencing this issue?
I hope you are able to help with this one.
Hi there,
Can you try installing this plugin?
https://github.com/tomusborne/amp-for-generatepress
Let me know :)
Thanks, I installed the plugin, and the menu is back, but my back button in the top banner is still not reacting.
Btw, which AMP plugin do you recommend for GP?
ah, I see that the amp for generatepress is specficially for the AMP plugin, so I believe that's the one you recommend as well
Our plugin would work with the official AMP plugin:
https://en-ca.wordpress.org/plugins/amp/
Thanks, I can see that AMP is causing several issues, across my site, from profile saving and sending messages, to buttons which are not displayed anymore, issues which I guess have to be addressed to every plugin developer involved.
My back button issue in the top bar remains, but I don't know if this is a GP issue or something I should address to the back button plugin developer?
Regards
Carsten
You can't use javascript with AMP enabled, so things like require javascript (like a back to top button) won't work, unfortunately.
Hi there, thanks for the clarification, one strange thing then, if I deactivate 'Not Found (404)' in Standard Template Content Types, the Back Button is working.
Anyway I can test if AMP is actually working on my page?
Most of my page consist of dynamic BuddyPress page which can't take advantage of AMP, so I'm considering if I should go with AMP or not.
Content Types
The following content types will be available as AMP:
Posts
Pages
Media
My Templates
Galleries
Products
Templates
Singular — Required for the above content types.
Homepage
Blog
Archives
Author
Date
Categories
Tags
Media Types
Components
Galery Statuses
Product categories
Product tags
Product shipping classes
Report types
All Products
Search
Not Found (404)
You could try a testing tool like this: https://search.google.com/test/amp
Thanks, the result is that none of my pages are AMP.
Not an AMP page
The URL is not an AMP page, nor does it link to an AMP page.
Apparently AMP is not straight forward, but at least the front page should be an AMP page, any idea why AMP isn't working on my site?
I noticed there are no AMP customization options in the dashboard under appearance, as I have seen there should be, maybe AMP is not working at all?
Screen dump from Youtube AMP tutorial:
https://imgur.com/yKi12pt
Talking about missing options in the customizer, I have no Top Banner options, despite that I have a Top Banner with a widget installed?
Hi there,
It's hard to tell - when you open the AMP plugin settings in the Dashboard, does it give you any warnings?