Created
February 8, 2014 02:16
-
-
Save ChrisCree/8875646 to your computer and use it in GitHub Desktop.
Example of a page template for the Genesis theme framework that adds a widget area after the header.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
</php | |
/* | |
* | |
* Template Name: Rotator 2 | |
* | |
*/ | |
add_action( 'genesis_after_header', 'wsm_add_rotator2' ); | |
function wsm_add_rotator2() { | |
genesis_widget_area( 'rotator2', array( 'before' => '<div class="rotator2 widget-area">', 'after' => '</div>' ) ); | |
} | |
genesis(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment