order of ad listings
In both the sidebar Search results, and the Category (ad-loop?) pages, ads appear to be displayed by newest one first. I tried adding this code, as suggested in an earlier thread, to my theme-widgets.php file:
<?php wp_dropdown_categories('show_option_all='.__('All Categories', 'cp').'&hierarchical=1&hide_empty=0&orderby=name&s how_count=0&title_li=&use_desc_for_title=1&exclude _tree='.CP_BLOG_CAT_ID); ?>"
Didn't work, just added a semi-colon to the Search box. I'm guessing this thread was about an earlier version of CP.
What code do I add and in which files to make sure all lists of ads show up in alphabetical order please? (In both search results, and in the category results pages)