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'd like to create multiple user profiles are unique, without just using a "if/then/else" php statement on the author.php template? All I need is the ability to create two different types of profiles.

share|improve this question
How do you want to identify the different types of profiles? By user level, or something else? – EAMann Feb 29 '12 at 5:34

You could register a user_meta field (probably a dropdown) and use that to select templates. You will still need to use if statements to differentiate the templates, but you're going to need that regardless of the route you take. If you use get_template_part() you can split out the actual html and such of it and just handle the logic in author.php

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.