Learn how to add a navbar widget, so that you can put a Polylang Language Switcher dropdown in it
Hook: Customizr Hooks
Customizr comes with a default comment bubble using a font icon and displaying the number of comments next to each posts. (see below) You might want to change this and add specific content and/or a custom style. This snippet will show you how to do it and get something like […]
Let’s say you need to feature your Facebook fans on your home page, and display it like one of your featured pages. I am assuming that you have generated your Facebook code for the lite box here : https://developers.facebook.com/docs/plugins/like-box-for-pages. Now, here’s a quick snippet to replace one of your […]
If you’ve set up the Customizr theme so that you have you blog posts on a separate page, here’s how to include some text or other content above the posts.
This guide shows you how to set up a multilingual site with Polylang/Customizr. The code included also works with Featured Pages Unlimited (and any theme).
Updated : Now compatible with Featured Pages Unlimited and Customizr-Pro Customizr by default doesn’t allow you to have HTML entities or shortcodes in Featured Pages text. This is a wise choice, because the text is trimmed by default to 200 characters. This means that you might risk to have an unclosed tag, which […]
Notice:: Since Customizr 3.4.6 and Customizr-Pro 1.2.0 a new option has been added to make the footer sticky. Navigate through Appearance -> Customize -> Footer and you’ll find it 😉 3.1.* 3.2.* Cutomizr-Pro* June 2015 update: CSS moved from child-theme style.css (or custom-css box) to inline style through tc_user_options_style filter, […]
Hi, You might need to disable the built-in Customizr breadcrumb in some contexts of your website. You can easily unhook the breadcrumb actions by checking the post types, or using the WordPress built-in conditional tags. Use case : disabling the breadcrumb on the WooCommerce product pages All product pages […]
UPDATE 22 April 2015: Added filter priority value greater than 10 to ensure compatibility with new Customizr and Customizr-Pro versions. You might want to disable the red bubble displaying the number of comments, next to post titles. Here are two snippets to do it : 1) Disabling comment bubbles […]
Since Customizr v3.5+ Since Customizr v3.5, you can add a social link by adding this type of code to your functions.php : Before Customizr v3.5+ 1) Add them! Note : Tumblr now already included in the default Customizr social links. In your child theme functions.php add this simple snippet: add_filter(‘tc_default_socials’, ‘add_new_socials’, […]
Here is a useful snippet for those who need to display their slides in a random order. The random display is handled in javascript but I might come with an even simplier solution with a WordPress hook in a future release of the theme. add_action (‘wp_footer’,’tc_randomize_slides’ ); function tc_randomize_slides() […]
May 2014 update: Now added in the core code of Customizr since v3.1.11 When the sliders are displayed in full width, you might encounter some frustrating cropping effect for your slides, especially on very large screen devices. This snippet automatically keeps the slides vertically centered on any devices. add_action […]