Hook: tc_slider_name_id

5 posts

Make the Customizr home slider season based

Compatible with Customizr-Pro Hi, wouldn’t be cool displaying a different slider on the front page, depending on the season? That’s what you have to do: Create 4 sliders and name with the season’s names (lowercase) In Appearance -> Customize -> Content: home, posts, .. -> Front Page -> Slider Options […]

Make a Customizr slider display recent posts

Updated Sep 2015: This snippet now works only with Customizr 3.4.* and Customizr-Pro 1.2.* Updated June 2015: This snippet now works only with Customizr > 3.3.26 and Customizr-Pro > 1.1.9 Updated June 2015: Fixed conflict with AddThis plugin : better handling of the post excerpt. Thanks to @Claudia Lopez for […]

Display a slider in the 404 and search pages

Let’s say you have created a slider named “my-slider” and you want to display it in your 404 page or in your search pages. Since there’s no option to style those pages from the WP admin, you’ll have to code something. Here’s a short snippet to do it. add_filter(‘tc_show_slider’ , […]