Display Widgets
[resolved] Will the code still be processed? (7 posts)

  1. SocialBlogsite
    Posted 4 years ago #

    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?


  2. ridwan developer
    Posted 4 years ago #

    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 :)



  3. SocialBlogsite
    Posted 4 years ago #

    Was it updated to solve other people's issues or to prevent to execute the widgets as I asked in this topic?

  4. Steph Wells
    Plugin Author

    Posted 4 years ago #

    Display Widgets prevents to widgets from being loaded at all.

  5. alanft
    Posted 4 years ago #

    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

  6. SocialBlogsite
    Posted 4 years ago #

    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.


  7. alanft
    Posted 4 years ago #

    You would not get the mail if you put 'false' in such a widget's widget logic field

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Display Widgets
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic