A. Hướng dẫn Activate bản quyền theme JNews và Import Full Demo mới nhất
- Đầu tiên ae backup toàn bộ source hiện tại của bạn.
- Tiếp theo xóa hết thư mục theme gốc kể cả child theme trong
/wp-content/themes
(vào cPanel hoặc VPS để xóa). - Upload file Jnews mới (
20566392-jnews-wordpress-newspaper-magazine-blog-amp-theme.zip
– tên file này mình ví dụ bản 9.0.6 tải bên dưới, bản mới tên file có thể sẽ khác) lên, extract ra. - Đến đoạn này ae có thể vào lại Admin Dashboard.
- Sau đó vô admin upload child theme mới trong pack
20566392-jnews-wordpress-newspaper-magazine-blog-amp-theme.zip
- Acivate child theme là OK.
1 .Bạn tìm theo đường dẫn sau:
\wp-content\themes\jnews\class\Util\ValidateLicense.php
-
Mở file
ValidateLicense.php
: -
Nhấn Ctrl + F để tìm tới đoạn code sau:
public static function is_license_validated() { $option = get_option( self::$optionname ); return $option ? $option['validated'] : false; }
-
Sửa thành như sau (sửa chữ
false
tô đỏ thànhtrue
là được):
public static function is_license_validated() { $option = get_option( self::$optionname ); return $option ? $option['validated'] : true; }
-
Lưu lại. Xong!!! Bạn đã có thể cài đặt tất cả các Demo của JNews mà không cần key bản quyển để active.
B. Link tải theme JNews bản sạch 100% từ themeforest:
Link tải theme JNews 9.0.6 sạch tải trực tiếp từ Themeforest:
Download JNews 9.0.6 (22/09/2021)