• Resolved alienbalcorp

    (@alienbalcorp)


    Hi! Please, help me. How can I add tag LINK to head for my page https://my-site.com/feed/podcast/ . It needs for Google Podcasts, they tell me that I paste LINK tag to head.

    I have Custom Podcast Channel with name slug – podcast

    I tried this(but this not helped me):

    function custom_powerpress_feed_head() {
        if ( is_feed('podcast') ) {
            echo '<link rel="alternate" type="application/rss+xml" title="Your Podcast Feed"  />';
        }
    }
    add_action('wp_head', 'custom_powerpress_feed_head');

    How can I do it?

    Please, help me! Thanks.

    • This topic was modified 1 year, 6 months ago by alienbalcorp.
    • This topic was modified 1 year, 6 months ago by alienbalcorp.
    • This topic was modified 1 year, 6 months ago by alienbalcorp.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Mike Dell

    (@benzoid)

    In the PowerPress settings > Feeds menu, there is a checkbox for “Feed discovery”. Turn that on and save changes.

    Clear any caching and it should be there.

    Thread Starter alienbalcorp

    (@alienbalcorp)

    Hi! Thanks for your answer! But, this function already was turn ON. But I still don’t see the link tag in my XML podcast table. Thanks!

    Thread Starter alienbalcorp

    (@alienbalcorp)

    I want to paste this tag to head my feed XML

    <link type ="application/rss+xml" rel="alternate" title=My podcast"  />
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to add LINK tag to HEAD?’ is closed to new replies.