Jump to content
Sign in to follow this  
diretornak

Help removing content and sidebar from default feature page

Recommended Posts

diretornak

Hi guys! How could I go about removing both content and sidebar from the "feature page - standard" template? What I am trying to achieve is keeping the header, the main feature and the fboxes without anything between them and the footer. I searched all templates but they are a maze! The main templates call the "_template" and I can't mess with it without screwing all the "full width" templates as well =[ I feel I like I'm over-complicating things... =x

Share this post


Link to post
Share on other sites
catrina

Hi, Do you want this change to affect only the main index page (leaving all other pages alone)?


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
diretornak

Yeah! I think I managed to fix it by changing my template to "Feature Page - Full Width" and doing the following: In "Header.php" I added:

is_page_template('page-feature-fullwidth.php')
on this line:
<?php if((is_page_template('page-feature.php') || is_page_template('page-feature-page.php') || is_page_template('page-feature-fullwidth.php') || is_page_template('page-feature-blog.php') || (is_home() && pagelines('featureblog'))) && VPRO) include (CORE_INITS.'/init_feature.php');?>
Then I also added the same code to my "_template.php":
if(VPRO && (is_page_template('page-feature.php') || is_page_template('page-feature-page.php') || is_page_template('page-feature-fullwidth.php') || (is_home() && pagelines('featureblog')))) $featureslide_template = true;
		else $featureslide_template = false;
	
		if(VPRO && (is_page_template('page-feature.php') || is_page_template('page-feature-fullwidth.php') || m_pagelines('featureboxes', $post->ID))) $fboxes_template = true;
		else $fboxes_template = false;
	

Probably not the best fix, but worked =P Also, I guess I forgot to mention I am using EcoPro 1.2.1 and the full width feature page is bugged. =x

Share this post


Link to post
Share on other sites
catrina

Do you still need further assistance with this or will this solution suffice for now?


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
diretornak

I'm good with it for now =P Thanks tho!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×