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

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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

    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

    (@sswells)

    Display Widgets prevents to widgets from being loaded at all.

    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

    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.

    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.