• cruiser34

    (@cruiser34)


    hi

    i’m trying to remove a couple of things from my site

    1. – the ‘no categories’ at the top of the page (i’ve none set up in my dashboard, but there is one there called uncategorized’ that cannot be deleted)

    2. – the RSS feed button

    see image:

    http://imageshack.us/photo/my-images/8/screenshot20110517at172.jpg/

    i think the RSS may be something to do with the header code? i can post that if needed

    thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • esmi

    (@esmi)

    A screenshot is of no use. What might help is a link to a page demonstrating the problem.

    Thread Starter cruiser34

    (@cruiser34)

    sure, no probs

    as above its the ‘no categories’ at the top of the page and the RSS feed button, top right

    http://blueguit.tsohost.co.uk/blueguitarV2/

    esmi

    (@esmi)

    1. Edit your theme’s header.php template file and remove <?php wp_list_categories();?>.

    2. header.php again. Remove:
    <a class="rss" title="RSS" href="<?php bloginfo('rss2_url'); ?>"><img alt="Subcribe to Our RSS Feed" src="<?php echo get_stylesheet_directory_uri(); ?>/images/ico_rss.png"></a>

    Thread Starter cruiser34

    (@cruiser34)

    hi; i got 2. the RSS feed removed

    but can’t see that code for the categories in the header.php

    there is this:

    </head>
    
    <body <?php if(is_home()){
    				echo 'id="home"';
    			}elseif(is_category(get_option('boldy_portfolio')) || post_is_in_descendant_category( get_option('boldy_portfolio')) && !is_single()){
    				echo 'id="portfolio"';
    			}?>>

    [Please post code snippets between backticks or use the code button.]

    thanks
    (its the boldy theme here http://www.site5.com/wordpress-themes/ )

    esmi

    (@esmi)

    That’s not the relevant piece of code. Drop a copy of the header.php file into the WordPress pastebin and post the pastebin url here. Perhaps someone will be able to spot the problem and suggest a solution.

    Thread Starter cruiser34

    (@cruiser34)

    ok. here is the boldy header

    [Code moderated as per the Forum Rules. Please use the pastebin]

    thanks

    This might be very late, but for other users it may be of use:

    Open the file functions.php in the boldy folder.
    Go to line 26.
    Delete, or comment out <?php // wp_list_categories(‘hide_empty=1&exclude=1&title_li=’); ?> to hide it from site, but keep for potential future use.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘How to remove elements from my theme?’ is closed to new replies.