WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 8 months ago

Last modified 8 months ago

#18023 closed defect (bug) (invalid)

No way to define default page template

Reported by: Gecka Owned by:
Milestone: Priority: normal
Severity: major Version: 3.2
Component: Template Keywords:
Focuses: Cc:

Description

The twenty eleven theme is quite nice but there is no way to define the default page template. For a website that needs a sidebar on every single page it is a hasle to have to set (and not forget to doit) the page template to sidebar.

Change History (6)

comment:1 mihai3 years ago

  • Severity changed from normal to major

I have the same problem, but I have a different theme.

I have a page which has a custom template assigned to it since a previous wordpress version. That still works but I'm not able to change the custom template, there's no way to do that from the page editor and there's no way to set the template for new pages.

comment:2 mihai3 years ago

  • Cc mihai added

comment:3 mihai3 years ago

  • Cc mihai removed

Ok this is too weird. It works now.
I have a multisite install, and 2 sites on it. Each of them were using different themes. It seems that at some point in time the secondary site was "assigned" the theme of the main site but only in the admin...if I was looking at the site outside of admin it was using its own theme ( I know because it's in a different language ) so I thought there's no way that the problem would be because of a wrong theme.

Another weird thing is that the theme that was now "assigned" in admin also contains some custom templates but still none of them were displayed in the page editor.

So I went in Admin -> Appearence and switched the theme to the right one and now I'm able to see the page template dropdown box again in the page editor.

Version 0, edited 3 years ago by mihai (next)

comment:4 mihai3 years ago

  • Cc mihai added

comment:5 c3mdigital8 months ago

  • Keywords close added; needs-patch removed
  • Resolution set to invalid
  • Status changed from new to closed

Default page template is always page.php. Closing as invalid

comment:6 helen8 months ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.