Hook: __before_header

4 posts


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

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

Adding extra menus to Customizr

You may use the code below to add a secondary menu (actually you could add more than one) above the header, under the header, before footer or under the footer. Here’s the code, that should be added in your child theme’s functions.php:   add_action( ‘init’, ‘register_secondary_menu’ ); // this registers […]

Move the featured pages block anywhere on front page

Howdy, Here’s a simple recipe to change the featured pages block position in Customizr, we two lines of code! Like for the slider positioning, we will : 1 find the method controlling the featured pages block 2 identify the wanted hook to place the block 3 write the code in functions.php […]