Title: Widget Logic &amp; EDD
Last modified: October 26, 2018

---

# Widget Logic & EDD

 *  [chaten](https://wordpress.org/support/users/chaten/)
 * (@chaten)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/widget-logic-edd/)
 * Hello,
 * I’m trying to use widget logic with EDD but can’t seem to find the right ID for
   EDD post types.
 * What I want to do is show a widget only on EDD pages/posts but nothing I do is
   working.
 * Any ideas how to correctly identitfy a EDD page/post?
 * Thanks

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

 *  [Daniel](https://wordpress.org/support/users/dgoldak/)
 * (@dgoldak)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/widget-logic-edd/#post-10826765)
 * The EDD plugin author and development team no longer provide support here. The
   members of the EDD community are encouraged to continue utilizing this area to
   ask questions and support one another.
 * You’re also welcome to review our comprehensive documentation for answers to 
   common issues and setup instructions.
 *  Thread Starter [chaten](https://wordpress.org/support/users/chaten/)
 * (@chaten)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/widget-logic-edd/#post-10826786)
 * Thanks.
 * I’ve figured out how to get widgets on EDD pages using `( get_post_type() == '
   download' )`
 * But I can’t fugure out how to get widgets “not” to display on EDD pages.
 * I’ve tried every conditional tag possible incombination with “!”, but with no
   joy.
 * Any tips from anyone would be appreciated.
 *  [Pratik Jain](https://wordpress.org/support/users/pratik-jain/)
 * (@pratik-jain)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/widget-logic-edd/#post-10878288)
 * Hi [@chaten](https://wordpress.org/support/users/chaten/),
 * I have read your both reply and I have some confusion in this.
 * In first response, you want
 * > What I want to do is show a widget only on EDD pages/posts but nothing I do
   > is working.
 * In second response, you want
 * > But I can’t fugure out how to get widgets “not” to display on EDD pages.
 * Can you please clarify what exactly you want to achieve?
 *  Thread Starter [chaten](https://wordpress.org/support/users/chaten/)
 * (@chaten)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/widget-logic-edd/#post-10879211)
 * Hello Pratik,
 * Thanks for the response. I managed to figure this out.
 * I wanted certain widgets (eg widget 1) to display on EDD pages.
    In addition 
   I also wanted certain widgets (eg widget 2) to display everywhere except for 
   EDD pages.
 * Unfortunately nothing i tried worked so I eneded up using a different widget 
   logic plugin which acommplished teh above via selection instead of manually written
   logic codes.
 *  [Pratik Jain](https://wordpress.org/support/users/pratik-jain/)
 * (@pratik-jain)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/widget-logic-edd/#post-10882463)
 * Hi [@chaten](https://wordpress.org/support/users/chaten/),
 * Glad to know that your problem has been solved.
 * Just for reference, If you are using ‘JetPack’ plugin then you can also manage
   this.
 * JetPack has also widget visibility option same as other ‘widget logic’ plugins
   so I think you do not need any other plugin for this.

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

The topic ‘Widget Logic & EDD’ is closed to new replies.

 * ![](https://ps.w.org/easy-digital-downloads/assets/icon.svg?rev=3455837)
 * [Easy Digital Downloads – eCommerce Payments and Subscriptions made easy](https://wordpress.org/plugins/easy-digital-downloads/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-digital-downloads/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-digital-downloads/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-digital-downloads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-digital-downloads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-digital-downloads/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Pratik Jain](https://wordpress.org/support/users/pratik-jain/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/widget-logic-edd/#post-10882463)
 * Status: not resolved