PHP – Two Widgetized Div's in One (non widget) Div
-
Hi There,
I’m having trouble trying to get two widgetized div’s nestled inside one div. I have the CSS down, it’s just the PHP coding part in the main page. The functions are working perfectly, and I already have the widgets running perfect where they need to be in the widget area.
I want it to display as;
Home Display
>Home Display Left (then close div)
>Home Display Right (then close div)
(close Home Display div)This is my code;
function home_display_left() { echo '<div class="home-display"><div class="display-left"><div class="wrap">'; genesis_widget_area( 'home-display-left', array( 'before' => '<div class="home-display-left">', <div class="display-right"><div class="wrap">'; genesis_widget_area( 'home-display-right', array( 'before' => '<div class="home-display-right">', 'after' => '</div>', ) ); echo '</div></div></div></div>'; }Can someone tell me what I’m doing wrong, or help me by providing me the right code based off of above?
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘PHP – Two Widgetized Div's in One (non widget) Div’ is closed to new replies.