[wp-trac] [WordPress Trac] #42855: Add ability to filter header, sidebar, searchform, footer and template_part file paths

WordPress Trac noreply at wordpress.org
Mon Jun 26 10:33:47 UTC 2023


#42855: Add ability to filter header, sidebar, searchform, footer and template_part
file paths
-------------------------------------------------+-------------------------
 Reporter:  atanasangelovdev                     |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Themes                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-refresh dev-         |     Focuses:  template
  feedback                                       |
-------------------------------------------------+-------------------------
Changes (by oglekler):

 * keywords:  has-patch => has-patch needs-refresh dev-feedback


Comment:

 I like to have the ability to work with template paths in the get_footer()
 and get_header() functions, as get_template_part() does, but I'm not sure
 about implementation. I just want to have a better template structure and
 have different parts of the same template (page) in the dedicated folder
 and not to store all of them in the theme main folder.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/42855#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list