• Resolved harun2024

    (@harun2024)


    Is it possible to use conditional logic to display a widget when a certain directory is present in the URL? I have been doing it with this:

    ( strpos( $_SERVER["REQUEST_URI"], "/directory-name/" ) !== false )

    This worked in 4.0.8.

    This method no longer works in 4.0.9.

    This isn’t the first upgrade that disabled this. Is there another method I should use?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mej de Castro

    (@mej)

    Hi @harun2024,

    Thanks for reaching out to our support threads. We’re aware of the conditional logic issue with the Widget Options 4.0.9 version. Our dev team has found a patch for this issue, and we’re currently finalizing the next version release to prevent it from happening again.

    In the meantime, we recommend rolling back to the previous version. We sincerely apologize for the inconvenience caused.

    Kind Regards,
    Mej, Widget Options Team

    Thread Starter harun2024

    (@harun2024)

    Good to know! Thank you!

    Plugin Author Mej de Castro

    (@mej)

    Hi @harun2024,

    We recently released a new version that includes a patch to fix issues with conditional logic. The previous version (4.0.9) had a bug that prevented conditional logic from working correctly.

    Please update to the latest version at your earliest convenience and let us know if the issue is resolved on your end.

    We appreciate your support!

    Kind Regards,
    Mej, Widget Options Team

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.