Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #201468

    Hi Guys,

    i would like to use an additional divider (…like “Horizontal Rule 2″) with the “Insert Shortcode” Button.

    Which files in the Flashlight Theme do i have to modify in order to use – for example – a shortcode divider like [hr_2] ?

    I know that i have to modify the shortcode.css section with “background:” and a second *.png file.

    But don’t know which files are responsible for the Insert Shortcode Button.

    Thanks !

    #201880

    Hi!

    You can use this to create a custom shortcode, simply copy the generated code to the functions.php file.

    Best regards,
    Josue

    #209707

    Hi Josue !

    thank you for your reply.

    In the meantime I have used the function “!function_exists(‘avia_sc_hr’)” in the “register-shortcodes.php” of the theme.

    But how do I get an additional button for this new created shortcode to the toolbar in the WYSIWYG-Editor (…or to the Flashlight “Insert Shortcode” Button in the WYSIWYG-Editor) ?

    Sure, it’s possible for me to put the code manually in the WordPress WYSIWIG-Editor, but it would be nicer for my client to choose the shortcode from a button in the WYSIWIG toolbar.

    Do you have for this “problem” also a solution ?

    Best regards,
    Blogwaeltler

    #210088

    Hi Josue,

    just in the moment I’ve found found the following TinyMCE Custom Buttons .
    Maybe this helps me.

    Best regards,

    Blogwaeltler

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

The topic ‘Additional Divider with "Insert Shortcode" Button’ is closed to new replies.