You have this in your AMP page
<ul class="amp-wp-meta amp-meta-wrapper">
<div class="amp-wp-meta amp-wp-byline">
<amp-img src="" width="24" height="24" layout="fixed"></amp-img>
</div>
This is being caused by the fact that you have something running into your post-title-meta. It isn’t obvious at a first glance but I think it is your avatar. That needs to be turned off. In the plugin this is bit of code is firing –
<?php if ( function_exists( 'get_avatar_url' ) && $author_avatar_url ) : ?>
<amp-img src="<?php echo esc_url( $author_avatar_url ); ?>" width="24" height="24" layout="fixed"></amp-img>
<?php endif ;
Try this first of all – in admin settings for “single” for the plugin make sure
Author Bio in Single is off. Test again. Then if it is still doing it try turning meta to pages to off.
If none of this works we are into filtering it out via functions.php.
Comment //
WP total cache is showing debug info in the source on non-amp pages. You should stop that from showing. If the W3TC toggle to turn it off in the admin panel does doesn’t work then this will do it . In functions.php add this
add_filter( ‘w3tc_can_print_comment’, ‘__return_false’, 10, 1 );
-
This reply was modified 7 years, 7 months ago by
frenchomatic.
-
This reply was modified 7 years, 7 months ago by
frenchomatic.