PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Cats
  4. No Sub-Category Posts in Loops
No Sub-Category Posts in Loops icon

No Sub-Category Posts in Loops

Once activated, only posts from the current category are displayed in your loop (no posts from sub cats).

By Glenn Ansley·Cats·Free
5(3 reviews)
·100 active installs·Updated 10 years ago
DownloadVisit HomepageCompare

As of April 2026, No Sub-Category Posts in Loops is a WordPress cats plugin with 100 active installations and a 5/5 rating from 3 reviews. It has been downloaded 6.0K+ times in total. Requires WordPress 3.1+ and PHP false+. Available on WordPress.org since 2009. Last updated 10 years ago — may have compatibility concerns. Top alternative: catnip.

5/53 reviews
100active installs
6.0K+total downloads
17 yearssince 2009

Overview

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…

Read full description on WordPress.org

Ratings & Reviews

53 reviews
5 ★
3
4 ★
0
3 ★
0
2 ★
0
1 ★
0

Compatibility

WordPress3.1+ requiredTested up to 4.4.34
PHPfalse+ required

Top Alternatives to No Sub-Category Posts in Loops

catnip icon
catnip
0100 installsUpdated 13 years ago
ViewCompare
CTL Playful Kitty Lite icon
CTL Playful Kitty Lite
010 installsUpdated 9 years ago
ViewCompare
View all cats plugins →

Frequently Asked Questions

Changelog

  • 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 – Or…
View full changelog on WordPress.org

Contributors

Michael TorbertMichael Torbert
Plugin Info
Version
0.4
Last Updated
Nov 19, 2015
WP Requires
3.1+
Tested Up To
4.4.34
PHP Requires
false+
Active Installs
100
Downloads
6.0K+
Added
Jan 30, 2009
Business
Free

Tags

catslooppostscategories

Developer

G
Glenn Ansley
7 plugins0.0M+ total installs
View all plugins →

Quick Compare

No Sub-Category Posts in Loops vs catnip→No Sub-Category Posts in Loops vs CTL Playful Kitty Lite→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.