Last active
June 12, 2017 03:04
-
-
Save braddalton/5203016 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
add_action('genesis_header', 'wpsitesdotnet_slider_header_home'); | |
/** | |
* @author Brad Dalton | |
* @example http://wpsites.net/web-design/executing-shortcodes-in-hook-locations-using-functions/ | |
* @copyright 2014 WP Sites | |
*/ | |
function wpsitesdotnet_slider_header_home() { | |
if (is_home()) { | |
echo do_shortcode('[easingsliderlite]'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment