Support » Plugin: Simple Shortcodes » Is it possible to ad classes?

  • Resolved mavuus

    (@mavuus)


    Really nice plugin!!!5 points!!!

    One question: can I add a class to a toggle title?? In shortcode-functions.php I found:

    ‘title’ => ‘Toggle Title’,
    ‘class’ => ”,

    so I tried some variations like this:

    [toggle title=”x” class=”.x”]

    but I couldn’t find the new class in code.

    Is it possible to do it?

    Thanks a lot!!

    https://wordpress.org/plugins/smpl-shortcodes/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author simplethemes

    (@simplethemes)

    Yes, I’ve added 2 parameters to the toggle shortcode in the next update.

    open="true"
    and
    class="yourclassname"

    Thanks.

    mavuus

    (@mavuus)

    Thanks a lot!! All works perfectly!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is it possible to ad classes?’ is closed to new replies.