Sign inDocsBlogAboutSupportContact
Content

Filter WordPress posts and pages by anything

Every post missing a featured image. Every thin post under 300 words. Everything by a specific author, untouched for years. Find them, act on them.

4 min read May 2026 filter post

Finding specific posts in WordPress is slow

You want every published post missing a featured image so you can fix how they look when shared. WordPress's post list lets you filter by status or author, one at a time. Combining filters means exporting to CSV or writing a custom WP_Query.

For automations, "every month, flag published posts not updated in two years for a content refresh", you need a programmatic filter the plugin gives you for free.

What most people do instead

Scroll the Posts admin listOne filter at a time. No way to combine status + date + image status + category.
Write a custom WP_QueryRequires developer. Every new criterion means a code change.
Export posts to CSV, filter in ExcelStale data. Manual. Can't trigger follow-up actions from the spreadsheet.

A better way: combine filters, loop in macros

Run filter post with any combination, post type, published state, category, tag, author, featured image presence, content length, last updated date. Each match comes with full post details and feeds into a macro's for_each loop.

TrueCommander
Filter post
11 posts match
Getting started guideno image · not updated since 2023
2023 product roundupno image · not updated since 2023
Old integrations overviewno image · not updated since 2023

Shown in advanced mode, where commands start with tp. In easy mode you type the same command without the tp prefix.

Combine with update-post-meta for bulk changes. Filter posts matching a pattern, then for_each apply the same meta update. "Tag every post not updated in two years with review_needed=1" is two macro steps.

How it works

Builds a WP_Query with the filters you pass, returning posts with full details (ID, title, status, author, categories, tags, dates, featured image URL, content excerpt). Default limit 200. Pass -limit=-1 for unbounded.

1
Choose filtersPost type, published state, category, tag, author, image, content length, updated date
2
Combine as many as you needFilters AND together, "posts by author X with no image, not updated before Y"
3
Pipe results into a macroEach matching post becomes a chain iteration for updates, deletes, or notifications
ParameterValue
-typepost, page, or any custom post type slug
-publishedFlag, limit to published posts (omit to include all statuses)
-category / -tagTerm slug
-authorUser ID or username
-no-image / -no-contentFlag, find posts missing a featured image or with empty content
-words-belowPosts under this word count (e.g., -words-below=300)
-updated-beforePosts not updated since this date (e.g., 2024-01-01)
Can be used in

Real example

You have 300 published posts, and dozens are missing a featured image, so they look broken when shared on social. Every quarter you mean to fix them. You never do.

You build a macro: tp filter post -no-image → for_each: update_post_meta with needs_image=1, then email yourself the list of IDs. Schedule monthly.

First of the month, you get an email: "18 posts flagged, missing a featured image." You add images in your next content session. Your shares stop looking broken.

Goes further with TrueCommander

Frequently asked questions

Ready?

Your content catalog as a query.

This is one of 91 commands. All included with every license.

Cookies. The short version.

Essential cookies keep the cart and theme working. Analytics only fire if you say yes. Read our policy.