neticpro 0 Report post Posted February 10, 2011 Thanks for you answer but this block code is already present in the template file. Here it is : <?php global $pagelines_ID; if(is_page_template('page-fullwidth.php') || is_page_template('page-fullhighlight.php') || is_page_template('page-carousel-full')) $full_width_page = true; else $full_width_page = false; if(is_page_template('page-carousel.php') || is_page_template('page-carousel-full.php')) $carousel_page = true; else $carousel_page = false; if(VPRO && (is_page_template('page-feature.php') || is_page_template('page-feature-page.php') || (is_home() && pagelines('featureblog')))) $featureslide_template = true; else $featureslide_template = false; if(VPRO && (is_page_template('page-feature.php') || m_pagelines('featureboxes', $pagelines_ID))) $fboxes_template = true; else $fboxes_template = false; ?> <?php if($featureslide_template) get_template_part('pro/template_feature'); ?> <?php if($carousel_page) get_template_part('pro/template_carousel');?> <div id="contentcontainer" class="content fix"> <div id="contentborder"> <?php if(!is_page_template('page-highlight.php') && !is_404()) get_template_part('library/_sub_head');?> <?php if(is_page_template('page-fullhighlight.php')) get_template_part ('pro/template_highlight'); ?> <?php if($fboxes_template || is_home()) include(PRO . '/template_fboxes.php');?> <div id="maincontent" <?php if($full_width_page):?>class="fullwidth"<?php endif;?> > <?php if(is_page_template('page-highlight.php')):?> <?php get_template_part('pro/template_highlight');?> <?php get_template_part('library/_sub_head');?> <?php endif;?> <?php get_template_part ('library/_posts'); ?> </div> <?php if(!$full_width_page) get_sidebar();?> <?php get_template_part ('library/_contentfooter'); ?> <div class="clear"></div> </div> </div> Forgive me if I'm wrong, but this file is provided in the WhouteHouse theme natively, isn't it ? Share this post Link to post Share on other sites
cmunns 16 Report post Posted February 10, 2011 Yes it is, but I was saying you have to add your page template to that first conditional statement..it cut off what I added though: ` if(is_page_template('page-fullwidth.php') || is_page_template('page-fullhighlight.php') || is_page_template('page-carousel-full')) $full_width_page = true; else $full_width_page = false; ` If you added a custom template it will need to be added to this conditional. Altough I guess I'm unsure why you'd create a fullwidth carousel template if one already exists. What is the name of your template as it appears in the file? Share this post Link to post Share on other sites