Title: [Plugin: Ultimate TinyMCE] Shortcodes button
Last modified: August 20, 2016

---

# [Plugin: Ultimate TinyMCE] Shortcodes button

 *  Resolved [Robert S](https://wordpress.org/support/users/rschilt/)
 * (@rschilt)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/)
 * Hi,
 * I’ve been having an issue to get the shortcodes dropdown button to display in
   my editor.
 * Problem persists even though I have done following:
 * 1) Tried in Firefox
    2) Tried in Chrome 3) Cleared browser cache 4) Disabled 
   all plugins except for Ultimate TinyMCE 5) Resetting plugin
 * Also, if I enable Firebug on editor page – interestingly I get the following 
   error:
 * “invalid regular expression flag h
    [http://www.mydomain.com/wp-content/plugins/ultimate-tinymce/shortcodes-editor-selector/editor_plugin.js.php?ver=349-20805](http://www.mydomain.com/wp-content/plugins/ultimate-tinymce/shortcodes-editor-selector/editor_plugin.js.php?ver=349-20805)
   Line 2″
 * Any ideas anyone?
 * Cheers,
 * [http://wordpress.org/extend/plugins/ultimate-tinymce/](http://wordpress.org/extend/plugins/ultimate-tinymce/)

Viewing 15 replies - 46 through 60 (of 61 total)

[←](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/3/?output_format=md)
[1](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/?output_format=md)
[2](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/3/?output_format=md)
4 [5](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/5/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/5/?output_format=md)

 *  Thread Starter [Robert S](https://wordpress.org/support/users/rschilt/)
 * (@rschilt)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/4/#post-2892094)
 * Hi Josh,
 * I’d like to show my appreciation for the hard work you been putting into this
   shortcode issue.
 * You got one of those “donate” buttons ?
 *  Plugin Author [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/4/#post-2892095)
 * Okay…. let’s scratch the changes I made above.
 * Now, let’s get the top of the shortcodes.php file to look like this:
 *     ```
       <?php
       // Hook into WordPress so we can use all the custom functions and global variables
       $file = dirname(__FILE__);
       $file = substr($file, 0, stripos($file, "wp-content") );
       // Added for multisite
       require( $file . "/wp-load.php");
       ?>
       ```
   
 * I’ve made a few changes in the organization of the shortcodes.php file as well.
   Here is a pastebin link to how the entire file should read:
    [http://pastebin.com/UDQ7vrun](http://pastebin.com/UDQ7vrun)
 * I think this should clear up the issues.
 * **[@robert](https://wordpress.org/support/users/robert/)**, there is a link in
   the plugin settings page… if you click on “Donations” on the top tab.
 * Thank you EVERYONE for helping to work through this.
 *  Thread Starter [Robert S](https://wordpress.org/support/users/rschilt/)
 * (@rschilt)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/4/#post-2892096)
 * Josh,
 * Have just dropped a token thanks into your Paypal box.
 * Thanks again for the effort.
 *  Plugin Author [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/4/#post-2892097)
 * **[@robert](https://wordpress.org/support/users/robert/)**,
 * Thank you! My three year old daughter also thanks you… as we will be going to
   her favorite place in the world tomorrow to eat… “Chuck E Cheese”.
 * You are very generous, and we sincerely appreciate the “token”!!
 * I think I’m going to start working on a drop-down list…. Would you prefer a dropdown
   like the old method? Or do you like the new popup method?
 * Also, I don’t like how you can no longer select the code and THEN wrap it with
   the shortcodes. Now, you have to insert the shortcode, and then go back to insert
   the content between the brackets. I think it would be better if it wrapped the
   selected content.
 * So…
 * 1. Popup or dropdown?
    2. Wrap content or Don’t wrap content?
 * EIDT: One more thing **Robert**… go ahead and click that all-mighty “resolved”
   button over on the right for us 😉
 *  Thread Starter [Robert S](https://wordpress.org/support/users/rschilt/)
 * (@rschilt)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/4/#post-2892098)
 * Hi Josh,
 * My pleasure!
 * We don’t have “Chuck E Cheese” in Australia but it sounds good. Having a dutch
   background I luv my cheese – if I ever find myself in your neck of the woods –
   I’ll be in there like Flynn.
 * Feedback re format for Shortcode button:
 * – I really don’t mind whether it’s a pop out panel or a drop down.
    – I rather
   like the idea of the wrap content feature.
 * Enjoy the time with your daughter.
 * Resolved!
 *  Plugin Author [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/4/#post-2892099)
 * Lol…
 * > I’ll be in there like Flynn.
 * At least we are both familiar with that expression!
 * Chuck E. Cheese…
    [http://www.youtube.com/watch?v=48p6ghGmTzI](http://www.youtube.com/watch?v=48p6ghGmTzI)(
   you’ll have to skip past the guy talking in the beginning)
 *  Plugin Author [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/4/#post-2892100)
 * Just got it working to wrap selected content 🙂
 * Here is the fix until the next update: (Replace entire shortcodes.php file)
    
   [http://pastebin.com/EtnVvGU8](http://pastebin.com/EtnVvGU8)
 *  Thread Starter [Robert S](https://wordpress.org/support/users/rschilt/)
 * (@rschilt)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/4/#post-2892101)
 * Hi Josh,
 * Works like a dream!
 * – Wrap working OK.
    – No more error message at the top of pop up panel.
 * Worth your weight in gold mate!
 * R
 *  [ronbme](https://wordpress.org/support/users/ronbme/)
 * (@ronbme)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/4/#post-2892105)
 * Josh, I wanted to let you know that the latest changes also work in WP 3.5 alpha(
   single version).
 *  Plugin Author [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/4/#post-2892107)
 * Thanks Ron.
 * By the way… where did you get WP 3.5? I’ve tried searching for it. I’m assuming
   you’re on a list or something?
 *  [ronbme](https://wordpress.org/support/users/ronbme/)
 * (@ronbme)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/4/#post-2892110)
 * Josh, just go to WordPress Trac at this link:
    [http://core.trac.wordpress.org/browser/trunk](http://core.trac.wordpress.org/browser/trunk)
 * There will be a .zip file with the latest trunk. You’ll see it at the bottom 
   of the page, where it says “Download in other formats:”. Just click on “Zip Archive”
   underneath and download the .zip file.
 * The latest is WP 3.5 alpha-21358. This also includes the Twenty-Twelve theme,
   which is looking pretty good.
 * I just download the zip file, extract it to my test folder for WP 3.5 and overwrite
   everything there.
 * I’m just using the single version of WP 3.5 for now. I won’t set up a Multi-User
   version until maybe October.
 * I check out every update of Ultimate TinyMCE with WP 3.4.1 Multi-Site and WP 
   3.5 alpha (single version).
 * Ron
 *  Plugin Author [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/4/#post-2892111)
 * Ron, you’re a godsend!!
 * Thank you for all you do! It helps me out tremendously!!
 *  [ronbme](https://wordpress.org/support/users/ronbme/)
 * (@ronbme)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/4/#post-2892112)
 * My pleasure, Josh.
 * Always glad to help out developers who are developing good software. Like you
   I have a lot of projects going on so I have to balance my time.
 *  Plugin Author [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/4/#post-2892113)
 * Thank you much 🙂
 * Check out this cool new feature I’m working on…
    [http://forum.joshlobe.com/attachment.php?aid=71](http://forum.joshlobe.com/attachment.php?aid=71)
 *  [ronbme](https://wordpress.org/support/users/ronbme/)
 * (@ronbme)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/4/#post-2892116)
 * Cool! More toys to play with.
 * I love it!
 * Hmmmm. Css popup. Javascript popup. 😉
 * Ron

Viewing 15 replies - 46 through 60 (of 61 total)

[←](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/3/?output_format=md)
[1](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/?output_format=md)
[2](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/3/?output_format=md)
4 [5](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/5/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/5/?output_format=md)

The topic ‘[Plugin: Ultimate TinyMCE] Shortcodes button’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ultimate-tinymce.svg)
 * [Ultimate TinyMCE](https://wordpress.org/plugins/ultimate-tinymce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-tinymce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-tinymce/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-tinymce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-tinymce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-tinymce/reviews/)

## Tags

 * [editor](https://wordpress.org/support/topic-tag/editor/)

 * 61 replies
 * 5 participants
 * Last reply from: [Josh](https://wordpress.org/support/users/josh401/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ultimate-tinymce-shortcodes-button/page/5/#post-2892117)
 * Status: resolved