Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- genesis_register_sidebar( array(
- 'id' => 'above-content-pages',
- 'name' => 'Above Content Pages',
- 'description' => 'This is the above content pages section'
- ) );
- add_action( 'genesis_before_entry', 'sk_custom_widget_area' );
- function sk_custom_widget_area() {
- if (is_singular('page' )) {
- genesis_widget_area( 'above-content-pages', array(
- 'before' => '<div class="above-content-pages widget-area"><div class="wrap">',
- 'after' => '</div></div>',
- ) );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement