Function: tc__f()

14 posts

Make the Customizr home slider season based

Compatible with Customizr-Pro Hi, wouldn’t be cool displaying a different slider on the front page, depending on the season? That’s what you have to do: Create 4 sliders and name with the season’s names (lowercase) In Appearance -> Customize -> Content: home, posts, .. -> Front Page -> Slider Options […]

Make Featured Pages titles linkable

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

Embedding a YouTube or Vimeo video in your slider

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

Featuring pages on another page / post than home

Let’s say you’ve setup three beautiful featured pages on your home page. Now you might want to display this block of featured pages in another post or page of your website. This snippet will show you how to do it.   Note : Customizr-Pro and Featured Pages Unlimited users should replace `__get_option` with […]

Add a specific page or post content in another post or page

Following this discussion in the Customizr theme support forum, here’s a simple piece of code that will allow you to add any post or page before your post or page content in the Customizr WordPress theme. The following snippet will add the content on your front page and before the featured […]

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