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 […]
Function: is_category()
By default, the slider can be displayed before posts or pages in the Customizr theme but you might want to display a slider for a specific category (or for all). The following snippet allows you to do so in two simple steps 1 First, create a slider and grab its […]
Howdy Customizr developer, The following is a quick snippet that will expand (meaning show the full content instead of the excerpt) the last published post of a category list. As usual, I will try to show you the safest way to code this with the use of a child theme […]
If you want to display the recent posts of the current category archive, there is a simple solution. You have to filter the query of the WordPress recent post widget. (one of the built-in widgets). The filter takes one parameter : the query arguments array. Here is the workflow : […]