Is there a way to add an ID to the button shortcodes for the Salient theme? I\'m wanting to add ID\'s for the buttons so they appear in the code. I need to add ID\'s so I can run a jQuery command to call the Stripe payment screen to open. I could use Stripes buttons but I like the Salient buttons much better.
I could add the ID\'s if I could directly edit the html but when using shortcodes I\'m not sure how to add it.
You will likely have to use the Nectar button html instead of the shortcode and make the necessary amendments to the code . After that you can paste it using RAW HTML page element.
I think that you should modify the shortcode to add the ID and extra Class - in the way you can do this on many more elements (like rows). From a UI/UX perspective, this is an important feature - as we need some unique IDs in order to track events.
Hi,
Is there a way to add an ID to the button shortcodes for the Salient theme? I\'m wanting to add ID\'s for the buttons so they appear in the code. I need to add ID\'s so I can run a jQuery command to call the Stripe payment screen to open. I could use Stripes buttons but I like the Salient buttons much better.
I could add the ID\'s if I could directly edit the html but when using shortcodes I\'m not sure how to add it.
You can see an example of the stripe button along side the Salient buttons here: http://www.thefalloflogic.com/join-the-friends-of-...
I would like to only use the Salient buttons if possible.
Thank you,
John
Hey!
You will likely have to use the Nectar button html instead of the shortcode and make the necessary amendments to the code . After that you can paste it using RAW HTML page element.
Thanks
ThemeNectar Support Team
I think that you should modify the shortcode to add the ID and extra Class - in the way you can do this on many more elements (like rows). From a UI/UX perspective, this is an important feature - as we need some unique IDs in order to track events.
I agree with this 100%. This isn't 2010. Folks need element IDs to track analytics events.