Howdy Customizr developer! A clean and simple solution to display a block of content right below the header is to add an action to the ‘__after_header’ hook (located in the header.php template of the Customizr theme). In the functions.php file of your child theme, you can write this kind of […]
Function: WordPress functions
Updated March 2015: This snippet now works only with Customizr > 3.3.1 and Customizr-Pro > 1.0.12 This little snippet gives a simple solution to display the post metas at the bottom of a single post in the Customizr theme, (instead of right below the post title). This code has to […]
Customizr comes with predefined social networks that you can easily activate from the customizer screen. You might want to add one that is not included natively in the theme. In this case, here’s an example of what you can do with Customizr, using the filters. I highly recommend that you […]
Wordpress sets a default limit of 55 characters for Excerpts. You can override this limit by adding this code to your functions.php file in a child theme Where to copy/paste this code? We strongly recommend you create a child theme and add this to the Child Theme functions.php. Download a […]
The following code will display the description text field of any attachment at the bottom of the attachment page. Copy and paste this snippet at the very bottom of your functions.php file. (if you are using a child theme, don’t forget to start your functions.php file with <?php ) add_action( […]
Add this function in your child theme’s functions.php add_filter(‘tc_slider_display’, ‘content_after_slider’); function content_after_slider($html) { $after_slider = ”; //Put your HTML inside this var return $html.$after_slider; } Your HTML code goes inside the $after_slider var, in between the single quotes. Please note that the HTML you input must have all single quotes […]
Method 1 : with an action hook This will add a two column block before your featured pages on home. add_action(‘__before_main_container’ , ‘my_content_before_main_container’ , 0); function my_content_before_main_container() { if (! is_home() || !is_front_page() ) return; ?> <div class=”container”> <div class=”row-fluid”> <div class=”span6″> <h2>This is a big title</h2> </div> <div class=”span6″> […]
Notice for Customiz-Pro (<1.2.5) users: In order to use this code you have to uncheck Enable the footer copyrights and credits under: Appearance -> Customize -> Footer -> Footer Credits The following is a code snippet to add your logo in the footer. It will displays your logo only if […]
For Customizr-Pro and Hueman-Pro users: You can paste your Google Analytics tracking code in a specific field designed for that. Please read the following documenation: Customizr-Pro Hueman-Pro If you’re not a developer, you can refer to this complete documentation on setting up your Google Analytics tracking code with a plugin. Here’s […]
Hi, the following pieces of code change the default behaviour of the Customizr theme menu : 1 displays the dropdown items on hover instead of click 2 enables the click on a parent menu item It is composed of two parts that work together : a css snippet and a […]
New ! in Customizr Pro, you can easily customize your footer credits in live preview. If you’re a Customizr Pro (versions < 1.2.5) user and for some reason you still want to use this snippet you have to disable the option “Enable the footer copyrights and credits” in “Appearance -> Customize […]
Add this in your child theme’s functions.php: add_filter(‘tc_logo_text_display’, ‘your_logo_display’); add_filter(‘tc_logo_img_display’, ‘your_logo_display’); function your_logo_display($output) { return preg_replace(‘/brand span3/’, ‘brand span10 offset1’, $output, -1); }