Title: Plugin breaks with moved contents folder (solution inside)
Last modified: August 21, 2016

---

# Plugin breaks with moved contents folder (solution inside)

 *  [Jan-Willem](https://wordpress.org/support/users/janwoostendorp/)
 * (@janwoostendorp)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-breaks-with-moved-contents-folder-solution-inside/)
 * Hi
 * I’m using a wordpress setup with a moved content folder.
    Like this: [https://github.com/markjaquith/WordPress-Skeleton](https://github.com/markjaquith/WordPress-Skeleton)
   Your plugin’s javascript doesn’t load in this setup.
 * The problem is in `orgSeries-admin.php` line 93
    replace: `wp_enqueue_script('
   orgseries_scripts','/'.PLUGINDIR.'/'.SERIES_DIR.'/js/orgseries_scripts.js',array('
   jquery', 'thickbox'));` With: `wp_enqueue_script('orgseries_scripts', WP_PLUGIN_URL.'/'.
   SERIES_DIR.'/js/orgseries_scripts.js',array('jquery', 'thickbox'));`
 * BTW if you want to use the 3.5 media uploader fot the icon’s contact me.
    I could
   help with that, I already got it running in my plugin.
 * [http://wordpress.org/extend/plugins/organize-series/](http://wordpress.org/extend/plugins/organize-series/)

Viewing 1 replies (of 1 total)

 *  [Darren Ethier (nerrad)](https://wordpress.org/support/users/nerrad/)
 * (@nerrad)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-breaks-with-moved-contents-folder-solution-inside/#post-3817116)
 * Hey thanks for posting this,
 * I’ve added the fix to our lineup for the next release. Organize Series is [located on github](https://github.com/roughsmoothengine/organize-series).
   Feel free to submit a pull request regarding using the 3.5 media uploader. Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Plugin breaks with moved contents folder (solution inside)’ is closed
to new replies.

 * ![](https://ps.w.org/organize-series/assets/icon-256x256.png?rev=3386599)
 * [Issues and Series for Newspapers, Magazines, Publishers, Writers](https://wordpress.org/plugins/organize-series/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/organize-series/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/organize-series/)
 * [Active Topics](https://wordpress.org/support/plugin/organize-series/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/organize-series/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/organize-series/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Darren Ethier (nerrad)](https://wordpress.org/support/users/nerrad/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-breaks-with-moved-contents-folder-solution-inside/#post-3817116)
 * Status: not resolved