WordPress.org

Forums

Standout Color Boxes and Buttons
[resolved] Shortcode not working on my site (5 posts)

  1. anefarious1
    Member
    Posted 1 year ago #

    Hello,

    I'd really like to use this awesome plugin but when I insert the shortcode (opening and closing) inside my editor I don't see either the actual shortcode or the finished product. Is there anything I can do? Here is the URL and the text I was testing it on:

    http://canigivemycat.com/hot-dog

    "The reasons you shouldn’t give a cat a hot dog are similar to the reasons why humans shouldn’t eat hot dogs."

    Thanks!

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

  2. jp2112
    Member
    Plugin Author

    Posted 1 year ago #

    Can you please post the exact code you are using?

  3. anefarious1
    Member
    Posted 1 year ago #

    [color-box]The reasons you shouldn't give a cat a hot dog are similar to the reasons why humans shouldn't eat hot dogs.[/color-box]

    From the source code this same snippet reads as follows:

    <div class="scbb-content-box- scbb-rounded-corners">The reasons you shouldn't give a cat a hot dog are similar to the reasons why humans shouldn't eat hot dogs.</div>

    As you can see from the front end, even the shortcode isn't showing up.

  4. jp2112
    Member
    Plugin Author

    Posted 1 year ago #

    It looks like the color of the box is missing from the CSS class name:

    <div class="scbb-content-box- scbb-rounded-corners">

    It should be "scbb-content-box-blue" or "scbb-content-box-green" or something like that.

    Do you have a default color selected?
    If you choose a color and click "Save" does the problem go away?

  5. anefarious1
    Member
    Posted 1 year ago #

    The default color was blue I think. After I changed the color in the settings it started working. No idea why but thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Standout Color Boxes and Buttons
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags