Make WordPress Core

Opened 9 years ago

Last modified 6 years ago

#40629 new enhancement

Change default template

Reported by: pratikgandhi Owned by:
Priority: normal Milestone: Future Release
Component: Editor Version: 4.7.4
Severity: normal Keywords: needs-patch
Cc: Focuses: administration, template

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.


6 years ago

#2 @noisysocks
6 years ago

  • Component GeneralEditor

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
6 years ago

  • Keywords needs-patch added
  • Milestone Awaiting ReviewFuture Release

#4 @noisysocks
6 years ago

  • Type feature requestenhancement
Note: See TracTickets for help on using tickets.