Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*-----------------------------------------------------------------------------------*/
- /* You can add custom functions below */
- /*-----------------------------------------------------------------------------------*/
- add_action( 'woo_content_before', 'woo_custom_add_slider', 12 );
- function woo_custom_add_slider () {
- if(is_home() || is_front_page()) {
- echo do_shortcode('[all_in_one_contentSlider settings_id=1]');
- }
- } // End woo_custom_add_slider()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement