Hôm nay mình sẽ hướng dẫn các bạn cách activate theme JNews phiên bản mới nhất hiện tại là v2.1.1 để có thể import demo một cách dễ dàng.
Mặc định nếu bạn chưa activate thì chỉ import được cái demo mặc định mà thôi, bắt tay vào việc luôn nhé ?

Hướng dẫn activate theme JNews v6.0 mới nhất
Bước 1: Truy cập đường dẫn wp-content/themes/jnews/class/Util/ValidateLicense.php
Tìm
public function check_themes($token = null) { $token = $this->get_token($token); if ($token) { $result = $this->check_purchase_wordpress_themes($token); if ( $result ) { update_option($this->optionname, array( 'validated' => true, 'token' => $token, 'item' => $result )); return true; } else { update_option($this->optionname, array( 'validated' => false, 'token' => null, 'item' => null )); return false; } } return false; }
Thay bằng
public function check_themes($token = null) { $token = $this->get_token($token); if ($token) { $result = $this->check_purchase_wordpress_themes($token); if ( $result ) { update_option($this->optionname, array( 'validated' => true, 'token' => $token, 'item' => $result )); return true; } else { update_option($this->optionname, array( 'validated' => true, 'token' => $token, 'item' => $result )); return true; } } return true; }
Lưu lại.
Bước 2: Quay lại trang activate theme JNews và điền license key là dowvn.net để kích hoạt.
Bây giờ chỉ việc tận hưởng thành quả và tha hồ import demo nhé các bạn.
Chúc các bạn thành công.
- Theme Flatsome 3.13.1 cập nhật mới nhất 2021
- Chia sẻ theme Saxon miễn phí – theme tin tức số 1 trên Themeforest