paulshack
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Twenty Eleven Theme Footer Sidebar PositioningBolow is the content of my functions.php file I am trying to ad a 4th sidebar to footer
Please can someone advise correct code, and also what I need to put in footer.php<?php
register_sidebar( array(
‘name’ => __( ‘Footer Area Four’, ‘twentyeleven’ ),
‘id’ => ‘sidebar-6’,
‘description’ => __( ‘An optional widget area for your site footer’, ‘twentyeleven’ ),
‘before_widget’ => ‘<aside id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => “</aside>”,
‘before_title’ => ‘<h3 class=”widget-title”>’,
‘after_title’ => ‘</h3>’,
) );
if ( is_active_sidebar( ‘sidebar-6’ ) )
$count++;$class = ”;
switch ( $count ) {
case ‘4’:
$class = ‘four’;
break;
if ( is_active_sidebar( ‘sidebar-6’ ) ) : ?>
<div id=”four” class=”widget-area” role=”complementary”>
<?php dynamic_sidebar( ‘sidebar-6’ ); ?>
</div><!– #fourth .widget-area –>Forum: Themes and Templates
In reply to: Twenty Eleven Theme Footer Sidebar Positioningsorry 2 extra sidebars showing
Forum: Themes and Templates
In reply to: Twenty Eleven Theme Footer Sidebar PositioningI am showing 3 extra sidebars in back end and I can put widget into both, the widget shows up on the front end but under the 3 default sidebars with twenty eleven theme
I need all 4 sidebars in a row with equal spacing across page
Make sense?
Paul