Function: get_queried_object()

1 post

Recent posts widget : how to display only the posts of the current category ?

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 : […]