Title: No Sub-Category Posts in Loops
Author: Glenn Ansley
Published: <strong>জানুৱাৰী 30, 2009</strong>
Last modified: নৱেম্বৰ 19, 2015

---

প্লাগিনৰ সন্ধান কৰক

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/no-sub-category-posts-in-loop.svg)

# No Sub-Category Posts in Loops

 [Glenn Ansley](https://profiles.wordpress.org/blepoxp/)-ৰ দ্বাৰা

[ডাউনল’ড কৰক](https://downloads.wordpress.org/plugin/no-sub-category-posts-in-loop.zip)

 * [বিশদ বিৱৰণ](https://as.wordpress.org/plugins/no-sub-category-posts-in-loop/#description)
 * [পৰ্য্যালোচনা](https://as.wordpress.org/plugins/no-sub-category-posts-in-loop/#reviews)
 *  [ইনষ্টলেশ্যন](https://as.wordpress.org/plugins/no-sub-category-posts-in-loop/#installation)
 * [বিকাশ](https://as.wordpress.org/plugins/no-sub-category-posts-in-loop/#developers)

 [সাহায্য](https://wordpress.org/support/plugin/no-sub-category-posts-in-loop/)

## বৰ্ণনা

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.

## ইনষ্টলেশ্যন

 1. Upload the directory “ft-no-subcats-in-loop” to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## সঘনাই উত্থাপিত প্ৰশ্ন

  Where can I find help or make suggestions?

http://fullthrottledevelopment.com/no-sub-category-posts-in-loop

## পৰ্য্যালোচনা

এই প্লাগিনৰ বাবে কোনো পৰ্য্যালোচনা নাই।

## অৱদানকাৰী আৰু বিকাশকাৰীসকল

“No Sub-Category Posts in Loops” হৈছে মুক্ত উৎসৰ ছফ্টৱেৰ। এইসকল লোকে এই প্লাগিনত
অৱদান আগবঢ়াইছে।

অৱদানকাৰীসকল

 *   [ Glenn Ansley ](https://profiles.wordpress.org/blepoxp/)
 *   [ Michael Torbert ](https://profiles.wordpress.org/hallsofmontezuma/)

[আপোনাৰ ভাষাত “No Sub-Category Posts in Loops” অনুবাদ কৰক।](https://translate.wordpress.org/projects/wp-plugins/no-sub-category-posts-in-loop)

### বিকাশৰ প্ৰতি আগ্ৰহী?

[ক’ড ব্ৰাউজ কৰক](https://plugins.trac.wordpress.org/browser/no-sub-category-posts-in-loop/),
[SVN ৰিপজিটৰী](https://plugins.svn.wordpress.org/no-sub-category-posts-in-loop/)
চাওক নাইবা [RSS](https://plugins.trac.wordpress.org/log/no-sub-category-posts-in-loop/?limit=100&mode=stop_on_copy&format=rss)-
দ্বাৰা [বিকাশৰ পঞ্জী](https://plugins.trac.wordpress.org/log/no-sub-category-posts-in-loop/)
ছাবস্ক্ৰাইব কৰক।

## সলনি-পঞ্জী

 * 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.

## মেটা

 *  **0.4** সংস্কৰণ
 *  **11 বছৰ আগত** শেষবাৰ আপডে’ট হৈছিল
 *  সক্ৰিয় ইনষ্টলেশ্যন **90+**
 *  WordPress-ৰ সংস্কৰণ ** 3.1 বা তাতকৈ ওপৰৰ **
 *  ইমানলৈকে পৰীক্ষা কৰা হৈছে **4.4.34**
 *  ভাষা
 * [English (US)](https://wordpress.org/plugins/no-sub-category-posts-in-loop/)
 * [categories](https://as.wordpress.org/plugins/tags/categories/)[cats](https://as.wordpress.org/plugins/tags/cats/)
   [loop](https://as.wordpress.org/plugins/tags/loop/)[posts](https://as.wordpress.org/plugins/tags/posts/)
 *  টেগবোৰ
 *  [উচ্চখাপৰ ভিউ](https://as.wordpress.org/plugins/no-sub-category-posts-in-loop/advanced/)

## ৰে’টিংবোৰ

 5টাৰ ভিতৰত 5টা তৰা।

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/no-sub-category-posts-in-loop/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/no-sub-category-posts-in-loop/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/no-sub-category-posts-in-loop/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/no-sub-category-posts-in-loop/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/no-sub-category-posts-in-loop/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/no-sub-category-posts-in-loop/reviews/#new-post)

[সকলো পৰ্য্যালোচনা চাওক](https://wordpress.org/support/plugin/no-sub-category-posts-in-loop/reviews/)

## অৱদানকাৰীসকল

 *   [ Glenn Ansley ](https://profiles.wordpress.org/blepoxp/)
 *   [ Michael Torbert ](https://profiles.wordpress.org/hallsofmontezuma/)

## সাহায্য

কিবা ক’বলগীয়া আছে? সহায় লাগে?

 [সাহায্যৰ ফ’ৰাম চাওক](https://wordpress.org/support/plugin/no-sub-category-posts-in-loop/)

## দান কৰক

আপুনি এই প্লাগিনৰ উন্নতিৰ প্ৰতি সাহায্য আগবঢ়াব বিচাৰেনে?

 [ এই প্লাগিনক অনুদান দিয়ক ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtorbert%40gmail%2ecom&item_name=All%20In%20One%20SEO%20Pack&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8)