• Resolved elarifr

    (@elarifr)


    Hi
    I want to move the slider under the featured but really don’t find where it is called from.

    i have adapted the theme to reduce slider to span8 and add a widget span4 on right side, displaye 6 featured item / row
    but now i’m lost to move slider down ??

    anybody can help…

    should see aqua-conseil-alsace . com

Viewing 4 replies - 1 through 4 (of 4 total)
  • In your child theme functions.php add this:

    add_action('wp_head', 'move_slider_after_fp');
    function move_slider_after_fp(){
        if (! tc__f('__is_home'))
            return;
        //detach slider
        remove_action('__after_header', array(TC_slider::$instance, 'tc_slider_display'));
        //display it after fps
        add_action('__before_main_container', array(TC_slider::$instance, 'tc_slider_display'), 15 );
    }

    Should work. Let me know.

    Thread Starter elarifr

    (@elarifr)

    it works perfectly

    thanks

    Thread Starter elarifr

    (@elarifr)

    forgot to mark topic resolved

    Glad you solved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘move slider under featured’ is closed to new replies.