WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have 7 companies contributing to one blog, and each company has 3 authors. I'd like to show all posts by all authors of one company. Is that possible?

share|improve this question
If I'm understanding the question correctly - you have 21 people posting. You would like to make 7 groups of authors, and have 7 archive pages each showing posts from the specific company? – timshutes Feb 25 '12 at 19:24

To do this literally (put authors into groups) best way would probably be to create custom taxonomy for users. See custom user taxonomies in WordPress for reference.

However the end result you are looking for does not really deal with grouping users - it deals with grouping posts.

Registering custom taxonomy ("company") for posts would be more simple and straightforward.

See register_taxonomy() in Codex.

share|improve this answer

Another simple thing to do would be to add a meta-box to the "users" screen. Call it "company", and use a drop-down or check box and associate users with a company when they are created.

If you didn't want to hard code this yourself - you could look into this plugin (or similar).


Then in your theme, you set up your query using the new meta-box to filter down by company.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.