AMP Pages Don't Show Featured Image or Comments Plugin

Posted in: Newspaper
Post count: 8

I recently installed the Tagdiv AMP Plugin and am running into two main issues when it comes to posts.

The first is that the featured image doesn’t show up, but there is still room for it to exists. For example: http://criticalcoins.com/industry/dont-expect-consoles-to-adopt-digital-only-anytime-soon/amp/

The second, is that it appears to be using the default comment system that WordPress provides, is there any way to integrate Disqus into these pages?

Thank you!

Post count: 22421

This could be a plugin conflict so please disable all plugins except the page builder, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.
As for disqus, sorry but we have not tested implementing third party plugin options into our amp plugin. Here is where the comments are being grabbed onto the amp template: https://www.screencast.com/t/NqJSblflHCH

Thank you!

Post count: 8

A plugin was certainly the issue for the image.

As for the comments, are there any options regarding integrating another comment system into the amp pages? Currently, they show the standard WordPress comments and when you click on them they take you to the non-amp version of the page. If there is no way to swap the comment systems out, is there at least a way to hide the wordpress comment system in the AMP pages?

Thanks!

  • This reply was modified 8 years by Warruz.
Post count: 22421

Hello,

If you remove the code I pointed out, it will remove the comments. If you replace it with a plugin shortcode, then it will probably show the plugin comments but this is not tested so I cannot say for sure. You can use a do_shortcode function: https://developer.wordpress.org/reference/functions/do_shortcode/

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.