Use this function in your child theme’s functions.php to change the default link on your logo to another, custom link. Just replace http://new_link with the address you want your logo to point to: add_filter(‘tc_logo_link_url’, ‘change_site_main_link’); function change_site_main_link($output) { return ‘http://new_link’; }
Author : Andrei
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″> […]
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); }