Keesiemeijer,
Yes, I set up the template like that. I have three other templates all working fine, but for some reason the “services” page will not accept a custom template. I’ve tried switching it to the other templates that I have working, just to see if it would register that there was a template applied to it, but it still showed the archives.php loop.
Thank you for the reply
That’s strange, archive.php is not even in the template hierarchy for Pages.
Try:
– deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).
– switching to the default theme to rule out any theme-specific problems.
OK, deactivating the plugins had no effect, however, when I changed the theme to twenty 11 the services page showed “home” in the h1 tags. I’m guessing that means it’s still running the index.php or archives.php loop.
Can you paste and submit the full code of your custom page template into a pastebin.com and post the link to it here? see the Forum Rules for posting code and using the pastebin.
Any ideas on what’s going on? Thanks
On my test site it will accept your Page template. Do you have a custom taxonomy named “services” or that rewrites to “services”?
Try (for testing) using a different Page title or diferent Page slug (i.e. not”services”).
Yup, that seems to be the problem. Thanks for that!
What is the issue with using a taxonomy and page name that are the same if they are designed to be connected?
The urls are in conflict. The Page url is “mysite.com/services” and the taxonomy url is also “mysite.com/services”. Change the url of one of them to avoid this conflict.
Ok, thank you very much for helping me with this!
You’re welcome. Glad you got it resolved.