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

I've collected a few plugins that each have specific functionality I need for what would otherwise be a single large plugin.

Is it possible to bundle these into a single installable zip?

share|improve this question
up vote 11 down vote accepted
  1. Go through each plugin file and remove the plugin header.
  2. Create a loader.php file.

Something like this:

Plugin Name: Combined Plugin
Description: Contains plugin a, plugin b and plugin c

include dirname(__FILE__) . '/plugin-a.php';
include dirname(__FILE__) . '/plugin-b.php';
include dirname(__FILE__) . '/plugin-c.php';
share|improve this answer
OK, I've created a folder called "my-plugin-collection" and I've copied each of the plugin folders into that folder. Next, I create your loader.php file and reference each of the plugin folder's plugin.php files, correct? Hoping this works even when the plugins are complex and have subfolders... – Scott B Jan 6 '11 at 21:26
Works like a charm. Thanks sribu! – Scott B Jan 6 '11 at 22:04

protected by toscho Dec 18 '14 at 11:20

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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