Reader mode – Support for custom port types – templates
-
Hi there!
Hoping this is an easy issue to sort out, but I am not able to make it happen:
1. I am integrating the plugin using the reader mode option (transitional/standard is a bigger lift that I cannot take for now, and we really need a straight-forward amp view of our pages). I have setup a custom amp folder within my custom built them folder.
2. I have multiple custom post types and have enabled them int he settings page.
3. The custom post works and shows the amp view, but ONLY when the wp post template is default. I have a few templates options for each post type and if I choose one of the others, then it stops working and I get redirected to the safe view, with no errors etc (also the block editor’s AMP publish metabox never enables).
4. But if I remove the custom WP template for that post then the AMP reader theme template loads fine.Is there some restriction on using custom wp templates with custom post types in reader mode? I went through the documentation and wiki, but due to outdates posts in some places i am not sure.
If the above is true, and I cannot use reader mode here, would the next easier option be to work with transitional mode and update my custom theme accordingly?
Thanks very much!
- The topic ‘Reader mode – Support for custom port types – templates’ is closed to new replies.