Sum help needed
-
Hey hi….
I’m in need of some help…
If u visit the site I’m working on ( http://the-elements-society.com/wordpress )
u see I’ve managed to customize WP quite a bit.There’s one thing I can’t figure out though…
If u go to one of the categories (“De berg” f.i.) u see I’ve managed to get a new menu above the post (The ugly white square wich says “listme!”) in wich I get a list of the available cat’s.
Now what I’d like is to have a list like the one mentioned on http://codex.wordpress.org/Category_Templates under “The Menu”
A hierachical list describing what cats are under wich cat.Like so:
- Mustagh Ata
- De Berg
- De Sponsors
- De Uitdaging
- Lows Gully
- De Berg
- De Sponsors
- De Uitdaging
- Another expedition
- De Berg
- De Sponsors
- De Uitdaging
So I can make a dropdown like the one here: http://www.htmldog.com/articles/suckerfish/example/
Any suggestions?
TIA
-
Fixed it using:
<?php list_cats(
TRUE, //Sets whether to display a link to all Categories / TRUE-FALSE
‘FALSE’, //If optionall is set to TRUE, this defines the text to be displayed for the link to all Categories.
‘NAME’, //Key to sort options by. Valid values: ‘ID’ (Default) ‘name’
‘asc’, //Sort order for options
”, //The php file a Category link is to be displayed on. Defaults to ‘index.php’
TRUE, //Sets whether to display the date of the last post in each Category
FALSE, //Sets whether to display a count of posts in each Category
FALSE, //Sets whether to hide (not display) Categories with no posts
FALSE, //Sets whether the Category description is displayed as link
TRUE, //Sets whether to show children (sub) Categories
TRUE, //Display only the Categories that are children of this Category
FALSE, //
”, //This parameter should be set to 0 (zero) when calling this template tag.
FALSE, //Display the list (FALSE) or return it for use in PHP (TRUE). Defaults to FALSE
”, //Text to display for the link to each Category’s RSS2 feed. Default is no text, and no feed displayed.
”, //Path/filename for a graphic to act as a link to each Category’s RSS2 feed
‘1’, //Sets the Categories to be excluded
TRUE //Sets whether to display child (sub) Categories in a hierarchical (after parent) list
); ?>
The topic ‘Sum help needed’ is closed to new replies.