I’m using a child of twentyeleven and have put widgets in the three footer areas. I want to have a template that has everything but the three footer widget areas. I see there is a way to do this in the functions file but that would apply to all pages. I built a template file with this code but the widgets still show when I use it for a page.
Template name: No Footer Widget
<?php get_header(); ?>
<div id=”content” role=”main”>
<?php the_post(); ?>
<?php get_template_part( ‘content’, ‘page’ ); ?>
<?php comments_template( ”, true ); ?>
</div><!– #content –>
</div><!– #primary –>
<?php get_footer(); ?>
Any help will be greatly appreciated.
- The topic ‘Twentyeleven – how to remove the footer widget area for a specific template’ is closed to new replies.