If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
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.
You can use this to create a custom shortcode, simply copy the generated code to the functions.php file.
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 ?
The topic ‘Additional Divider with "Insert Shortcode" Button’ is closed to new replies.