Get posts by "display_name" NOT "author" name
-
Can anyone tell me how to set the $curauth variable, so that posts are called up by their “display name” rather than by their “author name”????
The reason for this is because I have a number of businesses that have different staff inputing posts on their companies behalf and each author is registred under a different username(auhorname).
In order for their posts to be listed under the same business name, each author for that company has been instructed to add their company name as their nickname and for that to be used as their display name.
Hope that makes sense.
By doing this all auhtors from the same company are able to input their posts and have all posts come up under the company name.
I want the option display all posts by that compnay rather than all posts by one author
Any ideas? Is it even possible?
- The topic ‘Get posts by "display_name" NOT "author" name’ is closed to new replies.