Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wordpress: Package plugin with theme

Okay, this may sound silly but stay with me.

I am packaging a Wordpress Premium Theme for sales in a major marketplace. The theme is heavily dependant on a couple of plugins (self-developed).

I cannot expect the buyers to manually install both my plugins before installing the theme. Now that I am packaging the themes for sale, how do I package the plugins with it?

I want the plugins to a part of the package I deliver to the buyers and the plugins should automatically install when the theme is installed.

On the other hand, I have seen Premium Theme developers packing some serious custom functionality into their themes. How is such extra functionality integrated with the themes? Can anyone link to any tutorials?

like image 456
Saddam Azad Avatar asked Aug 07 '11 16:08

Saddam Azad


1 Answers

This class that I built with another developer should be a good solution for your problem. :)

https://github.com/thomasgriffin/TGM-Plugin-Activation

like image 50
Thomas Avatar answered Sep 22 '22 14:09

Thomas