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
  1. I created a page called "Projects" through the wordpress admin
  2. I created a template called "Projects"
  3. Set the "Projects" page to use the Projects template.

How come when I navigate to the Projects page it shows the archive page and not the Projects template.

Also, if I set the "posts page" in settings->reading to "Projects" in the admin then the above happens. But, if I don't set a post page then I can go to the /Projects and this works fine. However, if I go to /projects (lowercase) then this doesn't work and it defaults to the archive page.

I'm confused as to what is going on, can anyone help?

share|improve this question
up vote 4 down vote accepted

This conflict normally happens when a custom post type archive and a normal wordpress page has the same slug. The custom post type archive has the higher priority here.

If you have a custom post type by the name 'Projects' and 'has_archive' is set to true for the custom post type then the conflict will arise. Set 'has_archive' to false so that it shows the page template. Or you could also create a archive-[post-type].php and style it in accordance with your portfolio page template.

share|improve this answer
yup, that was the issue. Thanks. – pfunc Nov 27 '11 at 16:45

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.