[wp-hackers] Help with including custom templates using variables

Helen Hou-Sandi h at hyhs.me
Mon Aug 12 18:30:27 UTC 2013


>
> You can simply use the second argument of get_template_part() like so:
>
> <?php get_template_part('/templates/left-sidebar', $end); ?>
>
>
Meant to put that right at the top of my reply, oops :) Definitely start
there.


More information about the wp-hackers mailing list