Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm not sure when this started, but I just noticed that some of my custom page templates do not reflect the changes I make anymore. I have no idea when or why this started happening. For example, if I comment out the header include in myCustomTemplate.php, a page using that template still shows my header. How does this happen?

If I rename the template to something else (and not file name but the actual template name in the php file) and make a change, then a page reflects it.

Page.php does not seem to have this problem either, but I've noticed at least two others do.

Can someone explain what is going on?

share|improve this question
Just answered my own question. I noticed I had two templates that were very close in file name (but not exact), but both templates were named the same in the PHP comment, which was messing everything up. I just deleted the rouge template, and now I can make changes to my custom templates, and the changes are reflected on the pages. – Mark Bubel Jul 19 '12 at 23:42

closed as too localized by EAMann Jul 20 '12 at 0:27

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.