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

  1. Jamil Jonna
    Posted 6 years ago #


    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" />

    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?


    My custom url

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Co-Authors Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic