Title: [Plugin: Dynamic Widgets] Except Page(s) not working
Last modified: August 20, 2016

---

# [Plugin: Dynamic Widgets] Except Page(s) not working

 *  Resolved [GavinC](https://wordpress.org/support/users/gavinc/)
 * (@gavinc)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-dynamic-widgets-except-pages-not-working/)
 * I took a look through the forum here, and while it seems some people have run
   into this problem, I can’t seem to find a fix that works for me. Basically:
 * I have a widget that (for testing purposes) I’m trying to display on only one
   page. I can make it show on all pages, or no pages, but the “Except page(s)” 
   rules don’t seem to apply ever.
 * I’ve tried:
 * 1. Only setting the Except Page rule once from the static state.
    2. From the
   static state, setting everything to “no”, then going back and changing the Except
   Page rule. 3. Setting wp_reset_query() before my dynamic sidebar call (the site
   does use a lot of custom queries).
 * Any help would be great!
 * [http://wordpress.org/extend/plugins/dynamic-widgets/](http://wordpress.org/extend/plugins/dynamic-widgets/)

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

 *  Thread Starter [GavinC](https://wordpress.org/support/users/gavinc/)
 * (@gavinc)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-dynamic-widgets-except-pages-not-working/#post-2996858)
 * Ok, for the record, I immediately did some more poking around and found the “
   step by step tutorial” post, which provided me the answer to use “old method”
   in the advanced settings. Now it works 🙂
 * Just out of curiosity, why does that work? Obviously something to do with the
   way I’ve constructed my theme, but any insight would be great.
 * Otherwise, cool plugin, thanks!
 *  Plugin Contributor [Qurl](https://wordpress.org/support/users/qurl/)
 * (@qurl)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-dynamic-widgets-except-pages-not-working/#post-2997066)
 * Hi GavinC,
    Great you found the solution already! 🙂
 * The problem in FILTER method is a possible ‘confusion’ between the theme and 
   DW. Most of the time it happens when your loading more then one page or other
   type (post) into one. DW does not know anymore what to follow. It starts with
   the detection process in `wp_head()` and is continued in the `sidebars_widgets`
   filter. That’s most of the time the place where it goes wrong. When it suddenly
   detects something else, it has no clue anymore what to do. A `wp_reset_query()`
   does the trick sometimes. But it has to be done before a sidebar is loaded.
 * The OLD method is processing everything in `wp_head()`, that’s why it works in
   this case. Disadvantage of this method is it can leave you behind with a visual
   empty sidebar.
 *  [zYx](https://wordpress.org/support/users/zyx/)
 * (@zyx)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-dynamic-widgets-except-pages-not-working/#post-2997067)
 * Can I use this plugin to display the latest posts in one of my widgets on my 
   home page?
 *  Plugin Contributor [Qurl](https://wordpress.org/support/users/qurl/)
 * (@qurl)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-dynamic-widgets-except-pages-not-working/#post-2997076)
 * Dynamic Widgets does not alter content within widgets. It only shows or hides
   widgets. For a full overview of what Dynamic Widgets can do for you, visit the
   [plugin page](http://wordpress.org/extend/plugins/dynamic-widgets/).

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

The topic ‘[Plugin: Dynamic Widgets] Except Page(s) not working’ is closed to new
replies.

 * ![](https://ps.w.org/dynamic-widgets/assets/icon-256x256.png?rev=2968917)
 * [Dynamic Widgets](https://wordpress.org/plugins/dynamic-widgets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dynamic-widgets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dynamic-widgets/)
 * [Active Topics](https://wordpress.org/support/plugin/dynamic-widgets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dynamic-widgets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dynamic-widgets/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Qurl](https://wordpress.org/support/users/qurl/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-dynamic-widgets-except-pages-not-working/#post-2997076)
 * Status: resolved