• Resolved amitstreak

    (@amitstreak)


    I wish to move one of the two bottom sidebars into a certain location in one of my pages.
    So I copied the following code from sidebar-front.php to the loaction (div) on the page:

    <div id="secondary" class="widget-area" role="complementary">
    	<?php if ( is_active_sidebar( 'sidebar-2' ) ) : ?>
    	<div class="first front-widgets">
    		<?php dynamic_sidebar( 'sidebar-2' ); ?>
    	</div><!-- .first -->
    	<?php endif; ?>
    </div><!-- #secondary -->

    Also remarked this code on sidebar-front.php.

    Firebug shows that the elements are there, but the widgets don’t show.

    What am I doing wrong?

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to move sidebar into a page in Twenty Twelve’ is closed to new replies.