Co-Authors Plus
[resolved] Support for Getting co authors outside of the loop (3 posts)

  1. alpha1beta
    Posted 3 years ago #

    Does this exist? Calling any of the functions outside of the loop falls, and even passing the ID of a post does not seem to work.


  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 3 years ago #

    Yep, passing the post ID to get_coauthors() should work fine outside of the loop.

    What debugging have you done? Can you share how it "doesn't seem to work"?

  3. alpha1beta
    Posted 3 years ago #

    I figured it out. I had to pass an empty array as argument 2, even thought all i needed was the post->id.

    Thanks for the response though.

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


No tags yet.