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!
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.
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)
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.