Forum Replies Created

Viewing 16 replies (of 16 total)
  • Thread Starter Jayme Edwards

    (@jcedwards76)

    Hey Weston,

    Thanks for getting back to me so quickly.

    I’m not sure you noticed (or I didn’t make it explicit enough in my post) – but this isn’t an issue with content in the editor.

    It’s an issue with themes that render PHP and use AMP.

    For example header.php, page.php, category.php etc. in a typical theme.

    I have my site set to “Standard”, and I’m using the explicit AMP theme hook in functions.php called by the after_setup_theme filter e.g.:

    /**
     * Register that this theme provides AMP for all templates!
     */
    add_theme_support( 'amp', array(
      'templates_supported' => 'all'
    ));

    Thanks,

    Jayme

    • This reply was modified 4 years, 9 months ago by Jayme Edwards.
Viewing 16 replies (of 16 total)