How to activate Porto theme

Step 1: Activate the theme with a legit key

In file /porto/inc/admin/admin.php, at around line 191, find:

 public function is_registered() {

Add following code:

 update_option('porto_product_registration_code', 'NDZiYzdhZTktYTJhMC00MmY5LTg3NzctZGNjYjM3MjI0ZTEw' );

Step 2: Set your wp to localhost status so that the theme won’t block the theme from importing demos

In file porto\inc\plugins\importer\importer-api.php, at around line 216, find:

 public function is_localhost() {

Add :

 return true;

Now the theme is activated and demo-importable.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply