Title: Not working before loop
Last modified: August 20, 2016

---

# Not working before loop

 *  Resolved [volot](https://wordpress.org/support/users/volot/)
 * (@volot)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/not-working-before-loop/)
 * Hi.
    Anybody know why if i use php function of this plugin before loop, page 
   load posts without filtering? If i put it after loop ewerything working well!
 * [http://wordpress.org/extend/plugins/cat-tag-filter-widget/](http://wordpress.org/extend/plugins/cat-tag-filter-widget/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [volot](https://wordpress.org/support/users/volot/)
 * (@volot)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/not-working-before-loop/#post-3209499)
 * I found a solution. I put **query_posts($query_string);** after the_widget();
   an it solved my problem.
    Thanks for great plugin
 *  Plugin Author [ajayver](https://wordpress.org/support/users/ajayver/)
 * (@ajayver)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/not-working-before-loop/#post-3209555)
 * Do you have this problem with the latest version of the plugin?
 *  Thread Starter [volot](https://wordpress.org/support/users/volot/)
 * (@volot)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/not-working-before-loop/#post-3209561)
 * With latest version don’t work permalinks(((
    I don’t know why. What you mean
   about flush rules, go to the settings->permalink and click save setting? Or there
   is other way?
 *  Plugin Author [ajayver](https://wordpress.org/support/users/ajayver/)
 * (@ajayver)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/not-working-before-loop/#post-3209563)
 * No, that’s the only way and it should work. What do you mean by “don’t work permalinks”?
   Can you tell what links are generated?
 *  Thread Starter [volot](https://wordpress.org/support/users/volot/)
 * (@volot)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/not-working-before-loop/#post-3209564)
 * Links generated correctly, example if i use plugin in category [http://site.ru/games](http://site.ru/games),
   it generate [http://site.ru/games/tag/3dgames](http://site.ru/games/tag/3dgames)
   with 404 error. Maybe conflict with WordPress SEO yoast plugin?
 *  Plugin Author [ajayver](https://wordpress.org/support/users/ajayver/)
 * (@ajayver)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/not-working-before-loop/#post-3209565)
 * but it should be [http://site.ru/](http://site.ru/)**category/**games and [http://site.ru/](http://site.ru/)**
   category/**games/tag/3dgames
    What is your category base in permalink settings?
 *  Thread Starter [volot](https://wordpress.org/support/users/volot/)
 * (@volot)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/not-working-before-loop/#post-3209566)
 * I have /%category%/%postname%.html base. But in wordpress seo i check “Remove
   category from URL”. I can’t uncheck this. Dont’t worry, i use 0.8.5 of your plugin
   and it works like a charm.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Not working before loop’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cat-tag-filter-widget.svg)
 * [Cat + Tag Filter](https://wordpress.org/plugins/cat-tag-filter-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cat-tag-filter-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cat-tag-filter-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/cat-tag-filter-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cat-tag-filter-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cat-tag-filter-widget/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [volot](https://wordpress.org/support/users/volot/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/not-working-before-loop/#post-3209566)
 * Status: resolved