• Resolved Jaaaarne

    (@jaaaarne)


    Hello everyone

    I’ve been searching Codex and forums for a couple of hours, but can’t seem to find the solution. Hope somebody can help me, since I suspect the solution to be easy.

    WP automatically generates an RSS feed for each category. But while a link to the complete RSS feed (which has all posts from all categories) can be edited in header.php, links to categories’ feeds are generated by wp_head and thus cannot be removed or edited.

    What I need is to remove these category RSS links from appearing in the header. I need the categories’ feeds themselves to be generated, but links to them should not appear in the header and be available for subscribing.

    Is it possible to do it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try adding remove_action( 'wp_head', 'feed_links_extra', 3 ); to your theme’s functions.php file.

    Thread Starter Jaaaarne

    (@jaaaarne)

    Thank you, esmi! Although I found that solution a couple of minutes ago myself, stupid me. 🙂 It does work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove the link to the category RSS feed’ is closed to new replies.