• Thanks for the help removing the “home” link in the topnav… I thought I’d be able to figure out how to remove the “RSS” tag too, but I can’t.

    Can anyone tell me how to remove or suppress it?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter cbitter

    (@cbitter)

    my question is in reference to the Autofocus theme. Forgot to mention that…

    As long as someone wants to know how to remove the RSS tag, I’d like advice on putting it back…

    It seems my RSS feed is useless now, and I can’t submit a google news sitemap..

    The RSS link is within the same code. Look at line 417:

    echo '<li class="page_item"><a href="'. get_bloginfo_rss('rss2_url') .'">RSS</a></li></ul></div>';

    I am currently trying to remove it myself but I am crap at php and can not get it to work properly. I can remove it by commenting the whole line out but then I am also commenting out the and </div>… I’ve tried to move those two up but with not much luck…

    The full bit of code is:

    function sandbox_globalnav() {
    	echo '<div id="menu"><ul><li class="page_item"></li>';
        $menu = wp_list_pages('title_li=&sort_column=menu_order&echo=0'); // Params for the page list in header.php
        echo str_replace(array("\r", "\n", "\t"), '', $menu);
    	echo '<li class="page_item"><a href="'. get_bloginfo_rss('rss2_url') .'">RSS</a></li></ul></div>';
    }

    and if someone can tell me exactly what to comment out/ delete / move I’d be very greatful!

    Cheers!

    Hi,

    Remove the <a> Link reference from the line/s:
    Replace: echo '<li class="page_item"><a href="'. get_bloginfo_rss('rss2_url') .'">RSS</a></li></ul></div>';

    With: echo '<li class="page_item"><a href="'. get_bloginfo_rss('rss2_url') .'">RSS</a></li></ul></div>';

    Ver: 0.9.7
    Line: 452

    Gareth

    what php filename is this?

    header.php

    How to remove RSS in Autofocus ver 1.0.1 ?

    @nick_male: replace line 464 in functions.php with
    echo '<li class="page_item">&nbsp; </li></ul></div>';

    thanks macem this worked perfectly.

    How do i remove the RSS link in the top menu on
    dfBlog 1.1.5 by danielfajardo web ?

    anyone know how to edit the RSS name?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘How to remove RSS in top nav?’ is closed to new replies.