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 […]
Snippets
There are cases when you need to set a custom titles for the featured pages displayed on front page. By default, Customizr uses the titles that you have defined for your pages. You can easily change this with the following snippet. 1) Grab the page’s id for which you need […]
Just add the following code in the Custom CSS or the stylesheet of your child theme and you are done. For all images : featured page images and featured images in post list .round-div { -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; } Only for featured pages .widget-front .round-div { […]
In the Customizr WordPress theme, you can easily change the default h1 html tag of the post or page title with the ‘tc_content_title_tag’ filter. The quick example below illustrates how to change every post of page title to h2 (instead of the default h1) add_filter(‘tc_content_title_tag’ , ‘my_title_tag’); function my_title_tag() { […]
This snippet replaces the default published date by the last post update’s date in your post metas. add_filter( ‘tc_date_meta’ , ‘display_the_update_date’); function display_the_update_date() { return sprintf( ‘<a href=”%1$s” title=”updated %2$s” rel=”bookmark”><time class=”entry-date” datetime=”%3$s”>%4$s</time></a>’ , esc_url( get_day_link( get_the_time( ‘Y’ ), get_the_time( ‘m’ ), get_the_time( ‘d’ ) ) ), esc_attr( get_the_modified_date(‘F j, […]
This simple snippet adds an update status after your post title in WordPress. It checks if the post has been updated since its creation and if this update is less than n days old. If the condition is verified, it adds an update status text after the title. In this example, […]
Notice: Since Customizr v3.4.6 and Customizr-Pro 1.2.0 a new set of options has been introduced in the slides editing screen. You will be able to set a custom link url for your image (and button), open it in a new page and link the whole slide. This snippet will be […]
Notice: Since Customizr v3.4.6 and Customizr-Pro 1.2.0 a new set of options has been introduced in the slides editing screen. You will be able to set a custom link url for your image (and button), open it in a new page and link the whole slide. The caption, though, will […]
Customizr includes some useful filters if you need to customize your category archives titles. Changing the default prefix : “Category Archives :” add_filter(‘tc_category_archive_title’ , ‘my_cat_title’); function my_cat_title($title) { return ‘My archives title for : ‘; } Changing the heading of a specific category’s archives page Note : A […]
This snippet shows you how to add a widget area after the header. You can then use it for a search bar, or a language switcher.
The Customizr WordPress theme comes with default texts for navigation at the bottom of single posts and on post lists pages. There are some cases where you might need to change those texts, for example if you use custom posts types. You easily change these without modifying the core […]
Add qTranslateX flags to your menu. You need no child theme nor php knowledge.