WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My multi-site setup uses sub-directory. I am creating one plugin + one theme to customize each of the sites. Is there any way to have separate plugins and themes folder per site like so or something similar:

|     +----site1
|          +----plugins
|          +----themes
|     +----site2
|          +----plugins
|          +----themes
|     +----shared-plugin1
|     +----shared-plugin2
|     +----optional-plugin1
|     +----optional-plugin2  

The goal is so that each site can only activate/deactivate the plugin/theme intended for it.


Multisite Plugin Manager can be a way to achieve what I want to do logically, though it does not put the plugins in their individual directories. I am still interested to hear other solutions.

share|improve this question
up vote 1 down vote accepted

There's register_theme_directory() to ... well register additional theme directories.

For plugins, we don't know how to get around it (so far). If you want, then you can jump into the discussion here and add your thought, share your try-outs and maybe we all together will come to an solution :)

share|improve this answer
Thanks, this points me to the right direction. I will my hands on creating a register_plugin_directory() – ltfishie Mar 1 '12 at 5:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.