Title: Hardcoded content dir in plugin&#039;s code
Last modified: August 21, 2016

---

# Hardcoded content dir in plugin's code

 *  [Hassan](https://wordpress.org/support/users/hassanhamm/)
 * (@hassanhamm)
 * [13 years ago](https://wordpress.org/support/topic/hardcoded-content-dir-in-plugins-code/)
 * This plugin does not work if I have renamed my `wp-content` and `uploads` folders
   to something other than their default names. I looked through the source code
   and it is referencing the `wp-content` directory directly without using WordPress
   coding standards in this regard. [More on how to fix this.](http://codex.wordpress.org/Determining_Plugin_and_Content_Directories)
 * It returns something like _Uploads folder named “slideshow-gallery” cannot be
   created inside “wp-content/uploads/”_
 * It would be great if this could be fixed.
 * [http://wordpress.org/extend/plugins/slideshow-gallery/](http://wordpress.org/extend/plugins/slideshow-gallery/)

The topic ‘Hardcoded content dir in plugin's code’ is closed to new replies.

 * ![](https://ps.w.org/slideshow-gallery/assets/icon-256x256.png?rev=1187457)
 * [Slideshow Gallery LITE](https://wordpress.org/plugins/slideshow-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slideshow-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slideshow-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/slideshow-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slideshow-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slideshow-gallery/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [Hassan](https://wordpress.org/support/users/hassanhamm/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/hardcoded-content-dir-in-plugins-code/)
 * Status: not resolved