[wp-trac] [WordPress Trac] #30288: set import directory for get_template_part()

WordPress Trac noreply at wordpress.org
Sat Nov 8 05:55:21 UTC 2014


#30288: set import directory for get_template_part()
-----------------------------+-----------------------------
 Reporter:  Billy Mathews    |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Themes           |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:  template         |
-----------------------------+-----------------------------
 Either a function or an action hook in functions.php that allows you to
 set an import directory for get_template_part()

 This would either simply prepend the import directory to the file name
 passed to get_template_part(), or add additional paths to the array of
 paths where the function looks for the file. Probably the latter?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30288>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list