Hi, I installed 2 themes but both have categories in the header and I have lot's of categories so I want to remove Categories. I will use category as a widget in the sidebar. Have you any ideas on how to remove categories from header area? Thanks for your help.
I'm guessing you mean the navigation bar piece that some themes have, if so you could just remove the bar through the template editor? I'm unsure if there is a way through wordpress settings but if you go the navigation or header or whatever it may be called template then it shouldn't take much to find and remove it.
You will need to edit the code in the header.php or sidebar.php file to "exclude categories." You're telling Wordpress to list all categories but exclude these ones, and you list the ID numbers for the categories to exclude. Here's some info: http://web-kreation.com/all/4-ways-to-exclude-wordpress-category-from-rss-feeds/
Have you tried an category excluder plugin like the one below, I'm not sure if it removes it from the navigation bar though. If you want it in the sidebar you could use a text widget and hard code it your categories into it. http://wordpress.org/extend/plugins/advanced-category-excluder/
thanks for your reply, however i tried to edit header.php but not succeed.i have lot's of templates which will need editing. for better understanding i have added a screenshot of a demo theme http://imageshack.us/f/194/unledbef.png/ , please check once and advise how to remove categories. thanks
Just to clarify - do you want to exclude categories from the list, or do you want to completely eliminate having the categories listed across the top? There are plugins like bob25 mentioned, and some themes have that functionality built in, but I usually edit files manually. Here's a code example using the "exclude" I was talking about (it's for pages, but it's the same concept): <?php wp_list_pages('sort_column=menu_order&depth=0&exclude=3,9,11,12,13,14,34,37,53&title_li='); ?> PHP: Here are some links for more info: http://codex.wordpress.org/Template_Tags/wp_list_categories http://faq.wordpress.net/view.php?p=56 http://wpgarage.com/plugins/exclude-categories-from-feed-archives-search-and-home-page-in-wordpress/
There are a few ways to do it. http://codex.wordpress.org/Function_Reference/query_posts#Exclude_Categories_From_Your_Home_Page Best way exclude using the code. Second way is to remove the default categories in the navigation menu and only add a list of categories you want to use. Last way which I use a lot is to remove the categories list completely and instead use an adsense link ad in case I am using adsense on that blog. Works out well. Also removes the headache of selecting the categories to use on the header out of the all the categories already present in the sidebar.