How to erase customization in a wordpress template

Tags:

It was so painful to find out this. Deleting and reinstalling templates don’t reset the templates to the original one. I tried plugins like wp reset to reset theme, and tried database cleaner to find database table containing the customziation. I connected to the database in a command line and checked all the tables, but no luck.

So, here’s the up-to-date solution. Go to appearance -> themes -> customize -> templates. Then you’ll see a list of templates like:

Let’s say I want to revert single post. Open it, and then clear customization like this:

Sometimes, you may have your own patterns (see ‘Design’ screenshot above) for commonly repeated patterns like comments, header, etc. In such case, delete your own. That’ll break pages that are using yours and that was happening without you knowing about it. Delete your pattern and insert the original one, e.g., delete your own comment pattern and insert the default comment of your theme.

Comments

One response to “How to erase customization in a wordpress template”

  1. […] 평균적인 개발자보다 100배가 뛰어나는 것은 불가능하다고 본다. 예를들어 워드 프레스 테마를 초기화하는 문제에대해 뛰어난 개발자는 누구보다 훨씬 빠르게 코드에서 답을 찾아 낼 수는 […]

Leave a Reply

Your email address will not be published. Required fields are marked *