366 posts
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Has been a member for 4-5 years
  • New Zealand
  • Referred between 10 and 49 users
  • Bought between 10 and 49 items
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
PixelStores says

Hey,

To all those wordpress developers, is it possible to include plugins within the theme? i was thinking it has something to do with the functions.php file, but not sure.

I want my theme to be activated with a plugin with one click, no activating of plugins required.

Help much appreciated.

Thanks Matt

444 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • United Kingdom
TahaH-Studio says

require the main plugin .php file in the functions.php eg: require_once('themainfilepath')

366 posts
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Has been a member for 4-5 years
  • New Zealand
  • Referred between 10 and 49 users
  • Bought between 10 and 49 items
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
PixelStores says

Cheers bro, i will give it a try. :)

by
by
by
by
by
by