If you want your featured pages titles be a link to the featured pages, this snippet is what you need. You do not need to copy both versions, choose the one you like best! 1) Javascript version Compatible with FPU plugin, FP plugin, Customizr, Customizr-Pro add_action(‘wp_footer’, ‘fp_titles_linkizr’, 200); function […]
Language: javascript
Updated August 2015: Added an option to automatically loop youtube videos (default true) and code updated to work with Customizr-Pro 1.2+ and Customizr 3.4+ Updated April 2015: Added an option to prevent the related videos showing (youtube). Updated March 2015: Added unmute on hover. This snippet works also with Customizr-Pro […]
The Customizr theme displays by default your post titles as links pointing to the single post. Here’s a simple way (using some javascript) to remove those links if you ever need to. Paste the following code in your functions.php : add_action(‘wp_head’ , ‘remove_post_list_title_links’); function remove_post_list_title_links() { ?> <script id=”remove-links-in-title” type=”text/javascript”> […]
If you need to add Scrollspy to the Navbar: Where to copy/paste this code? We strongly recommend you create a child theme. Everything you need to know about creating a child theme with Customizr here. /* START OF Add Scrollspy to the Navbar (Needs additional php code in Child 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 […]
3.1.* 3.2.* Nov 2014 update: Tested with Wordpress 4.0 and Customizr 3.2.5 . Still works if you choose to display thumbnails on the left/right. Will not do anything if you display them on top/bottom. Basically ’cause the aim of this script, as you can see in the example pictures, is […]
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, […]
You’ve probably noticed that some features of Customizr are not well interpreted by some outdated versions of Internet Explorer. The beloved zoom effects on the thumbnails for the featured pages and posts lists, for example, are not supported by them. Unfortunately, thumbnails links does not work either. Add this snippet […]
Here is a useful snippet for those who need to display their slides in a random order. The random display is handled in javascript but I might come with an even simplier solution with a WordPress hook in a future release of the theme. add_action (‘wp_footer’,’tc_randomize_slides’ ); function tc_randomize_slides() […]
May 2014 update: Now added in the core code of Customizr since v3.1.11 When the sliders are displayed in full width, you might encounter some frustrating cropping effect for your slides, especially on very large screen devices. This snippet automatically keeps the slides vertically centered on any devices. add_action […]
Updated : works fine with Featured Pages Unlimited v1.4+ The featured pages are composed by 4 blocks ordered as follow by default : Image Title Excerpt (or custom text) Button With the following snippet you can define a new order for those blocks. Just change the order of the items […]
This snippets will allow you to add another button in any slide like in the picture below. This snippet has been developed in javascript because there are no easier way to do this with filters or actions in the current version of the theme (v3.1.6). To make the […]