Following a user request on the Customizr support forum, I have worked on a simple solution to display your existing content as sections. The whole idea here is to use a selection of the pages and posts already existing in your website, and combine them on a single page. This allow to easily create […]
Target: Posts
Following the excellent javascript snippet from Rocco describing how to change the order of the content and the thumbnail, I’ll describe here the PHP way to hook into the property handling the post layout in post lists (archives, search results, …) and set new custom values, including mobile viewport detection. By […]
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 […]
Hi, You might need to disable the built-in Customizr breadcrumb in some contexts of your website. You can easily unhook the breadcrumb actions by checking the post types, or using the WordPress built-in conditional tags. Use case : disabling the breadcrumb on the WooCommerce product pages All product pages […]
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 […]
With the hooks API, Customizr offers a simple way to change the global layout of your website . The following snippet explains how to create different column layouts for your content and sidebars, and apply them to specific contexts on your website. Customizr theme layouts As explained here, the theme […]
In Customizr, there are three image sizes by default defined in class-fire-init.php. Each of them has a specific filter allowing developers to change its properties. If you need to modify the image sizes and are not developer, you’ll want to give a try to this plugin. We can also recommend […]
If your home page displays your last WordPress posts, you may have noticed that the posts on home don”t show the metas informations : dates, categories, tags, authors. This is the default behaviour of Customiz, but you might want to change this behaviour, for example to enable the Google author […]
Just add the following code in the Custom CSS or the stylesheet of your child theme and you are done. For all images : featured page images and featured images in post list .round-div { -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; } Only for featured pages .widget-front .round-div { […]
This snippet replaces the default published date by the last post update’s date in your post metas. add_filter( ‘tc_date_meta’ , ‘display_the_update_date’); function display_the_update_date() { return sprintf( ‘<a href=”%1$s” title=”updated %2$s” rel=”bookmark”><time class=”entry-date” datetime=”%3$s”>%4$s</time></a>’ , esc_url( get_day_link( get_the_time( ‘Y’ ), get_the_time( ‘m’ ), get_the_time( ‘d’ ) ) ), esc_attr( get_the_modified_date(‘F j, […]
Customizr includes some useful filters if you need to customize your category archives titles. Changing the default prefix : “Category Archives :” add_filter(‘tc_category_archive_title’ , ‘my_cat_title’); function my_cat_title($title) { return ‘My archives title for : ‘; } Changing the heading of a specific category’s archives page Note : A […]
The Customizr WordPress theme comes with default texts for navigation at the bottom of single posts and on post lists pages. There are some cases where you might need to change those texts, for example if you use custom posts types. You easily change these without modifying the core […]