I am developing TwentyTen child theme and wish to display dynamic sidebar on front page, but something is not quite right.
I modified loop-page.php
:
<div class="entry-content">
<?php dynamic_sidebar('promotion-sidebar'); ?> //ADDED LINE
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
</div><!-- .entry-content -->
At first I was invoking it inside is_front_page
conditional statement but then to double check issue I decided to call it on every page.
And guess what it appears on every single one except on the one I want: THE FRONT PAGE
Edit: I am using Sidebar Template for my static front page.
I just don't get it. Any help appreciated.
get_template_part('loop','page')
code?