Closed asscore closed 4 years ago
Instead of using the global author data (which doesn't include guest authors), you may need to grab the coauthor data via get_coauthors()
: https://github.com/Automattic/Co-Authors-Plus/blob/a944ef5961272ef9ad5b8c8310de7e2bcfca58c2/template-tags.php#L3
Hello, we have some weird use cases on a website, and we have a function that checks the author of the current post and returns a list of posts by the same author. It works fine by itself. We were hoping it would continue to work correctly after adding the Co-Authors-Plus plugin. However it seems to only associate the posts with the first author added. Any idea on how I can modify this function to work with the Co-Authors-Plus plugin?