[Resolved] Howto add a side by side widget area to thehomepage?
Hi guys and girls.
I want to add a side by side widget area to the homepage.
I have managed to fins some code on the net but cant figure out how to get the widgets side by side instead of on top of each other. Can anyone help with this?
here’s my code.
if ( function_exists('register_sidebar') ) register_sidebar( array( 'name' => __( 'Homepage Widget Area &cells=2'), 'id' => 'mycustomwidgetarea', '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>', ) );
<?php // Custom widget Area Start if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Homepage Widget Area &cells=2') ) : ?> <?php endif; // Custom widget Area End ?>
- The topic ‘[Resolved] Howto add a side by side widget area to thehomepage?’ is closed to new replies.