Forum Replies Created

Viewing 1 replies (of 1 total)
  • where exactly should i put the code? i can’t get it done

    i’ve tried:

    <?php add_action (‘__after_header’, ‘my_new_slider’);
    function my_new_slider() {
    //checks that we display the home page
    if ( !tc__f(‘__is_home’) )
    return;
    //renders the new slider
    echo do_shortcode(“[shs_slider_show]”);
    //if(function_exists(‘shs_slider_view’)){ shs_slider_view(); }
    }
    ?>

    both in header.php and index.php with no luck

    thanks

Viewing 1 replies (of 1 total)