Support » Plugin: Widget Logic » [Plugin: Widget Logic] Returns

  • I have a page called:


    To make your plugin function properly I had to modify the code.

    $wl_value=(stristr($wl_value, "return"))?$wl_value:"return (".$wl_value.");";
    changed to:

    $wl_value=(stristr($wl_value, "return "))?$wl_value:"return (".$wl_value.");";

    Note the extra space after “return

Viewing 1 replies (of 1 total)
  • Plugin Contributor alanft


    this is something i might add to the FAQ actually.

    you can workround this without changing the plugin code, by changing your WL to explictly include return and end with a ‘;’ so if your code is


    change it to

    return is_page(‘returns’);


Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Widget Logic] Returns’ is closed to new replies.