Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've created a new page called Work and I've added it on the navigation bar; after that I've created a file called work.php in which I want to style the page mentioned above.

The problem is that the page doesn't show the new template created in work.php even if I selected it on the Wordpress graphic interface, but instead it shows the template of index.php. Does anyone know where the problem is? Thanks!

share|improve this question
That isn't how custom page templates or post specific templates work, have you looked at the template hierarchy diagram? – Tom J Nowell Jul 25 '14 at 15:13
the template name should be page-work.php – gdaniel Jul 25 '14 at 15:29
Yes, I have looked at the template hierarchy diagram and I have followed those instructions. I've tried to use page-work.php but the results are the same. It is weird that it doesn't work because I've also used this process for the other pages.. – DamianFox Jul 25 '14 at 17:11

Your Answer


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

Browse other questions tagged or ask your own question.