[Resolved] Retrieving the Co Authors information on a single post page
I´m trying to display the googleplus info of a specific author in the header of a single post page. I´m doing the exact same in th ehead of an author archive by using the codesniped from the codex:
<?php $curauth = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author')); // get the info about the current author ?> <?php echo $curauth->googleplus; ?>
But this doesn´t work on a single post page. Is that related to Co-Authors Plus? I assume it is. Do I need to do something different to retireve the $curauth information?
Thanks in advance
- The topic ‘[Resolved] Retrieving the Co Authors information on a single post page’ is closed to new replies.