WordPress.org

Ready to get started?Download WordPress

Forums

Functionality Issue With Dropdown_Cats (3 posts)

  1. Marshall1972
    Member
    Posted 7 years ago #

    Hello,

    I want to use <?php dropdown_cats; ?> in my sidebar where it shows only the children_of a category.

    When I use this code

    <form action="<?php echo $PHP_SELF ?>" method="get">
    <?php dropdown_cats(); ?>
    <input type="submit" name="submit" value="view" />
    </form>

    it lists all the categories I have and this is not what I want. Before I started trying to use dropdown_cats I used wp_list_cats with the "chidren_of" function on my sidebar to limit what categories where displayed on a particular page. For example, on my homepage the categories on the sidebar where Movies, TV, Sports, & News. When you clicked on Movies you went to the movie page and the sidebar changed to display only the "children_of" the Movies category which looked something like this: American Pie, Hook, No Way Out, Pirates of the Carribean 2, Tombstone, etc.

    So my question is can I get this same functionality with dropdown_cats? It seems it should be possible but I just can't seems to figure it out.

    Any help with this would be greatly appreciated.

  2. Marshall1972
    Member
    Posted 7 years ago #

    Here is a plugin I found that allows you exclude as many categories as you want. It is not exactly what I was talking about but it is the best alternative I have found.

    http://zeligplanet.altervista.org/2006/01/wordpress-plugin-zelig-dropdown-cats/

  3. kayaker
    Member
    Posted 7 years ago #

    Any body know how to get this to work with Zelig's plugin. I want the same functionality!

    Requested on Zelig's site (link above) and here: http://wordpress.org/support/topic/109439?replies=1#post-529186

Topic Closed

This topic has been closed to new replies.

About this Topic