Skip to content

Instantly share code, notes, and snippets.

@reasonstousegenesis
Last active August 29, 2015 14:20
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 reasonstousegenesis/4c505bb670251c8129dd to your computer and use it in GitHub Desktop.
Save reasonstousegenesis/4c505bb670251c8129dd to your computer and use it in GitHub Desktop.
Output a widget area with Genesis
<?php
// Paste the code BELOW this line into your child theme functions.
/**
* Output a widget area with Genesis
*
* @author Reasons to Use Genesis
* @link http://reasonstousegenesis.com/genesis-widget-area/
*/
add_action( 'genesis_after_header', 'rtug_do_widget_area' );
function rtug_do_widget_area() {
genesis_widget_area( 'rtug-widget-area' ); // replace with your widget area ID
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment