Remove RSS Icon from Theme

  • wt9bind

    #127

    Hi There, I have no need to have RSS on my page. At the top of the page when running Graphene, there is an RSS Icon.

    How can I remove this?

    I have updated my functions.php file with:

    /**

    * disable feed

    */

    function fb_disable_feed() {

    wp_die( __(‘No feed available,please visit our homepage!’) );

    }

    add_action(‘do_feed’, ‘fb_disable_feed’, 1);

    add_action(‘do_feed_rdf’, ‘fb_disable_feed’, 1);

    add_action(‘do_feed_rss’, ‘fb_disable_feed’, 1);

    add_action(‘do_feed_rss2’, ‘fb_disable_feed’, 1);

    add_action(‘do_feed_atom’, ‘fb_disable_feed’, 1);

    The RSS is now disabled, now I just need the icon gone.

    Thanks

    Admin

    Syahir Hakim

    #11300

    Using a child theme, add this code inside your child theme’s style.css file:

    #rss{
    display:none;
    }

    wt9bind

    #11301

    OK Next stupid question… How do I create a child theme?

    Admin
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.