Issues with get_the_author_meta called from with a post context
-
So we’re having issues with get_the_author_meta pulling certain data. No matter what userid you pass into it, it displays the data from the context of the post you are currently in. It’s possible this is a user error, but something simple like :
get_the_author_meta( ‘user_url’, 12);
Seems to ignore the user 12 and pull the data from that post if it’s a molongui multi-author post. On top of it, it’s incorrect data. User_url is supposed to be the website url and instead it’s pulling back a hashed molongui object with author slug. When it’s a single author post it works as expected.
- The topic ‘Issues with get_the_author_meta called from with a post context’ is closed to new replies.