Author : Nicolas

79 posts
Hi! I'm Nicolas (@presscustomizr), the lead developer of the Customizr Theme and the Hueman Theme. My team and I are working everyday to help you publish your WordPress content the best possible way. We love to do it! Thanks for visiting this website, feel free to drop us a line !

👌🎚️ WordPress 5.6 is imminent : Customizr free and pro are ready for it and prepared for WordPress 5.7

Dear Customizr theme users, Customizr free (v4.3.13) and Customizr Pro (v2.3.13) implement performance improvements and javascript compatibility patches in anticipation of the version 5.6 of WordPress scheduled for December 8, 2020. The themes also improves accessibility for links within content. Changelog : fixed : [headings] H3 heading size not smaller […]

👌🎚️WordPress 5.6 is imminent : Hueman free and pro are ready for it and preparing WordPress 5.7+

Dear Hueman theme users, Hueman free (v3.6.10+) and Hueman Pro (v1.3.10+) implement javascript compatibility patches in anticipation of the version 5.6 of WordPress scheduled for December 8th, 2020. The themes also improves accessibility for links within content. fixed : [WordPress.org requirements][accessibility] Links within content must be underlined fixed : [WP […]

Three techniques to alter the query in WordPress

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

How to change the “Leave a comment” text in WordPress ?

This text can be altered with a WordPress filter hook comment_form_defaults In the following code, simply replace Custom leave a comment by your own text :   add_filter(‘comment_form_defaults’, ‘set_my_comment_title’, 20); function set_my_comment_title( $defaults ){ $defaults[‘title_reply’] = __(‘Custom leave a comment’, ‘customizr-child’); return $defaults; }

Embedding a YouTube or Vimeo video in your slider

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

Restrict the post navigation to the same category

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

Display a slider in the 404 and search pages

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