Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #20403

    Can anyone tell me how I can create new CSS styles which appears in INSERT SHORTCODE Box?

    Goal is to add a new Shortcode which adapts the existing Infobox style “info” – left aligned and without the’i’ Icon.

    Any help would be highly appreciated.

    Tia

    E11

    #107515

    Hi Tia,

    I’m not really sure the best way to add completely new shortcode to the theme. I’ve tagged the topic for another of the support crew who should be able to help a bit further.

    Regards,

    Devin

    #107516

    Hi!

    You can duplicate the avia_sc_icon_box function in wp-contentthemeschoicesincludesadminregister-shortcodes.php and remove the icon code line.

    Regards,

    Peter

    #107517

    Thanks Devin, Thanks Dude!

    Does it also mean, that I have to give the function another name?

    #107518

    Hi!

    Yes sure – otherwise you’ll get a php error.

    Best regards,

    Peter

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘How to: Add new Shortcuts’ is closed to new replies.