Posted on

How to update a themeforest wordpress theme or a codecanyon wordpress plugin?

Themeforest from Envato is one of the most popular websites for buying WordPress themes and plugins ( Disclaimer : I sell WordPress WooCommerce themes via Themeforest ). If you had purchased a WordPress theme or a plugin from Themeforest you are entitled to receive unlimited updates as long as the theme or plugin author provides it. In this post I’ll explain how to automatically update a wordpress theme or a wordpress plugin purchased from Themeforest.

Step 1 : Installing Envato Market WordPress Plugin

Envato Market plugin developed by Envato is a wordpress plugin that allows you to install/update wordpress themes and plugins purchased from Envato. It connects with Envato API using secure oAuth personal token. The plugin though is not available in WordPress.org. It should be downloaded from here : http://envato.github.io/wp-envato-market/

Warning : You should not download this plugin from Envato’s git repository

Once you’ve downloaded the envato-market.zip file from the above URL, you should navigate to your Plugins page in your WP admin dashboard to upload, install and activate the plugin. On activation, you will find Envato Market menu in your admin dashboard which should take you to the Envato Market plugin page. The plugin page looks like this :

Step 2 : Generate a personal token

In the Envato Market plugin page, you will have to click on “generate a personal token” link. This will take you to https://build.envato.com/ website to generate the token. You will have to give it a name ( it is arbitrary ) and the permissions for this token. It is important to keep the “View and search Envato sites“, “Download your purchased Items”, “List purchases you’ve made”, “Verify purchases you’ve made” permission checked. It looks likes this :

Once you’ve clicked on “Create Token”, it generates a token for you. You should copy it and paste it within the “Token” field in the Envato Market plugin page.

Step 3 : Update the theme/plugin

Once you’ve “Save Changes”, you should now see all your wordpress themes and plugins listed. Here is a sample screenshot

You can see the plugin will notify you if there are updates available. You can simply click on the “Update Available” to update the theme or plugin.