Skip to content

Instantly share code, notes, and snippets.

@amarilindra
Last active January 4, 2017 07:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amarilindra/1dbc61e6954a4762b322 to your computer and use it in GitHub Desktop.
Save amarilindra/1dbc61e6954a4762b322 to your computer and use it in GitHub Desktop.
Widget Before Comments Section
//widget area right before the comments section
add_action( 'genesis_before_comments', 'my_widget_area' );
//Registering the widget area
genesis_register_sidebar( array( 'id' => 'after-post', 'name' => __( 'Before Comments ', 'geekdashboard' ), 'description' => __( 'Yoo This is the widget before Comments section.', 'geekdashboard' ), ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment