Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I created a page template, uploaded it, but then changed the template name later.

/*
Template Name: New Name
*/

Now, the new template name is showing up on the Page dropdown, but so is the old template name. How can I delete the old one from the list??

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Just remove the old file from your theme's directory. That list of templates is generated from the files present in your theme, so you probably have two files.

share|improve this answer
    
yes, this was it, I'd deleted them locally but didn't delete them on the remote! thanks mr took :) –  jamie Sep 4 '12 at 15:27
1  
Glad to help. If you could, please accept this answer as correct. –  Pippin Sep 4 '12 at 19:48

Your Answer

 
discard

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.