Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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:

root
+----wp-content
|     +----site1
|          +----plugins
|          +----themes
|     +----site2
|          +----plugins
|          +----themes
+----mu-plugins
|     +----shared-plugin1
|     +----shared-plugin2
+----plugins
|     +----optional-plugin1
|     +----optional-plugin2  

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

Edit

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
add comment

1 Answer 1

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
1  
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
add comment

Your Answer

 
discard

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.