Like often in WordPress, the simpliest way to alter the core is to…dive in it and look for hooks! In the file wp-includes/default-widgets.php there is a filter hook called ‘widget_title’. That’s the one we need. It requires 3 parameters to work : the title we want to return, the instance […]
Language: php
111 posts
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 : […]
Why should you create a child theme? Creating a child theme is the best way to start using Customizr (and any WordPress theme). There is one major reason for that : you won’t loose any of your customizations when you’ll update the parent theme!. If you edit directly the style.css […]