[Plugin: Co-Authors Plus] Create coauthors dropdown list form with submit
-
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, https://monthlyreview.org/_beta01/?user=17 instead of using “/author/[authorname]/. Has anyone rewritten this function for coathors plus?
Thanks.
My custom url
- The topic ‘[Plugin: Co-Authors Plus] Create coauthors dropdown list form with submit’ is closed to new replies.