Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions & Updates (http://forum.bytesforall.com/forumdisplay.php?f=54)
-   -   PATCH 113-07: allow use of bfa_get_template_part() in Virtual templates (http://forum.bytesforall.com/showthread.php?t=19944)

juggledad Mar 20, 2013 10:40 AM

PATCH 113-07: allow use of bfa_get_template_part() in Virtual templates
 
1 Attachment(s)
Inclusion of Custom sub templates should be done with
HTML Code:

<?php bfa_get_template_part( 'name-of-sub-template' ); ?>
however that code was not allowed in the virtual templates. This PATCH will allow they inclusion of Custom sub templates.

1) download the attached file
2) unzip it
3) move '650_sub_templates.php' to the 'montezuma/admin/options' folder
4) move 'get_template_part.php' to the 'montezuma/includes' folder
5) move 'get_whitelist.php' to the 'montezuma/includes' folder

the new format of the command will be

HTML Code:

<?php bfa_get_template_part( 'name-of-sub-template', '' ); ?>


All times are GMT -6. The time now is 05:22 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.