You must be logged in to post
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Remove Categories & Archives Titles From Sidebar

UserPost

5:41 pm
May 13, 2010


dddowdle

Member

posts 7

1

Since I don't want to use them, is it possible to remove "CATEGORIES" and "ARCHIVES" from the sidebar so they don't show?  I'm looking for a minimalist look – most everything else I'm figuring out pretty well.

Thank you.

6:10 am
May 14, 2010


hawkbiz

Member

posts 18

2

Yes. You need to go into your sidebar.php from your editor and scroll down towards the bottom until you see archives and categories and just delete them.

 

Steve

6:14 am
May 14, 2010


hawkbiz

Member

posts 18

3

Yes. You need to go into your sidebar.php from your editor and scroll down towards the bottom until you see archives and categories and just delete them.

 

Steve

12:32 pm
May 20, 2010


dddowdle

Member

posts 7

4

Thanks for the help!

12:45 am
June 20, 2010


Webweaver

Member

posts 3

5

Before I discovered this post, I fixed this issue by dragging a blank text widget to both left and right sidebar widget positions.  This blocks the automatic Archive and Category display built into the theme. 

Not that the PHP file edit take more than a couple minutes but I figured some folks not as comfortable with the edits might appreciate the quick and dirty method ;)

 

10:50 am
June 30, 2010


cjjohn

Cyberia

Member

posts 27

6

Webweaver said:

Before I discovered this post, I fixed this issue by dragging a blank text widget to both left and right sidebar widget positions.  This blocks the automatic Archive and Category display built into the theme. 

Not that the PHP file edit take more than a couple minutes but I figured some folks not as comfortable with the edits might appreciate the quick and dirty method ;)

 


 

You are absolutely right. The only problem is that this does not always fix the problem, largely becasue of coding conflicts or some other thing– I have no idea what…

 

That's when editing sidebar.php is necessary. So try placing the empty text widget in to the top sidebar module, first. If that doesn't work, you'll need to find this bit of coding (about 3/4 way down the sidebar.php page):

<div class="Categ">
      <h2>Categories</h2>
      <ul>
        <?php wp_list_categories('orderby=name&title_li='); ?>
      </ul>
    </div>

And delete it. Oddly enough, you should not need to find the Archives coding. Taking out the "Categ" coding does the trick.

7:54 am
July 30, 2010


biztips

Member

posts 4

7

Didn't work that way for me – removed the category coding but Archives & Links are still there:

http://homescolumbiamo.net/

9:38 am
July 30, 2010


cjjohn

Cyberia

Member

posts 27

8

Okayyyyy… hmmm. I haven't heard of any site where that did not work. Sorry! And at this point, I'm not sure if taking out the rest of the coding will help, but you can trty.

 

Right after where the categ div was, is some adsense info. Leave that alone.

Directly after that is the right sidebar info and the links/archives coding is there.

 

<h2>Archives</h2>
    <ul>
      <?php wp_get_archives('type=monthly'); ?>
    </ul>
    <h2>Links</h2>
    <ul>
      <?php wp_list_bookmarks('title_li=&categorize=0'); ?>

    </ul>   

<br/>

 

Delete it. Now, to be fair, I haven't tried this so make a back up copy of sidebar.php before you do this. If it doesn't work, you'll at least be able to restore it.

Good luck!

~cj