How would I create a drop down list to select and go to the author page
How would I create a drop down list to select and go to the author page
Dear Michael,
I have tried this, but can not get the wp_dropdown_users to navigate to a user's author page once an author is selected.
I have managed to make it work with wp_get_archives like so:
`<select name="archive-dropdown" onChange='document.location.href=this.options[this.selectedIndex].value;'>
<option value=""><?php echo attribute_escape(__('Select Month')); ?></option>
<?php wp_get_archives('type=monthly&format=option&show_post_count=0'); ?> </select> `
How can I do the same with the wp_dropdown_users, so that viewers can browse archives both chronologically and by author, using just two dropdown lists??
Many thanks!
I've also been looking for an easy way to do this manually, but ended up using this neat widget:
http://wordpress.org/extend/plugins/authors/
This topic has been closed to new replies.