• Resolved MathDias

    (@mathdias)


    Hello, is there any possibility to enable compatibility/support for custom templates of my pages using the reader mode?

    Today, when selecting the default template within my page, I can customize it via page.php, but for pages with their own templates, I cannot do the same, the amp version isn’t available. Could you assist me with more information?

    • This topic was modified 1 year ago by MathDias.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @mathdias

    Thank you for reaching out to us, You may be able to customize page template using the amp_post_template_file filter.

    You can check the examples in our documentation file.

    I hope that helps!

    Thread Starter MathDias

    (@mathdias)

    Hi Milind More, how are you?
    Thanks for your reply, as I’m using the legacy version I’ve found a solution using the add_filter( ‘amp_post_status_default_enabled’, function( $default, $post ) enabling the amp page for my custom template page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Enable compatibility for a custom template page’ is closed to new replies.