If you need to center Header Block Items, 3.2.* release created more options for doing this in the Customize>Header panel reducing the need to use this Snippet. Check those options first and only use parts of this code as needed: To make this change, you MUST create a child theme. […]
Hook: Customizr Hooks
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 […]
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 […]
Customizr introduced built-in feature changes in v3.3. For more details, read the Documentation This Snippet is preserved for Users of 3.1/3.2 If you need to remove any or all of the items around a Post (Category, Date, Author), this can be partially achieved with CSS. To remove the extra text […]
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); }
Customizr introduced built-in feature changes in v3.3. Go to Customize>Content>Post lists. The following code supports v3.1/3.2 You may wish to adjust the positioning of the Images on Posts. Default is alternate Left/Right, but you can force all to Left or Right. This can be done by: Where to copy/paste this […]