Button shortcode not working

Hello guys! so I've tried for a while to get the button shortcode to work but it just doesn't show anything on my page! The only way I've found to place a button in my page is with this code:
<a href="link to page" class="button">BUTTON TEXT</a>
Buttons this way look ok but they are only one color and it would be easier for me to use shortcodes.

So this is the shortcode I'm placing:
[button title="BUTTON TEXT" icon="icon-email" icon_position="left" link="link to page" target="_blank" color="#FFFFFF" font_color="#F77268" large="0" class="" download="" onclick=""]
It wont show ANYTHING when I use that.

Please help :(

Comments

  • Hi,

    where did you used this shortcode exactly? Because as we see, you got one shortcode button on page at the bottom which works fine.
  • I modified the page to make things easier.

    On the bottom of the page there is a section that says: This is the place for the button. Immediately below there is supposed to be the button.

    This is the code I used for that section, in a column:
    <h4><b>This is the place for the button</b></h4>
    [button title="BUTTON" icon="" icon_position="" link="http://www.google.com" target="_blank" color="#F77268" font_color="#ffffff" large="0" class="" download="" onclick=""]
    image

    All other buttons in my page are working because I used this code: <a href="link to page" class="button">BUTTON TEXT</a> 
    which is not a shortcode.


    So either I don't get how shortcodes work or they are not working for me.
  • Ok. We checked your site and as we see, there is a class called fusion-button what you can see on http://pasteboard.co/7hQr69C.png which does not come with the theme. Looks like you did something wrong there. Maybe you got tool activated which is responsible for other shortcodes and overwrote our styles? Please deactivate all plugins and then check if it works. But if you won't be able to sort it out, please send us private message with access to your dashboard so we can have a look on it.
  • :D!!!!! Fixed! It was a plugin for a previous theme.

    Thaaaaank you :D
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.