'description' => __('Meta Slider/Slideshow Area')
));
register_sidebar(array(
- 'name' => __('Header Ads'),
- 'id' => 'header-ads',
- 'description' => __('For Ads in the Header')
+ 'name' => __('Header Ads - Left'),
+ 'id' => 'header-ads-left',
+ 'description' => __('For left ads in the header')
+ ));
+ register_sidebar(array(
+ 'name' => __('Header Ads - Right'),
+ 'id' => 'header-ads-right',
+ 'description' => __('For right ads in the header')
));
}
<div class="row">
<div id="ad" class="small-12 columns text-center">
<span>-Advertisements-</span>
- <?php if ( is_active_sidebar( 'header-ads' ) ) : ?>
- <?php dynamic_sidebar( 'header-ads' ); ?>
- <?php endif; ?>
+ <div class="row">
+ <div class="small-12 text-center medium-6 columns medium-text-right">
+ <?php if ( is_active_sidebar( 'header-ads-left' ) ) : ?>
+ <?php dynamic_sidebar( 'header-ads-left' ); ?>
+ <?php endif; ?>
+ </div>
+ <div class="small-12 text-center medium-6 columns medium-text-left">
+ <?php if ( is_active_sidebar( 'header-ads-right' ) ) : ?>
+ <?php dynamic_sidebar( 'header-ads-right' ); ?>
+ <?php endif; ?>
+ </div>
+ </div>
+
</div>
</div>
<?php } ?>