WordPress.org

Ready to get started?Download WordPress

Forums

Standout Color Boxes and Buttons
[resolved] Buttons not working (9 posts)

  1. dgibson_88
    Member
    Posted 1 year ago #

    The buttons aren't showing up on my site http://www.helpmedial.com/home-page, I can get the color boxes to work, but not the buttons. I pasted the code directly from your documentation, but still nothing.

    http://wordpress.org/extend/plugins/standout-color-boxes-and-buttons/

  2. jp2112
    Member
    Plugin Author

    Posted 1 year ago #

    You can see the buttons on my demo page:

    http://www.jimmyscode.com/wordpress/standout-color-boxes-buttons/

    For color buttons, you must specify the URL, either in the shortcode or the plugin settings page.

    Please post the exact code you are using.

  3. indywebdude
    Member
    Posted 1 year ago #

    I'm seeing the exact same thing. Color Boxes work, but not the Color Buttons. As the above poster, I copied/pasted your code (with url) into the page and it doesn't show up

  4. jp2112
    Member
    Plugin Author

    Posted 1 year ago #

    Guys, meet me halfway on this one. Please post the settings from the plugins page and also the exact code you are using, and where you are putting it. Also it would help if you had a sample URL where the buttons are supposed to appear.

  5. ShonScott
    Member
    Posted 1 year ago #

    Hello.

    Yes the button shortcode doesn't seem to be working. I have the following implemented on a page.

    [color-button color="orange" url="http://map.google.com/"]Transit: Pacific / 7th Tacoma-Downtown[/color-button]

    The HREF is shortened to maps.google.com in this example to show the intention of use. The actual long URL for the map for the link would be placed there. I have used both the long and shortened version of the URL--no luck. I have left the HREF blank and even "#" with no success. The button simply does not show up.

    It wasn't until I added a default URL to the settings panel for the plugin, such as http://maps.google.com, the button appears regardless if their is something in the HREF reference or not. If you have a default URL, the default URL is the ONLY URL the shortcode will display.

    Your colored boxes work flawless. I am using your latest version of this plugin and WordPress 3.5.1.

  6. ShonScott
    Member
    Posted 1 year ago #

    Reviewing the source code of the page, the shortcode does not add any HTML to the page when rendered if there is NO default URL set in the settings of the plugin.

  7. jp2112
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for reporting this. Let me look into it and get back to you.

  8. jp2112
    Member
    Plugin Author

    Posted 1 year ago #

    OK, figured it out.

    There is no issue with the plugin, but with the documentation. The parameter name for specifying a URL is "href", not "url". I am updating the readme file now. The correct parameter names are displayed on the plugin settings page, however.

    Change "url" to "href" in your code above and it should work.

  9. ShonScott
    Member
    Posted 1 year ago #

    That fixed it. Thank you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.