Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author anmari

    (@anmari)

    Have you considered whether the problem is somewhere else maybe.
    Plugin basically catches the widget output and returns it. Wp swops the resulting content for the shortcode.
    If you seeing the output then this plugin has finished its work.

    Perhaps something is reapplying filters causing an infinite loop ?

    Do normal debugging – https://webdesign.anmari.com/2932/debugging-a-possible-clash-between-plugins-andor-a-theme/

    what happens with other widgets and in default theme ?

    Thread Starter MERicardo

    (@mericardo)

    Thanks, anmari. I will do a debugging and check things out. I am doing a lot of manual mods to my theme so I will check the code, too. The plugin I am using in the widget is working fine in both the sidebar and footer area which is what prompted me to ask. Your plugin is great, by the way. I can think of many great uses. I will post back by Friday.

    Plugin Author anmari

    (@anmari)

    All fine here: https://test.icalevents.com/other-testing/do_widget-shortcode-demo/

    Sounds like it might be some kind of nested infinite loop thing on your site..

    Do your widgets at any stage have any content that might include a page/post with the do_widget shortcode ? – so that it calls itself again ?

    Or do the widgets do anything where they don’t expect to be used in a page (not a sidebar) ? Does it do it with other widgets or just your special one?

    Thread Starter MERicardo

    (@mericardo)

    Hi anmari, hope all is well. After scouring my site I finally found the problem. You plugin works GREAT. It was another plugin that I had updated which was previously working well, but it seems that the update broke it. Like I said, your plugin works super. I thank you for your time and I appreciate your assistance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin displays widget multiple times’ is closed to new replies.