Created
May 26, 2015 20:07
-
-
Save j-mccarthy/9a6017791b7677205060 to your computer and use it in GitHub Desktop.
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 | |
/** | |
* Source Genesis Child Theme | |
* | |
* @package Source | |
* @since 0.0.1 | |
* @copyright Copyright (c) 2014, Contributors to the Source project | |
* @license GPL-2.0+ | |
*/ | |
add_action( 'source_front_page', 'my_content_one', 1 ); | |
function my_content_one() { | |
// Some content | |
} | |
add_action( 'source_front_page', 'my_content_two', 2 ); | |
function my_content_two() { | |
// Some content | |
} | |
add_theme_support( 'genesis-structural-wraps', array( 'header', 'nav', 'footer-widgets', 'footer' ) ); | |
get_header(); | |
do_action( 'source_front_page' ); | |
get_footer(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment