Target: Slider

28 posts

Add content below slider

Add this function in your child theme’s functions.php add_filter(‘tc_slider_display’, ‘content_after_slider’); function content_after_slider($html) { $after_slider = ”; //Put your HTML inside this var return $html.$after_slider; } Your HTML code goes inside the $after_slider var, in between the single quotes. Please note that the HTML you input must have all single quotes […]

Add content above featured pages

Method 1 : with an action hook This will add a two column block before your featured pages on home. add_action(‘__before_main_container’ , ‘my_content_before_main_container’ , 0); function my_content_before_main_container() { if (! is_home() || !is_front_page() ) return; ?> <div class=”container”> <div class=”row-fluid”> <div class=”span6″> <h2>This is a big title</h2> </div> <div class=”span6″> […]

Change Slider to Fader

One of the striking things with Customizr is the Front Page – the Header/Slider/Featured Pages items appearing by default. @ElectricFeet came up with a different idea, which is to change the Slider to a Fader giving an alternative look-and-feel to the Front Page. Personally, I now use it as my […]