WordPress.org

Ready to get started?Download WordPress

Forums

Co-Authors Plus
Create coauthors dropdown list form with submit (1 post)

  1. Jamil Jonna
    Member
    Posted 3 years ago #

    Hello,

    I found the dropdown users function in the WordPress codex:

    <?php wp_dropdown_users( $args ); ?>

    But it doesn't work in conjunction with the coauthors plugin. The following code gets very close:

    <li id="users">
     <h6><?php _e('Article Authors:'); ?></h6>
       <form action="<?php bloginfo('url'); ?>" method="get">
       <?php wp_dropdown_users('exclude=1,2,26,11'); ?>
       <input type="submit" value="Show" />
       </form>
    </li>

    But it doesn't use custom urls, i.e. it goes to a place like, http://monthlyreview.org/_beta01/?user=17 instead of using "/author/[authorname]/. Has anyone rewritten this function for coathors plus?

    Thanks.

    My custom url

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic