WordPress.org

Support

Support » Plugins and Hacks » get_author_posts_url() not working for Guest Authors

get_author_posts_url() not working for Guest Authors

Viewing 2 replies - 1 through 2 (of 2 total)
  • Wow, found the solution in the thread immediately beneath this one (as in, most recent). Didn’t see it earlier because I was scanning for “guest author”. Figures!

    What doesn’t work for guest authors: get_author_posts_url( $coauthor->ID )

    This does work: get_author_posts_url($coauthor->ID,$coauthor->user_nicename)

    Thanks Josh,

    get_author_posts_url($coauthor->ID,$coauthor->user_nicename)

    worked for me as well.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘get_author_posts_url() not working for Guest Authors’ is closed to new replies.