Title: TinyMCE add-on button issue
Last modified: August 22, 2016

---

# TinyMCE add-on button issue

 *  Resolved [joleksow](https://wordpress.org/support/users/joleksow/)
 * (@joleksow)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/tinymce-add-on-button-issue/)
 * I posted this comment to the wpdownloadmanager.com website a couple of days ago,
   but it seems like this forum is more active so I’ll repost it here:
 * After I enable the advanced TinyMCE button add-on, no Visual Editor options show
   up at all. Any idea what could be causing this?
 * The site is running WordPress 4.01.
 * The site I am running on uses a non-default folder structure. WordPress core 
   is in /core and content is in /content. This means there is no wp-content folder,
   so I wonder if the following function could be causing this problem since it 
   assumes there is a wp-content folder:
 * function wpdm_tinyplugin_register($plugin_array)
    { $url = trim(get_bloginfo(‘
   url’), “/”) . “/wp-content/plugins/wpdm-tinymce-button/editor_plugin.js”;
 * $plugin_array[‘wpdm_tinyplugin’] = $url;
    return $plugin_array; }
 * Please let me know when this might be fixed.
 * Thanks!
 * [https://wordpress.org/plugins/download-manager/](https://wordpress.org/plugins/download-manager/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Shahjada](https://wordpress.org/support/users/codename065/)
 * (@codename065)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/tinymce-add-on-button-issue/#post-5572944)
 * Ok, I’ll adjust it on next update
 *  Thread Starter [joleksow](https://wordpress.org/support/users/joleksow/)
 * (@joleksow)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/tinymce-add-on-button-issue/#post-5572991)
 * Hi Shaon,
 * For the record, the TinyMCE plugin works fine when I replace the following line:
 * `$url = trim(get_bloginfo(‘url’), “/”) . “/wp-content/plugins/wpdm-tinymce-button/
   editor_plugin.js”;`
 * with this:
 * `$url = trim(plugins_url('editor_plugin.js', __FILE__));`
 * When do you think you will be able to update the plugin? I’m using this in a 
   client’s site that is launching soon and would really like to be able to include
   the official fixed plugin instead of a version I’ve modified myself.
 * Thanks!
    John

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘TinyMCE add-on button issue’ is closed to new replies.

 * ![](https://ps.w.org/download-manager/assets/icon-256x256.png?rev=1561688)
 * [Download Manager](https://wordpress.org/plugins/download-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/download-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/download-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/download-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/download-manager/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [joleksow](https://wordpress.org/support/users/joleksow/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/tinymce-add-on-button-issue/#post-5572991)
 * Status: resolved