Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Reader mode – allow AMP to work on post different templates

$
0
0

Replies: 0

Hello,

I’m using the WordPress plugin and I’ve set AMP in the reader mode to use our posts and a couple of custom post types. AMP activates on our default post template (just a regular blog post), however if we set a post to use a post template other than default, AMP doesn’t activate. To be clear we’ve made this post template in our code using the standard wordpress naming of:

Template Name: Text Post
Template Post Type: Post

In summary, how do we instruct AMP to also activate on ‘text post’ template post? We do not wish to use the transitional or standard setting for the plugin. Is there a function/hook we can call to allow different post templates?


Viewing all articles
Browse latest Browse all 59525

Trending Articles