WordPress.org

Forums

reset wp_dropdown_categories ? (2 posts)

  1. Mark Ratledge
    Forum Moderator
    Posted 7 years ago #

    Has anyone run across the issue where wp_dropdown_categories seems to need to be reset or refreshed in order to list categories by the arguments orderby=name&order=ASC rather than ordering categories starting with the name of the category page?

    I am using:

    <form action="<?php bloginfo('url'); ?>" method="get"><?php wp_dropdown_categories('orderby=name&order=ASC'); ?><input type="submit" name="submit" value="Go" /></form>

    in sidebars on both single and category pages, and while the category list on a single page is alphabetical, the category list on a category page shows that category as the selection, not the first in alphabetical order.

    Any ideas? Thanks

  2. Mark Ratledge
    Forum Moderator
    Posted 7 years ago #

    bump...

Topic Closed

This topic has been closed to new replies.

About this Topic