Hook: Customizr Hooks

82 posts

facebook-like-box-in-place-of-customizr-featured-page

Adding a Facebook Like Box in place of a featured page in the Customizr theme

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 […]

Html entities and shortcodes in Featured Pages

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 […]

Make the Footer ‘Sticky‘

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, […]

Disabling the Customizr’s breadcrumb on some pages

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 […]

Add new custom socials icons

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’, […]