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

WordPress Trac noreply at wordpress.org
Sun Nov 9 20:43:22 UTC 2014


#30288: set import directory for get_template_part()
-----------------------------+-----------------------
 Reporter:  Billy Mathews    |       Owner:
     Type:  feature request  |      Status:  reopened
 Priority:  normal           |   Milestone:
Component:  Themes           |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  template
-----------------------------+-----------------------

Comment (by valendesigns):

 That can be accomplished simply by doing
 `get_template_part('partials/searchform')`.

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


More information about the wp-trac mailing list