Hook: tc_slide_title_length

2 posts

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 […]

Changing the default length / limits of the slider texts

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( ‘tc_slide_title_length’, ‘my_slider_text_limits’ ); add_filter( ‘tc_slide_text_length’, ‘my_slider_text_limits’ ); add_filter( ‘tc_slide_button_length’, ‘my_slider_text_limits’ ); function my_slider_text_limits() […]