elementor / elementor

The most advanced frontend drag & drop page builder. Create high-end, pixel perfect websites at record speeds. Any theme, any page, any design.
https://elementor.com/
GNU General Public License v3.0
6.58k stars 1.42k forks source link

❌ Display Conditions not working using URL and query strings #27815

Closed creative-andrew closed 2 months ago

creative-andrew commented 3 months ago

Prerequisites

Description

Display Conditions not working using URL and query strings

Steps to reproduce

(1) Add a display condition to an element

image

(2) Visit the URL including the query arg: example.com/yourpage/?login=failed

Notice that it won't appear.

Expected behavior

It should show or hide the element

Isolating the problem

Agreement

Daveden2 commented 3 months ago

The display condition reads "From URL", not the current URL. It is checking for the referral URL that the user visited from, not the current URL.

creative-andrew commented 3 months ago

Gotcha. If that is the case, it is not as useful as knowing the current URL.

nicholaszein commented 2 months ago

Hi, @creative-andrew,

Thank you for reaching out! 🙏

⛔ After reviewing your report we concluded this is not a bug caused by Elementor. The feature you're referring to is not yet supported.

We have plans to add more functionality for the Element Display Conditions, but currently it doesn't support a condition for the Current URL.

Thank you for showing interest though!

If you think this should be an Elementor feature, please submit a new 🚀 Feature Request, and we will consider it in the future if there is enough demand (votes) from other users.

Kind regards