Skip to content

Instantly share code, notes, and snippets.

@braddalton
Last active December 16, 2015 07:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save braddalton/5401022 to your computer and use it in GitHub Desktop.
Save braddalton/5401022 to your computer and use it in GitHub Desktop.
function soliloquy_slider_header_home() {
if (is_home()&& function_exists( 'soliloquy_slider' ) ) {
soliloquy_slider( '88' );
}
}
add_action('genesis_header', 'soliloquy_slider_header_home');
/**
* @author Brad Dalton - WP Sites
* @example http://wpsites.net/best-plugins/add-soliloquy-slider-in-header-of-any-theme/
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment