Title: [Plugin: Display Widgets] Will the code still be processed?
Last modified: August 20, 2016

---

# [Plugin: Display Widgets] Will the code still be processed?

 *  Resolved [SocialBlogsite](https://wordpress.org/support/users/socialblogsite/)
 * (@socialblogsite)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-display-widgets-will-the-code-still-be-processed/)
 * I read somewhere Widget Logic doesn’t prevent the widget from being executed,
   but just removes it from the “display” list, so if I add 5 same widgets with 
   different settings, one for each page, all 5 are executed every time, just one
   shown.
 * Does this widget works the same way?
 * [http://wordpress.org/extend/plugins/display-widgets/](http://wordpress.org/extend/plugins/display-widgets/)

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

 *  [ridwan developer](https://wordpress.org/support/users/ridwan-developer/)
 * (@ridwan-developer)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-display-widgets-will-the-code-still-be-processed/#post-2598517)
 * hello socialblogsite
 * thank you for the question. i’m the plugin developer
 * we have updated the widget logic visual plugin with some fixes. you can try it.
 * if you find any bug, please report us 🙂
 * thanks
 * Ridwan
 *  Thread Starter [SocialBlogsite](https://wordpress.org/support/users/socialblogsite/)
 * (@socialblogsite)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-display-widgets-will-the-code-still-be-processed/#post-2598525)
 * Was it updated to solve other people’s issues or to prevent to execute the widgets
   as I asked in this topic?
 *  Plugin Contributor [Steph Wells](https://wordpress.org/support/users/sswells/)
 * (@sswells)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-display-widgets-will-the-code-still-be-processed/#post-2598547)
 * Display Widgets prevents to widgets from being loaded at all.
 *  [alanft](https://wordpress.org/support/users/alanft/)
 * (@alanft)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-display-widgets-will-the-code-still-be-processed/#post-2598550)
 * with widget logic, if you have 1 widget showing on a page, the code to display
   it is executed once. widgets not shown don’t get executed.
 * the code to work out if the widget is to be displayed gets executed, but not 
   the widget code.
 * hope that helps
 *  Thread Starter [SocialBlogsite](https://wordpress.org/support/users/socialblogsite/)
 * (@socialblogsite)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-display-widgets-will-the-code-still-be-processed/#post-2598557)
 * alanft:
    Aghh!! you just brought me doubts to this question I though was understood
   and the answer i though was enough!
 * With your last sentence now I need you to clarify:
 * Let’s say I have a widget that reads the news somewhere, taking 10 seconds for
   that, and then sends me an email and FINALLY it prints the news on the page.
   
   Will excluding that widget with a conditional in widgetLogic prevent the whole
   thing to be executed? or just the “print/render” part?
 * Sorry for re-asking, but your comment after the clear answer from sswells makes
   me think you could be trying to correct her.
 * Thanks.
 *  [alanft](https://wordpress.org/support/users/alanft/)
 * (@alanft)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-display-widgets-will-the-code-still-be-processed/#post-2598558)
 * You would not get the mail if you put ‘false’ in such a widget’s widget logic
   field

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

The topic ‘[Plugin: Display Widgets] Will the code still be processed?’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/display-widgets_f8f8f8.svg)
 * [Display Widgets](https://wordpress.org/plugins/display-widgets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/display-widgets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/display-widgets/)
 * [Active Topics](https://wordpress.org/support/plugin/display-widgets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/display-widgets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/display-widgets/reviews/)

## Tags

 * [display](https://wordpress.org/support/topic-tag/display/)
 * [execution](https://wordpress.org/support/topic-tag/execution/)
 * [process](https://wordpress.org/support/topic-tag/process/)
 * [render](https://wordpress.org/support/topic-tag/render/)

 * 6 replies
 * 4 participants
 * Last reply from: [alanft](https://wordpress.org/support/users/alanft/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-display-widgets-will-the-code-still-be-processed/#post-2598558)
 * Status: resolved