Skip to content

Instantly share code, notes, and snippets.

@j-mccarthy
Created November 17, 2014 17:16
Show Gist options
  • Save j-mccarthy/623564f499ba3c65d50b to your computer and use it in GitHub Desktop.
Save j-mccarthy/623564f499ba3c65d50b to your computer and use it in GitHub Desktop.
<?php
/**
* Sidebar Name
*
* @package John's Theme
* @since 0.0.2
* @link
* @author John McCarthy @ johnmccarthy.co
* @copyright Copyright (c) 2014, John McCarthy
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
*
*/
/**
* Sidebar Name template
* @since 0.0.2
*
*/
echo '<div class="sidebar-name widget-area">';
// Open sidebar div
genesis_structural_wrap( 'sidebar-name' );
do_action( 'jm_before_sidebar_name_widget_area' );
do_action( 'jm_sidebar_name' );
do_action( 'jm_after_sidebar_name_widget_area' );
// Close sidebar div
genesis_structural_wrap( 'sidebar-name', 'close' );
echo '</div>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment