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: Pages
If you want to change the titles of daily,monthly or yearly archives, add this to your child theme’s functions.php and modify the archive titles to suit your needs. add_filter(‘tc_time_archive_header_content’,’my_time_archive_header_content’); function my_time_archive_header_content($content) { if ( is_day() || is_month() || is_year() ) { $archive_type = is_day() ? sprintf( __( ‘My Daily Archives: […]
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 […]
Updated February 24, 2016: Added the option to output either some text or a Font Awesome icon. In case you want to change the default word “Home” in the breadcrumb trail, to something different, this snippet will allow to change it. To use standard characters: just paste this function into […]
A common request on the Support Forum is for information on how to change the page width to full-width. Customizr is designed to have the main content limited to 1170px in desktop mode, so you might have some visual problems with the images, which should be partially solved with 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 […]