Take the 2-minute tour ×

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

1 Answer 1

up vote 9 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 at 11:20


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