Article 3

Both posts widgets and portfolio widgets come with a robust query control that lets you select specific posts to show in the widget. But sometimes, you need more control over the query. For those situations, there is the custom query filter, which exposes the WP_Query (opens new window)object and allows you to customize the query in any way you want. Hook Details