Categorise categories in sidebar
-
I’m fairly new to wordpress so I apologise if this is simple to achieve. I’ve searched the forums and been through the documentation but still unable to find a solution to what I’m trying to achieve.
I’m developing a personal site / blog for someone. They would like to have a main heading and list relevant categories / sub categories underneath. For example.
— Category Heading —
Category
– Sub category— Category Heading 1 —
Category 1
– Sub category 1and so on….
Hope this makes sense. any help appreciated. Thanks.
-
The Template Tag, wp_list_cats(), and the
hierarchical
parameter may work for you.Also see:
Templates
Stepping Into Templates********************
Welcome to the WordPress Support Forums!Please help keep the Forums successful by reading:
Using the Support ForumsAlso, remember the WordPress Codex and the FAQ pages.
And, thank you, for letting us know if this information proves useful (or not)!
********************Thanks Michael I’ll check that out – Have been through the templates sections. Perhaps I should review it more carefully.
checked that out and not working for me…
Basically just need to display categories under a heading like:
–H1– Pilgrims Progress –H1–
-On the way
–photos of camino-Flashbacks
–photos of columbia-Conversations
–photos of people–H2– The Inner Pilgrim –H2–
-Living Options
-Chapter & Verse
-Favourites
-surrealI tried using the
use_desc_for_title=1
but that had no affect.This post is asking a similar thing: http://wordpress.org/support/topic/29161
I’m a little unsure how to implement the tags /any help appreciated/
Thanks in advance.
Anyone – HELP! 🙂
“I’m a little unsure how to implement the tags”
Might want to check out some of the articles in Category:Design_and_Layout.
“the hierarchical parameter”
(boolean) Sets whether to display child (sub) Categories in a hierarchical (after parent) list.
Valid values:
TRUE (Default)
FALSE—
I have already achieved this. i.e. child categories already appear under thier respective parent categories.I just want an (un-linked) text heading above main sections ?
I would of thought that use_desc_title would be more appropriate ? however I’ve been unsuccessful in implementing as yet.
Thanks for your help so far.
I’m also looking to implement this on pages menu. So I have main heading sections and linked pages to WP generated pages below.
Resolved this by using the show ‘child_of=’ and creating static headings <using H2>
- The topic ‘Categorise categories in sidebar’ is closed to new replies.