Hello. I’d like to know how do I change the author in related posts results from this:
“username”
to this:
“Author Name” (the name I place in WordPress settings).
I’ll attach an image of what I mean.
I dont’t know what to put in “Author field format” to change that, and couldn’t find anything about it in your knowledge base either in the pdf documentation.
I need the author name to appear in results, but I don’t wanna show usernames at all.
Well, there is no option for it, but a small custom code snippet may do the trick for you.
Add this custom code to the functions.php in your theme/child theme directory (copy from line 3 only!). Before editing, please make sure to have a full site back-up just in case! Let me know if you need help with that.
Make sure to save the plugin options after this, to clear the cache as well.
This should replace the author names with the display name, as it appears in wordpress posts.