Shortcode in v2 elements

Hi guys,

In the earlier version of the v2 buttons, i could add shortcodes to create labels/urls without issues (which is very useful on membership sites or even e-commerce sites where the labels and URL change automatically depending on the login status).

I recently updated to version the latest v3 release and i see that it doesn’t work anymore.

Is there anyway i can make the shortcode work for v2 buttons? specially the label and URL elements which are the ones i use the most.

It’s really a shame that they don’t work anymore, because they used to work flawlessly before!

Hey @elpanda13,

I tested the Button element just now and I see that it outputs the shortcode as text in the builder but the shortcode works in the frontend both for the label and URL. Is that the same on your end?

I’ll post the builder preview problem in our issue tracker so it will be queued for investigation by our developers.

Thanks.

in our end it doesn’t work at all, weirdly. i’m using a shortcode from “Active Member” and it works if i add it into a text or raw content but not into the button as label or URL.

which was something that did work before.

I’ll run some tests to see if there is maybe a conflict with another plugin or something like that and get back to you

We’ve now also added this to our issue tracker.

Thanks,

thanks. for now i just created a small text element and hid it from view. in there i added all the shortcode and then just copied its value with JS and modified it in the DOM directly to make it work. it’s a dirty hack for sure but i really hope this gets fixed, it sucks that it worked before and it doesn’t now :frowning:

You are most welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.