Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

[SOLVED] Custom sub templates not working

Prev Previous Post   Next Post Next
Old Mar 20, 2013, 05:33 AM
asifnkhan's Avatar
6 posts · Mar 2013
Send a message via Skype™ to asifnkhan
[SOLVED] Custom sub templates not working

I have created a sub-template to show three widgets below the main row and above footer. The problem is that when I call those templates from any main template they just don't work. To me, the code is right as if I insert same code directly into footer.php, it works. But, I can't use it because I just want to show those widgets on single posts/pages not the homepage. Check the code below:

<div id="footerwidget-bg">
<div id="main" class="row">
<div id="footerwidget-one" class="col4">
	<?php dynamic_sidebar( 'Footer Widget ONE' ); ?>

<div id="footerwidget-two" class="col4">		
      	<?php dynamic_sidebar( 'Footer Widget TWO' ); ?>
<div id="footerwidget-three" class="col4">
	<?php dynamic_sidebar( 'Footer Widget THREE' ); ?>

I am using below code to call the widgetsinfooter.php sub template.

<?php bfa_get_template_part( 'widgetsinfooter' ); ?>


adding new widget areas, footer widgets, montezuma, styling new widgets, sub templates

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom templates and sticky posts Mesjps Atahualpa 3 Wordpress theme 0 Jun 1, 2012 02:27 AM
Custom Post Templates Revisited waded1 Atahualpa 3 Wordpress theme 12 Apr 7, 2012 11:15 AM
Auto-install borked custom templates - but I should have known better... rickheck New Versions, & Updating 3 Dec 15, 2011 03:37 PM

All times are GMT -6. The time now is 11:14 PM.

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