I have a few conditionals in a CPT which uses Elementor as template. I am using the shortcode widget in elementor to add the following shortcode + text
[wpml-string context="wpv-views"]
To secure your spot at the event, simply click on the link provided and complete the registration process. Once your registration is confirmed, we will send you all the necessary information for the event.
[/wpml-string]
[wpv-conditional if="( $(wpcf-registration-status) eq 'closed' )"]<h3>This event is currently closed for registration</h3>At the moment, registration for this event is not available. However, you can sign up for our notification list by clicking on the blue button below. Once registration opens, we will inform you promptly.<br />[gravityform id="5" title="false" description="false" ajax="true"][/wpv-conditional]
[wpv-conditional if="( $(wpcf-registration-status) eq 'sold-out' )"]<h3>Sorry! This event has sold out</h3>[/wpv-conditional]
[wpv-conditional if="( $(wpcf-registration-status) eq 'waiting-list' )"]<h3>Join the waiting list</h3>[/wpv-conditional]
</span>
However, the part between the <h3></h3> tag breaks when it comes to the URL. Instead of the fields from the database, I am getting the full shortcode in the URL instead breaking the link. Everything else works like a charm.
Bro... I really don't know why i didn't do this in the first place. Ive done it dozens of times lol. I'm loosing my mind.
Thanks a million!
triggeru571 confirmed that the issue was resolved on 2024-03-19 04:12:00.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.