![]() | | ||||||||
| | #1 |
| Active Warrior Join Date: Mar 2009
Posts: 89
Thanks: 20
Thanked 4 Times in 4 Posts
|
Hi. I use WordPress, and cannot find a way to have a number of posts show as a list within a category. For example, on the Amazon home page in the left hand sidebar, if you click the 'books' parent category you can keep drilling down until you get to the last child category. But on WordPress, if I create a subcategory and assign a parent category, all the posts are still listed on the home page. What I am trying to say is I don't want the sub-category posts to be shown as a list until someone has clicked the parent category to 'open' it. What am I missing that is so simple? Do I need to create pages instead of posts? |
| | |
| | #2 |
| Kezz Bracey War Room Member Join Date: Dec 2008 Location: Australia
Posts: 1,291
Blog Entries: 5 Thanks: 323
Thanked 599 Times in 291 Posts
|
There's a couple of ways you could do what you need - I'll suggest one. Wordpress will show your latest posts by default on the homepage. You can create a new page, name it Home, fill it with a welcome message and then set that page to act as your homepage in the Settings > Reading area of admin. Then, you can use a categories widget to allow people to navigate through your categories. Or, if you feel like hitting a little coding up, you can try using the following in your theme: PHP Code: |
| | |
| | |
| | #3 |
| Active Warrior Join Date: Mar 2009
Posts: 89
Thanks: 20
Thanked 4 Times in 4 Posts
|
Thanks. I have been using a static Welcome page as a landing page already. I have no idea what that code is supposed to do, but I shall investigate available widgets further. |
| | |
| | #4 | ||
| Watching you... War Room Member Join Date: Dec 2008 Location: Waterdown, Ontario, Canada
Posts: 5,986
Blog Entries: 2 Thanks: 1,575
Thanked 2,726 Times in 1,656 Posts
| Bounderby, I am trying to understand what is it what you want to achieve. Maybe because we are not talking the same language... A "category list" in WordPress means a list of all your categories by name - usually displayed in the sidebar, like Fruits Apples Oranges Vegetables Carrot Tomato etc. The bold ones are (parent) categories and the italics are sub- or children categories. However, I suspect you are talking about POSTS, not categories! Quote:
And, BTW, that's NOT a "list". Quote:
Clicking on any categoy name (in the menu, in the sidebar etc.) will display all the post in that particular category. More exactly, when clicking on a parent category - WP displays by default the posts in the parent and all its subcategories. If that is the problem, there are plugins for that; e.g. Kinderloss If none of the above covers what you want, you need to sit down and figure out how to ask your question - try using the proper WP terminology. | ||
| In the first half of the year we are supposed to work for the taxman. I think that's a mistake. Help me to get rid of the taxman ASAP - thanks! (You, too, should make less mistakes!) | |||
| | |
| | #5 | |
| Content That Rocks War Room Member Join Date: Jun 2007 Location: , , USA.
Posts: 450
Blog Entries: 3 Thanks: 55
Thanked 23 Times in 17 Posts
| Quote:
OP - You can also use a nested categories plugin to get the results you're asking for. Try WordPress › Collapsing Categories WordPress Plugins HTH Sandi | |
| Tired of crappy content delivered a week after you needed it? Web Content Without the Stress | Special Rate for Warriors | ||
| | |
![]() |
|
| Tags |
| category, list, wordpress |
| Thread Tools | |
| |
![]() |