Function: swith()

2 posts

customizr-featured-pages

Apply custom or random images to the featured pages

By default in the Customizr theme, the featured pages images use by priority : the page featured images if the featured image is not set, then it uses the first image (ordered by date) attached to this page. (in other words, the first images that has been inserted in the WYSIWYG […]

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