How to Activate Woopress theme

by Festinger in Activation Tutorials on June 17, 2019

In the file framework/version-check.php find the function process_form which starts on line 295 after line 297 which is:

$code = trim( $_POST['purchase-code'] );

add this:

$this->activate( 'Well hello there!', 'api_key_blah_blah_blah' ); $redirect_url = ( class_exists( 'Redux' ) ) ? admin_url( 'admin.php?page=_options' ) : admin_url( 'themes.php?page=install-required-plugins' ) ;
echo ' ‘ . esc_html__(‘Theme is activated! You will be redirected in a few seconds’, ‘woopress’) . ‘ ‘;

Then in the file in framework/inc/envato_setup/envato_setup.php find the function process_form on line 1730, after line 1732 which is:

$code = trim( $_POST['purchase-code'] );

add this code:

$this->activate( 'Well hello there!', 'api_key_blah_blah_blah' ); return;

You can now use any key to activate the theme through either the setup wizard or the theme options in dashboard.

However, as with all their themes that can be activated, you still don’t have access to the premium plugins as when you install them through the dashboard they are served from their api server after a license check.

Categories: Activation Tutorials

Hi all, I will be enjoying my holidays till the 1st of October. Therefore I have very limited access to the internet. Kindly open a support ticket if you need any help and I will try to do my best to respond within 72 hours. Thanks for your understanding, FestingerSubmit Support Ticket
+