Archived topic
How to implement AMP with GPThemes
5 replies · Started by Nika on February 1, 2018
Hi,
Recently I have got the AMP Guide from Google http://services.google.com/fh/files/misc/amp_blogger.pdf. Did someone try to implement the same on the WordPress site?
If yes, Please share the experience here.
Hi there,
Would something like this help? https://generatepress.com/forums/topic/amp-2/#post-483083
Hi,
i was wondering whether to open a new thread or use this for asking general questions regarding amp issues.
Is there a general approach for resolving typical issues, like the two mentioned by the amp validator:
1:
<style type="text/css">
The mandatory attribute 'amp-custom' is missing in tag 'style amp-custom'. Learn more.
img.wp-smiley,
img.emoji {
display: inline !important;
border: none !important;
box-shadow: none !important;
height: 1em !important;
width: 1em !important;
margin: 0 .07em !important;
vertical-align: -0.1em !important;
background: none !important;
padding: 0 !important;
}
</style>
2:
<script type='text/javascript' src='https://teutonia-grossenlueder.de/wp-includes/js/jquery/jquery.js?ver=1.12.4'></script>
Custom JavaScript is not allowed. Learn more.
Thanks and kind regards
Jo
Are you using a specific plugin to enable AMP on your site? I assume it would need to disable those features from WordPress.
Hi Tom,
yes, I'm using the WordPress plugin: https://wordpress.org/plugins/amp/
I think some are related to NGG. But what about the emojis?
Kind regards
Jo
Emojis are added by WordPress by default, so I would assume the plugin would remove them.
There are plugins out there though that will remove emojis for you.