Site logo

Archived topic

How to implement AMP with GPThemes

5 replies · Started by Nika on February 1, 2018

Viewing posts 1–6 of 6

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:

https://validator.ampproject.org/#url=https%3A%2F%2Fteutonia-grossenlueder.de%2Fnews%2Fevent%2Fheimspiel-gegen-fsv-thalau%2Famp%2F

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.

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.

This archived topic is closed to new replies.