Skip to content

Instantly share code, notes, and snippets.

/mediclean

Created May 24, 2017
Embed
What would you like to do?
/**
* [mediclean_pro_child_custom_slider_placement Changing the main slider placement ]
* @return [type] [NULL]
*/
function mediclean_pro_child_custom_slider_placement() {
// Add slider to the theme.
remove_action( 'mediclean_action_before_content', 'mediclean_add_featured_slider', 5 );
// Add slider to the theme.
add_action( 'mediclean_action_after_content', 'mediclean_add_featured_slider', 15 );
}
add_action( 'init', 'mediclean_pro_child_custom_slider_placement' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.