Support » Fixing WordPress » Remove "Archives" and "Categories" from sidebar

  • Hey guys,
    I just started my WordPress site and installed the theme “Imbalance”. I’m super new so forgive me if my terminology is incorrect! Anyway, the sidebar is on the top and lists “Archives” and “Categories” which I don’t really have a use for in that position (maybe as a widget off to the side of located on another page and consolidated…that’s another topic). I’d basically like to get rid of them for now. Just so you know I want my website to be used as a blog and portfolio for my artwork.
    I googled this problem a billion times and got an answer that I need to modify the sidebar.php file. I found this within the code: /* Widgetized sidebar, if you have the plugin installed. */
    I don’t know if I have the plug-in installed, so I went to the widgets tab and keep messing around with them, dragging and removing them everywhere but the sidebar stays the same. Any ideas? thanks so much!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi saltedlemons,
    What you are actually referring to is the main menu. A quick fix: Login to your site, click ‘Pages’ in the menu on the left hand side. A list of pages will show up…For the pages you don’t want displayed(categories and archives), click ‘Quick Edit’ and change status to ‘Draft’. Then save.

    This ought to fix the issue; long-term however, you might need that archives page

    Hi Kakomap! Thanks for the reply.
    I followed your directions but only saw 3 pages displayed: “About” “Blog-Draft” and “Portfolio” which are all pages that I made myself.
    Thanks anyway 🙂

    Hi saltedlemons,
    My bad; was avoiding having to download the theme 🙂
    Anyway, so downloaded it; to resolve your issue, open header.php (wp-content/themes/imbalance/header.php)
    and change lines 63 and 64 (shown below)

    <li><a href="#" rel="toggle[categories]" title="">Categories</a></li>
    <li><a href="#" rel="toggle[archives]" title="">Archives</a></li>


    <!-- <li><a href="#" rel="toggle[categories]" title="">Categories</a></li>
    <li><a href="#" rel="toggle[archives]" title="">Archives</a></li>-->

    Basically, add <!– at the beginning of line 63 and –> at the end of line 64

    THANKS! That worked really well. And thanks for being patient with my lack-of-Wordpress knowledge. Again, thank you.

    Glad I could help

    Hi, I am trying to do the same thing: remove the “Archives” and “Categories” areas from the sidebar. These show up on all pages on my site besides my home page. I am using the theme ‘Gommero’. I went through the header.php file but didn’t see anything resembling what was posted above. This is not a blog site; it is a site for a small business. I absolutely have no use for the archives or categories sections. I can put a basic text widget in those areas and leave them blank, but a weird background with no text in it still shows up in that area. Any help would be much appreciated!



    Forum Moderator As per the Forum Welcome, please post your own topic. Posting in an old existing topic prevents us from being able to track issues by topic. Added to which, your problem – despite any similarity in symptoms – is likely to be completely different.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Remove "Archives" and "Categories" from sidebar’ is closed to new replies.