How to display sub categories in Wordpress?

How do i show only categories and not sub-categories on the products page in Wordpress?

  • I have a website created in wordpress, and on the products page i have added categories to make it easier for the customer to find what they are looking for. I want to have sub-categories within the categories but it also displays them underneath the parent category in the products page. If anyone can help me that would be great. I would like it so that the categories show on the products page, and when you click the link to the category it shows sub-categories, and within the sub-categories will be the products. This will keep the website tidy and easy to navigate for the customers. And help would be much appreciated. (I am new to wordpress, so codes kind of confuse me at the moment, if you do have a code for me can you please say where it should be inserted please) Thanks.

  • Answer:

    Your in luck there is a Wordpress plugin that allows you to show only categories and not sub categories on pages. It is called >>> Ajax Category Dropdown. This Wordpress plugin will allow you to create multiple parent categories and then you can add your sub categories in drop down list menus to the separate parent categories. You configure how you want the categories and sub categories to be diplayed in your Widgets panel. You get to your Widgets panel by clicking on your Appearance Panel, then Widgets. To add Widgets to you sidebar drag and drop them from the Available Widgets main area to your Sidebar. You will then need to configure the Widget by clicking the top panel arrow to open it. For support or help configuring the Ajax Category Dropdown plugin you can go to the plugin author's website. If you want a Wordpress Plugin to only be used on one particular page then you will need to create a custom template page and this will require a fair amount of coding knowledge and coding modification to get the plugin to only display on your custom template page. Otherwise your category widget plugin will display on all of your Wordpress pages. I also found another Wordpress plugin that may interest you if the Ajax Category Dropdown plugin does not do exactly what you want it to do. That Wordpress plugin is called >>> Multiple Category Selection Widget. Good Luck! PS Your first priorty should be Search Engine Ranking, then the visual appearance of your website. Why? Because if your website does not rank very high in the search engines then no one will ever see it anyway.

Rhea at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.