I have one multi-authored blog site and a few editors.
What I want is to display the name of the editor along with the author's name in a post, so that it would read like: Posted by , Edited by
Is it possible?
Here's a small screenshot of what this code produces:
Demo Editor is a new user i added with Editor status and then logged in as Demo Editor and modified a post to test this solution works.
You can create a custom template tag in your child theme like this and add the template tag in your content.php file.
All depends on your theme.
Tested and works on Twenty Fourteen:
Here's the template tag example you can add to a file named template-tags.php in your child theme:
The above code needs some work however it does work on the front end.
The editor author link will need to be fixed and you will need to add the text Edited by:
Below is an example of how it looks in the content.php file i copied over to the child theme.
I also added this in functions below to include the new file.
From: other post