Rename Theme Templates? (2 posts)

  1. PaulWarren
    Posted 6 years ago #

    I run a fairly large WP site with over 300 pages. I am also using using 10 separate custom templates within my theme. The client has requested that the individual templates be renamed. Unfortunately, whenever I rename a template, the pages using that template will default back to the page.php template. This would be no problem if there were few pages.

    Is there any way to either rename templates and have it's pages "follow" that template, or quickly change many page's templates at once?

  2. figaro
    Posted 6 years ago #

    Seems you should be able to do a search/replace on the db changing the old template name to the new. Of course, you would need to change the template names first. As always, backup first....

Topic Closed

This topic has been closed to new replies.

About this Topic