Skip to content

Commit

Permalink
Add Widget Dump
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendanBerkley committed Feb 13, 2015
1 parent a48b1bd commit e8a55b9
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function nafh_boosters_2015_widgets_init() {
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h1 class="widget-title">',
'after_title' => '</h1>',
'after_title' => '</h1>'
) );
}
add_action( 'widgets_init', 'nafh_boosters_2015_widgets_init' );
Expand All @@ -101,7 +101,7 @@ function signup_section(){
'name' => 'Home Signup Section',
'id' => 'signup-section',
'before_widget' => '<div class="signup-section-signup">',
'after_widget' => '</div>',
'after_widget' => '</div>'
));
}

Expand All @@ -112,12 +112,22 @@ function home_events_section(){
'name' => 'Home Events Section',
'id' => 'home-events-section',
'before_widget' => '<div class="home-events-section">',
'after_widget' => '</div>',
'after_widget' => '</div>'
));
}

add_action( 'widgets_init', 'home_events_section' );


function widget_dump(){
register_sidebar(array(
'name' => 'Widget Dump',
'id' => 'widget-dump'
));
}

add_action( 'widgets_init', 'widget_dump' );

/**
* Enqueue scripts and styles.
*/
Expand Down

0 comments on commit e8a55b9

Please sign in to comment.