Title: [Plugin: Dynamic Widgets] Bug with custom post types
Last modified: August 19, 2016

---

# [Plugin: Dynamic Widgets] Bug with custom post types

 *  [mamouneyya](https://wordpress.org/support/users/mamouneyya/)
 * (@mamouneyya)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-dynamic-widgets-bug-with-custom-post-types/)
 * I need dynamic widgets for different custom post types. However, the plugin doesn’t
   detect my custom post types correctly.
 * I currently have two custom post types. The first is News and the second is Schools.
   I want to show some widgets only in Schools type posts. Unfortunately, the plugin
   seems to get confused when showing the configuration in the admin page. It shows
   the following:
    [http://grab.by/6UA1](http://grab.by/6UA1) Note: although it 
   says ‘Schools’ in the first part, it shows articles from ‘News’ post type in 
   the exclusion list. Everytime I choose Yes for schools type and save, the plugin
   returns to this situation again. And what is happening is that it’s actually 
   showing the widget in both Schools posts and News posts.

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

 *  Plugin Contributor [Qurl](https://wordpress.org/support/users/qurl/)
 * (@qurl)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-dynamic-widgets-bug-with-custom-post-types/#post-1725053)
 * Thanks for the bugreport. The screenshot is very helpfull. I’m going to look 
   into this.
 *  Thread Starter [mamouneyya](https://wordpress.org/support/users/mamouneyya/)
 * (@mamouneyya)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-dynamic-widgets-bug-with-custom-post-types/#post-1725055)
 * By the way, I’ve just tried the latest development version in your site (r300719),
   but with no hope. The same issue still happens.
 *  Plugin Contributor [Qurl](https://wordpress.org/support/users/qurl/)
 * (@qurl)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-dynamic-widgets-bug-with-custom-post-types/#post-1725057)
 * Yeah, I haven’t done any work lately on that part. It would be more a surprise
   if it did work correctly with that version. Thanks for checking anyway! 🙂
 *  Plugin Contributor [Qurl](https://wordpress.org/support/users/qurl/)
 * (@qurl)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-dynamic-widgets-bug-with-custom-post-types/#post-1725067)
 * Hi again,
 * I’ve fixed the bug in development version [r301153](http://www.qurl.nl/wp-content/uploads/dynamic-widgets/dynamic-widgets-r301153.zip).

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

The topic ‘[Plugin: Dynamic Widgets] Bug with custom post types’ 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
 * 2 participants
 * Last reply from: [Qurl](https://wordpress.org/support/users/qurl/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-dynamic-widgets-bug-with-custom-post-types/#post-1725067)
 * Status: not resolved