The slider of the Customizr theme is used to attract attention to certain important posts. What if you want to give emphasis to some words in the Slider title, for instance, ‘FREE‘? Can you enlarge specific words in the title? To achieve this effect, just paste this to your child […]
Target: Slider
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 […]
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 […]
Updated August 2015: Added an option to automatically loop youtube videos (default true) and code updated to work with Customizr-Pro 1.2+ and Customizr 3.4+ Updated April 2015: Added an option to prevent the related videos showing (youtube). Updated March 2015: Added unmute on hover. This snippet works also with Customizr-Pro […]
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’ , […]
This guide shows you how to set up a multilingual site with Polylang/Customizr. The code included also works with Featured Pages Unlimited (and any theme).
Here is a useful snippet for those who need to display their slides in a random order. The random display is handled in javascript but I might come with an even simplier solution with a WordPress hook in a future release of the theme. add_action (‘wp_footer’,’tc_randomize_slides’ ); function tc_randomize_slides() […]
May 2014 update: Now added in the core code of Customizr since v3.1.11 When the sliders are displayed in full width, you might encounter some frustrating cropping effect for your slides, especially on very large screen devices. This snippet automatically keeps the slides vertically centered on any devices. add_action […]
By default, the slider can be displayed before posts or pages in the Customizr theme but you might want to display a slider for a specific category (or for all). The following snippet allows you to do so in two simple steps 1 First, create a slider and grab its […]
With the following snippet, you can take control of the various slider texts length in the Customizr theme : title (default 80 chars), lead text under the title (default 250 chars), button text (default 80 chars). add_filter( ‘czr_slide_title_length’, ‘my_slider_text_limits’ ); add_filter( ‘czr_slide_text_length’, ‘my_slider_text_limits’ ); add_filter( ‘czr_slide_button_length’, ‘my_slider_text_limits’ ); function my_slider_text_limits() […]
In Customizr, there are three image sizes by default defined in class-fire-init.php. Each of them has a specific filter allowing developers to change its properties. If you need to modify the image sizes and are not developer, you’ll want to give a try to this plugin. We can also recommend […]
This snippets will allow you to add another button in any slide like in the picture below. This snippet has been developed in javascript because there are no easier way to do this with filters or actions in the current version of the theme (v3.1.6). To make the […]