Forum Replies Created

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter Jayme Edwards

    (@jcedwards76)

    It’s just a link in my footer within the theme:

    <a href="https://youtube.com/JaymeEdwardsMedia" rel="external noopener" target="_blank" draggable="false" title="Healthy Software Developer on YouTube"><i class="fab fa-youtube"></i>YouTube</a>

    When it’s rendered it looks like this:

    <a href="https://youtube.com/JaymeEdwardsMedia" target="_blank" draggable="false" title="Healthy Software Developer on YouTube"><i class="fab fa-youtube"></i>YouTube</a>

    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

Viewing 2 replies - 16 through 17 (of 17 total)