FacetWP Support

FacetWP is an advanced filtering plugin for WordPress. It lets you build smart filters based on attributes of your content (categories, tags, metadata, publish date…). By default it applies only to the main query on the page, but it can also be applied to custom queries (more information). The code below will let you use […]

Meta Queries

You can query for posts based on their metadata using a Meta Query. For instance, WordPress stores the featured image using the _thumbnail_id meta key. To display the most recent posts that have a featured image, use: You can also sort resorts by meta keys. See the tutorial on displaying popular posts by share count […]