Forums

Author drop down select (4 posts)

  1. logiclounge
    Member
    Posted 2 years ago #

    How would I create a drop down list to select and go to the author page

  2. MichaelH
    Volunteer
    Posted 2 years ago #

  3. diederik.meijer
    Member
    Posted 2 years ago #

    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!

  4. dragunoff
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.