Title: Overriding default template from customization section .
Last modified: August 30, 2016

---

# Overriding default template from customization section .

 *  [serverwarrior](https://wordpress.org/support/users/serverwarrior/)
 * (@serverwarrior)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/overriding-default-template-from-customization-section/)
 * I am trying to override my default templates from customization section, I am
   using code to do that, but if I am using it I am unable to assign a template 
   to the edit-page page, Can anyone give an idea how both the customization section
   and edit-page assign template work. I want to set the template when I am creating
   a page and after assigning it I want to override. Consider I have a blog page,
   I want to assign it archive.php template and ten want to override It from customization
   section. There is the particular condition where I want it to work.
 * [link to code ](https://gist.github.com/PrafullaKumarSahu/dbf520236f7f0dfb5922)

The topic ‘Overriding default template from customization section .’ is closed to
new replies.

## Tags

 * [customization](https://wordpress.org/support/topic-tag/customization/)
 * [templates](https://wordpress.org/support/topic-tag/templates/)

 * 0 replies
 * 1 participant
 * Last reply from: [serverwarrior](https://wordpress.org/support/users/serverwarrior/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/overriding-default-template-from-customization-section/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
