what i need to do support my theme for auto update (Envato Market plugin)

wordpress
themeforest

#1

i’m developing a WordPress theme. i want to my theme for auto update (Envato Market plugin). from the below link:


it said "authors just have to include the github.php file with their item. "
That means i need to include the file in functions.php by require_once() function…
Thanks in advance for your answer


#2

You need to use the Envato Plugin https://github.com/envato/wp-envato-market bundled with your theme. To bundle the plugins in your theme you can use TGM-Plugin-Activation

Kindly read the documentation of TGMPA and all will work smoothly :slight_smile:


#3

@ThemeSLR Thanks for your answer. But below link


said the below thing about including

“Including the plugin with your items
Instead of packaging the library with the download file (as you did with the old Toolkit), authors just have to include the github.php file with their item. This file will always direct buyers to the latest version of the plugin, meaning no more manual intervention when the plugin is updated.”

So, i’m confused. May you please check the link.


#4

Check out this repo from @dtbaker, it also has integration of the Envato Market plugin and how to use it: https://github.com/dtbaker/envato-wp-theme-setup-wizard