• Resolved adot

    (@adot)


    Are you able to move the actual slider on home static page to the bottom before footer and remain responsive

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter adot

    (@adot)

    I see where @nikeo gave info about this subject on this post but can anyone explain on how to use these hooks to change the order of page. Thank you in advance!

    Theme Author presscustomizr

    (@nikeo)

    Hi,
    To display the slider just before the footer on home page, use the following code in your functions.php (of a child theme of course) :

    add_action ( 'wp_head' , 'place_slider_before_footer' );
    function place_slider_before_footer() {
        if ( !tc__f('__is_home') )
            return;
        remove_action( '__after_header' , array( TC_slider::$instance , 'tc_slider_display' ));
        add_action( '__before_footer', array( TC_slider::$instance , 'tc_slider_display' ));
    }

    Hope this helps, cheers

    Thread Starter adot

    (@adot)

    Thanks you @nikeo worked like a charm for what they wanted. appreciate such a quick response.

    Theme Author presscustomizr

    (@nikeo)

    You’re welcome. Enjoy the theme

    Hi there,

    I have set up an “about” page and want to use a slider to give that information … why does the slider sit above the ABOUT title and information? How can I swop this around on this specific page.

    http://www.sourcecreative.net (in maintenance mode)

    Theme Author presscustomizr

    (@nikeo)

    Hi @bull01, please create a new thread for your issue/request.
    Thanks

    Hi Nikeo – great theme thanks. I wold have created a new thread … just cannot work out where or how?!!

    Go to bottom of Forum Index page and fill in the form.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Moving slider’ is closed to new replies.