[theme-reviewers] get_template_part()
Kirk Wight
kwight at kwight.ca
Fri Jun 8 15:59:36 UTC 2012
I believe this is coming in 3.4:
http://nacin.com/2012/03/29/page-templates-in-subdirectories-new-in-wordpress-3-4/
On 8 June 2012 07:56, Greg Priday <greg at siteorigin.com> wrote:
> As far as I know, get_template_part does support directories.
>
> get_templatepart('path/to/template') will get path/to/template.php
>
> Am I wrong?
>
>
> On Fri, Jun 8, 2012 at 1:52 PM, Central Victorian Irish Association <
> info at cvia.com.au> wrote:
>
>> Hello My Darlings. [image: Smile with tongue out]
>>
>> I have a guy questioning the get_template_part() call on internal files.
>> He claims basically that it is not required because it doesn’t support
>> directories. So, he wants to be an exception. I am saying
>> No-Can-Be-Doneskies but wanna get some experienced feedback before I tell
>> him to behave.
>> http://themes.trac.wordpress.org/ticket/7896
>>
>> Thanks,
>> Dan
>>
>>
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>
>
> --
> I make free WordPress themes
> http://siteorigin.com
> http://facebook.com/SiteOrigin
> http://twitter.com/SiteOrigin
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20120608/159c3ef0/attachment.htm>
More information about the theme-reviewers
mailing list