dropdown_cats() : Show only a selected Categories Children
-
I am using the form based drop down category menu.
http://codex.wordpress.org/Template_Tags/dropdown_catsLets outline an example tree, for this post.
~~~~~~~~~~
Reviews
-TV
-Books
-Media
Site
News
Thoughts
~~~~~~~~~Now, for with the dropdown_cats() default code installed, it will show the above categories all in one list, irrespective of Child or parent category.
What i want to do is have 2x dropdown_cats() sections.
The first one, will exclude Reviews and its child categories, eg.~~~~~~~
Site
News
Thoughts
~~~~~~~The second list, would show all of one categories children, (eg. Reviews) in the drop down list. This would show:
~~~~~~~~
REVIEWS (title, could be plain text)
Books (entry in the drop down list)
Media (entry in the drop down list)
TV (entry in the drop down list)
~~~~~~~Can someone tell me how/if this could be done ? I’ve looked at the dropdown_cats() page, but i don’t know anything about CSS/php and i am new to all this
Thankyou in advance
William
- The topic ‘dropdown_cats() : Show only a selected Categories Children’ is closed to new replies.