No Sub-Category Posts in Loops
Once activated, only posts from the current category are displayed in your loop (no posts from sub cats). That’s all it does. No options. If you find you need options, let me know and I’ll build them into it.
Consider an alternative
No Sub-Category Posts in Loops shows warning signs in 2026 — compare the alternatives below before installing. It runs on 90+ sites, is rated 5/5 and was last updated 11 years ago, and scores 32/100 on our health check.
- Small user base (90+ active installs)
- Very few reviews so far
- No update in 11 years
- Only tested up to WordPress 4.4 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where No Sub-Category Posts in Lo… stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| categories | >100 |
| cats | >100 |
| loop | >100 |
| posts | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 3 reviews
About No Sub-Category Posts in Loops
From the official readme · v0.4Description
Once activated, only posts from the current category are displayed in your loop (no posts from sub cats).
That’s all it does. No options. If you find you need options, let me know and I’ll build them into it.
As of 0.4 I remove the filter after the main query is built so that it doesn’t interfere with widgets.
If you have a custom query or call wp_query on a category archive template, you’ll need to add and remove the filters before and after your query. Below is an example of how to do this if you use wp_query. Again, this is not necessary unless you have modified queries in a template file.
add_filter( 'posts_where', 'ft_nscp_mod_where' );
query_posts( array( 'your-custom' => 'args' ) );
remove_filter( 'posts_where', 'ft_nscp_mod_where' );
Its important that you remove what you add.
Installation
- Upload the directory “ft-no-subcats-in-loop” to the
/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Changelog
Fixed bug introduced with WordPress 3.1. Added inline docs. Removed filter after main query is built.
- 0.5 – Fixed bug that broke plugin in 3.1. Props @ollybenson (http://gln.to/oshcw)
- 0.4 – Fixed bug introduced with WordPress 3.1. Added inline docs. Removed filter after main query is built.
- 0.3 – Modified directory structure so that plugin may be added and activated from wp-admin
- 0.2 – Forgot to define a global, preventing posts from appearing that should. (thanks to http://redfootwebdesign.com for the heads up!)
- 0.1 – Original release.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best No Sub-Category Posts in Loops alternatives
All categories plugins →FAQ
No Sub-Category Posts in Loops: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is No Sub-Category Posts in Loops free?
Yes. No Sub-Category Posts in Loops is free to download and use from the official WordPress.org plugin directory.
Is No Sub-Category Posts in Loops safe to use in 2026?
No Sub-Category Posts in Loops shows warning signs in 2026 — compare the alternatives below before installing. It runs on 90+ sites, is rated 5/5 and was last updated 11 years ago, and scores 32/100 on our health check.
How many websites use No Sub-Category Posts in Loops?
No Sub-Category Posts in Loops is active on 90+ WordPress websites and has been downloaded 6,545 times since it launched in January 2009. It was downloaded 141 times in the last 30 days.
Does No Sub-Category Posts in Loops work with WordPress 7.1?
No Sub-Category Posts in Loops is officially tested up to WordPress 4.4.34, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was No Sub-Category Posts in Loops last updated?
The latest version, 0.4, was released on November 19, 2015 (11 years ago).
Who makes No Sub-Category Posts in Loops?
No Sub-Category Posts in Loops is developed and maintained by Glenn Ansley.
What are the best alternatives to No Sub-Category Posts in Loops?
The most popular alternatives to No Sub-Category Posts in Loops are List category posts (70K+ installs), Media Library Assistant (70K+ installs) and PublishPress Taxonomies (40K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
