Howdy WP developer! In this snippet, I will describe three different techniques to alter the WordPress default query with an example showing how to add a secondary page to the front page in the Customizr theme Those are quite advanced WordPress programming techniques, so before diving into it make sure you […]
Target: Front page
In the alternate thumbnails layout, the default display shows the excerpt with a […] at the end. The thumbnail and the title are linked to the post. If you want to add a “Read More” link or a “Read More” button, here is how your do it. To replace the […]
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 […]
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 […]
In this simple example, I ‘ll show you how to widgetized the home page of the Customizr theme by placing a widget area above the featured pages. In the following snippet, the widget area is added before the featured pages of the home page with the action hook named ‘__before_fp’. […]
Hi, This short snippet allows you to replace the featured page image background by an embedded video. It uses the filter hook named : fp_img_src for which you can specify 2 parameters : the featured page name (one, two, three) and the id of the post used as a featured page. In […]
By default in the Customizr theme, the featured pages images use by priority : the page featured images if the featured image is not set, then it uses the first image (ordered by date) attached to this page. (in other words, the first images that has been inserted in the WYSIWYG […]
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 […]
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 […]
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 […]
This guide shows you how to set up a multilingual site with Polylang/Customizr. The code included also works with Featured Pages Unlimited (and any theme).
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 […]