So you’ve set up a really neat search on your Customizr website with the this snippet. It works fine. But when you look at the search results on your site, all you see is screens and screens of images where you were hoping to see your pages and posts. Here […]
Snippets
In this snippet, we’ll show you some concrete examples of page layouts that use Customizr’s underlying Bootstrap 2.3.2 scaffolding
There are several solutions on the WordPress Customizr forum for adding search forms. Here’s a way to add a minimal search form to the Customizr main menu. Two methods are given here: The first method uses the in-built Genericons magnifying-glass icon. This method is fast, because the Genericons font is […]
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 […]
Where to copy/paste this code? The simplest way is to use the Custom CSS section of the customizer option screen. If you have many customizations to make in CSS and PHP, then we strongly recommend you create a child theme. Everything you need to know about creating a child theme […]
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’, […]
You’ve probably noticed that some features of Customizr are not well interpreted by some outdated versions of Internet Explorer. The beloved zoom effects on the thumbnails for the featured pages and posts lists, for example, are not supported by them. Unfortunately, thumbnails links does not work either. Add this snippet […]
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 […]
Updated : works fine with Featured Pages Unlimited v1.4+ The featured pages are composed by 4 blocks ordered as follow by default : Image Title Excerpt (or custom text) Button With the following snippet you can define a new order for those blocks. Just change the order of the items […]