Howdy WP developer! In this snippet, I will describe three different techniques to alter the WordPress default query with an example showing how to add a secondary page to the front page in the Customizr theme Those are quite advanced WordPress programming techniques, so before diving into it make sure you […]
Function: current_filter()
WordPress offers built-in functions to display the previous and next post link. next_post_link( $format, $link, $in_same_term = false, $excluded_terms = ”, $taxonomy = ‘category’ ); previous_post_link( $format, $link, $in_same_term = false, $excluded_terms = ”, $taxonomy = ‘category’ ); As you can see there’s a boolean parameter named ‘in_same_term’. This […]
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() […]
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 […]
The following is a simple snippet which describes how to replace the sliders default navigation arrows with icons. The method detailed below will also make it possible to use an image or whatever you want as navigation for your slider. Where to copy/paste the code above code? I strongly recommend […]
Howdy developer! The following is a quick and easy way to add a link in your tagline in the Customizr theme. We are going to use the ‘tc_tagline_display’ filter to do so. (check how to locate a filter in Customizr) Copy and paste the following code in the functions.php file of […]