Opened 8 years ago
Last modified 4 years ago
#40629 new enhancement
Change default template
Reported by: | pratikgandhi | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | 4.7.4 |
Component: | Editor | Keywords: | needs-patch |
Focuses: | administration, template | Cc: |
Description
I recently required to change the default template of theme to another template. The site is already working since 3 months and now client wants to change the default template to the sidebar template while publishing new pages.
There is no such action or filter available for it.
I am trying to add filter for it but if anyone have other suggestions, please let me know.
Change History (4)
Note: See
TracTickets for help on using
tickets.
I don’t think
get_default_post_to_edit()
has any filter for that, seems like a reasonable request.Any change here would have to work in the REST API and block editor as well.