Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $minHeight = '380px';
- if ( is_active_sidebar( 'home-welcome' ) || is_active_sidebar( 'home-image' ) ) {
- echo '<div class="top"><div class="wrap">';
- if ( is_active_sidebar( 'home-welcome' ) ) {
- genesis_widget_area( 'home-welcome', array(
- 'before' => '<div class="home-welcome widget-area">',
- 'after' => '</div>',
- ) );
- }
- if ( is_active_sidebar( 'home-image' ) ) {
- genesis_widget_area( 'home-image', array(
- 'before' => '<div class="home-image widget-area" style="height:' . $minHeight . ';">',
- 'after' => '</div>',
- ) );
- }
- echo '</div></div>';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement