Make WordPress Core

Opened 8 years ago

Last modified 4 years ago

#40629 new enhancement

Change default template

Reported by: pratikgandhi's profile 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)

This ticket was mentioned in Slack in #core by noisysocks. View the logs.


4 years ago

#2 @noisysocks
4 years ago

  • Component changed from General to Editor

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.

#3 @noisysocks
4 years ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Future Release

#4 @noisysocks
4 years ago

  • Type changed from feature request to enhancement
Note: See TracTickets for help on using tickets.