Plugin yìí kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress. Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

No Sub-Category Posts in Loops

Àpèjúwe

Once activated, only posts from the current category are displayed in your loop (no posts from sub cats).
ThatÌtumọ̀ Yorùbá: ’s all it does. No options. If you find you need options, let me know and IÌtumọ̀ Yorùbá: ’ll build them into it.

As of 0.4 I remove the filter after the main query is built so that it doesnÌtumọ̀ Yorùbá: ’t interfere with widgets.
If you have a custom query or call wp_query on a category archive template, youÌtumọ̀ Yorùbá: ’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.

Ìgbéwọlẹ̀

  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

FAQ

Where can I find help or make suggestions?

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

Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

Àwọn Olùkópa & Olùgbéejáde

“No Sub-Category Posts in Loops” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

Túmọ̀ “No Sub-Category Posts in Loops” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

  • 0.5 Ìtumọ̀ Yorùbá: – Fixed bug that broke plugin in 3.1. Props @ollybenson (http://gln.to/oshcw)
  • 0.4 Ìtumọ̀ Yorùbá: – Fixed bug introduced with WordPress 3.1. Added inline docs. Removed filter after main query is built.
  • 0.3 Ìtumọ̀ Yorùbá: – Modified directory structure so that plugin may be added and activated from wp-admin
  • 0.2 Ìtumọ̀ Yorùbá: – Forgot to define a global, preventing posts from appearing that should. (thanks to http://redfootwebdesign.com for the heads up!)
  • 0.1 Ìtumọ̀ Yorùbá: – Original release.