WordPress.org

Forums

Iconic One
[resolved] Removing Feed Links (2 posts)

  1. NateSirrah
    Member
    Posted 1 year ago #

    So I'm trying out Iconic One on a new static site, a fun little web tool I made. It has been seamless and has worked very well for me! After getting synced up with webmaster tools, I noticed that I had two crawl errors, both telling me that I had two missing urls:

    comments/feed/ and feed/.

    Because my site is static, I've just ripped out all the comments stuff in my child theme's style.css, so I was wondering what was generating the url paths. I found this in functions.php:

    // Adds RSS feed links to <head> for posts and comments.
    add_theme_support( 'automatic-feed-links' );

    I guess my question is, what should I load into my child's function.php so that it disables this line in the functions.php? I believe this is actually kind of a newbie question, but I'm not sure how to remove things from functions.php, seeing as the child theme's file is loaded before it.

    Thanks for the help in advance and for the incredible theme!

  2. Themonic
    Member
    Theme Author

    Posted 1 year ago #

    This should do

    remove_theme_support( 'automatic-feed-links' );

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic