Title: Shortcode in button
Last modified: February 7, 2021

---

# Shortcode in button

 *  Resolved [arutha176](https://wordpress.org/support/users/arutha176/)
 * (@arutha176)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/shortcode-in-button/)
 * Hello!
 * I need a button on the footer to activate a banner for “change your options” 
   in consent. I do have the shortcode for it, and I’m using “ultimate shortcodes”.
   But I’m quite unhappy with the styling and can’t find a way to change it.
    Then
   I remembered that you have a very nice button widget in the bundle and tried 
   it. But when I tried it, it would not work with the shortcode. The button would
   show where I wanted it, with the right styling, but wouldn’t do anything when
   clicked. It’s not possible to use a shortcode with the button or am I being dense
   and can’t find the way to do it?
 * best regards!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-in-button%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [alexgso](https://wordpress.org/support/users/alexgso/)
 * (@alexgso)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/shortcode-in-button/#post-14017074)
 * Hi Arutha,
 * I’ve had a look at your website and I can’t seem to see the results of this. 
   Can you please link me to ap age on your website where I can inspect the results
   you’re getting?
 * Can you please confirm where you’re adding the shortcode in the SiteOrigin Button
   widget settings?
 * Kind regards,
    Alex
 *  Thread Starter [arutha176](https://wordpress.org/support/users/arutha176/)
 * (@arutha176)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/shortcode-in-button/#post-14021372)
 * Hi Alex!
    You couldn’t find it because I left only the button that was working,
   sorry! I will put it there this night, after my day job and tell you.
 * Till then, if it helps, I added the shortcode on the url place.
 * thank you!
 *  Plugin Contributor [alexgso](https://wordpress.org/support/users/alexgso/)
 * (@alexgso)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/shortcode-in-button/#post-14022101)
 * Hi Arutha,
 * Ah. Thank you for clarifying. Unfortunately, the Destination URL button doesn’t
   currently support shortcodes. We’re looking at adding support in one of the upcoming
   SiteOrigin Widgets Bundle updates but please note that the shortcode will need
   to output a URL (ie. [https://google.com.au/](https://google.com.au/)) rather
   than HTML (ie. [Google](https://google.com.au/)) for the button to work as expected.
 * Kind regards,
    Alex
 *  Thread Starter [arutha176](https://wordpress.org/support/users/arutha176/)
 * (@arutha176)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/shortcode-in-button/#post-14059212)
 * Thank you Alex!
    It’s an answer nonetheless! lol I will check the url versus 
   html I’m sorry for the late answer, but I had a very intense time at my day job
   and was forced to pause the site!
 * best regards!
 *  Plugin Contributor [alexgso](https://wordpress.org/support/users/alexgso/)
 * (@alexgso)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/shortcode-in-button/#post-14060476)
 * Hi Arutha,
 * No worries about the delay mate. 🙂
    Let me know how you go.
 * Kind regards,
    Alex

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Shortcode in button’ is closed to new replies.

 * ![](https://ps.w.org/so-widgets-bundle/assets/icon.svg?rev=2556862)
 * [SiteOrigin Widgets Bundle](https://wordpress.org/plugins/so-widgets-bundle/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/so-widgets-bundle/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/so-widgets-bundle/)
 * [Active Topics](https://wordpress.org/support/plugin/so-widgets-bundle/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/so-widgets-bundle/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/so-widgets-bundle/reviews/)

## Tags

 * [button](https://wordpress.org/support/topic-tag/button/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 5 replies
 * 2 participants
 * Last reply from: [alexgso](https://wordpress.org/support/users/alexgso/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/shortcode-in-button/#post-14060476)
 * Status: resolved