Support » Plugin: Arconix Shortcodes » toggle css attribute not working right

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author John Gardner


    Hi Jessibird,

    I did that by design because I had trouble overriding the existing values when it was just another class in a list. Are you having troubles making the CSS customizations you’d like? If so, I might be able to help.

    Hello John,

    Thanks so much for responding!

    What you describe would be alright, if it actually created HTML markup. Instead, it’s just displaying it as text. In other words, the HTML characters are encoded. At least, they are for the opening div tag; the closing div tag is working properly as actual markup.

    Take a look – I copied the exact code you have on your example page into the text view of my editor on this page:

    I’ve tested and observed this on two sites on different servers now, with different but minimal plugins.



    Maybe the relevant code is line 554 of includes/shortcodes.php where you use esc_attr on $css_start? I think it’s the esc_attr that is causing the problem.

    Plugin Author John Gardner


    Yeah, that’s just dumb… I’ll get that fixed asap.

    Thanks, John, that’s awesome! Have a lovely weekend.

    Plugin Author John Gardner


    While I’m in here, I’m going to move the CSS to be inline… that’s how I’ve done it on other shortcodes, and I’d prefer to keep things consistent.

    Yay, that’s how I like it, too. Thanks for everything, John!

    I don’t know if you already know this or it’s helpful information, but

    <div class="custom-class">

    is visible above the toggles in Firefox, but not Chrome or Safari.

    Is it just me, or is Firefox starting to become a bit of a pain? I’m noticing an increasing number of issues cropping up.

    I look forward to the fix – I have a number of uses in mind for the toggles feature that should help site visitors see and use information and really appreciate the way you’ve coded this – it doesn’t constitute a site load burden.

    Thank you,

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘toggle css attribute not working right’ is closed to new replies.