Hướng dẫn active plugin element

Plugin Elementor Pro là một Plugin Page builder mạnh mẽ, với rất nhiều tính năng ưu việt không hề kém cạnh các Plugin Page builder  anh chị khác. Với hơn 2 triệu lượt cài đặt Elementor  đang tạo ra cơn sốt trong cộng đồng WordPress trên thế giới.

Hướng dẫn active plugin element

Plugin Elementor Pro – Page Builder tốt nhất hiện với hơn 2 triệu lượt cài đặt

Tuy có cả bản miễn phí và bản Pro, nhưng để sử dụng nhiều tính năng hơn, bạn phải dùng đến phiên bản trả phí. Mà phiên bản trả phí của Elementor lại có giá từ $49/ năm – $199/ năm. Mức giá khá cao so với các bạn mới bắt đầu làm quen với WordPress.

Lưu ý: Hiện tại phiên bản Elementor Pro 2.10.0 mới nhất chưa thể kích hoạt hoàn toàn, các bạn vui lòng sử dụng bản 2.9.5 nhé.

Bản mới thì tham khảo tại đây: How to Activate Elementor Pro 2.10.x

Bài viết này mình sẽ hướng dẫn kích hoạt – Activate Plugin Elementor Pro free mà không cần phải mua license key, cũng không cần crack, không dùng bản nulled nhé mọi người. Vừa an toàn, mà vẫn được miễn phí, tha hồ mà dùng.

Mình không khuyến khích các bạn làm theo cách này, nếu bạn nào có điều kiện thì nên mua để ủng hộ tác giả, còn bạn nào không đủ điều kiện thì thôi lại theo mình làm theo hướng dẫn bên dưới để kích hoạt phiên bản Pro nhé. ( Lưu ý là bạn phải cài cả bản Elementor Free lẫn Elementor Pro rồi nhé)

Xem video và làm theo hướng dẫn nhé các bạn 🙂

Đầu tiên, các bạn truy cập vào đường dẫn sau: wp-content/plugins/elementor-pro/license

Mở file api.php (Nên sửa bằng Notepad++)

Tìm (Crtl + F) – ( dòng thứ 91 -> 118)

	public static function get_license_data( $force_request = false ) {
		$license_data = get_transient( 'elementor_pro_license_data' );

		if ( false === $license_data || $force_request ) {
			$body_args = [
				'edd_action' => 'check_license',
				'license' => Admin::get_license_key(),
			];

			$license_data = self::remote_post( $body_args );

			if ( is_wp_error( $license_data ) ) {
				$license_data = [
					'license' => 'http_error',
					'payment_id' => '0',
					'license_limit' => '0',
					'site_count' => '0',
					'activations_left' => '0',
				];

				self::set_license_data( $license_data, 30 * MINUTE_IN_SECONDS );
			} else {
				self::set_license_data( $license_data );
			}
		}

		return $license_data;
	}

Thay thế bằng:

	public static function get_license_data( $force_request = false ) {
		return $license_data = [
			'license' => Admin::get_license_key(),
			'payment_id' => '0',
			'license_limit' => '100',
			'site_count' => '100',
			'activations_left' => '100',
		];
	}

Tìm tiếp

	public static function is_license_active() {
		$license_data = self::get_license_data();

		return self::STATUS_VALID === $license_data['license'];
	}

	public static function is_license_about_to_expire() {
		$license_data = self::get_license_data();

		if ( ! empty( $license_data['subscriptions'] ) && 'enable' === $license_data['subscriptions'] ) {
			return false;
		}

		if ( 'lifetime' === $license_data['expires'] ) {
			return false;
		}

		return time() > strtotime( '-28 days', strtotime( $license_data['expires'] ) );
	}

Thay thế bằng:

	public static function is_license_active() {
		$license_data = self::get_license_data();
		return true;
	}

	public static function is_license_about_to_expire() {
		$license_data = self::get_license_data();																								   
		return false;
		if ( 'lifetime' === $license_data['expires'] ) {
			return false;
		}
		return time() > strtotime( '-28 days', strtotime( $license_data['expires'] ) );
	}

Lưu file lại và mở tiếp file admin.php

Tìm: (Dòng 102 – 104)

	public static function get_license_key() {
		return trim( get_option( 'elementor_pro_license_key' ) );
	}

Thay thế bằng:

	public static function get_license_key() {
		return 'fb351f05958872E193feb37a505a84be';
	}

Tìm tiếp

	private function get_connected_account() {
		$user = $this->get_app()->get( 'user' );
		$email = '';
		if ( $user ) {
			$email = $user->email;
		}
		return $email;
	}

Thay thế bằng:

	private function get_connected_account() {
		$user = (object) array( 'email' => '[email protected]' );
		$email = '';
		if ( $user ) {
			$email = $user->email;
		}
		return $email;
	}

Cách khác: ( Chỉ sử dụng được với phiên bản cũ < 2.8.x )

Vẫn là mở File: wp-content/plugins/elementor-pro/license/api.php

Tìm: (dòng 92)

		$license_data = get_transient( 'elementor_pro_license_data' );

Thêm vào dưới:

		return $license_data;

Lưu lại và mở tiếp file wp-content/plugins/elementor-pro/elementor-pro.php

Tìm: (dòng 27) 

define( 'ELEMENTOR_PRO_MODULES_URL', ELEMENTOR_PRO_URL . 'modules/' );

Thêm các dòng lệnh sau xuống dưới:

update_option( 'elementor_pro_license_key', 'tieuca.me;' );
set_transient( 'elementor_pro_license_data', [ 'license' => 'valid', 'expires' => '01.01.2030' ] );
set_transient( 'timeout_elementor_pro_license_data', 1893456000 );

Vậy là xong, hãy vào Elementor -> License để kiểm tra thành quả.

Hướng dẫn active plugin element

Tham khảo thêm: Hướng dẫn Activate và tắt thông báo kích hoạt plugin WordPress Yoast SEO Premium

Lời kết

Như vậy là mình đã hoàn thành hướng dẫn xong về cách kích hoạt Plugin Elementor Pro mà không phải tốn tiền mua hoặc tải hàng nulled dễ chứa mã độc về dùng. Nếu có thắc mắc vui lòng để lại bình luận bên dưới để được giải đáp nhanh nhất.

Bạn nào chưa có Plugin này thì hãy tải về tại đây Share Plugin Elementor Pro – Page Builder số 1 [Cập nhật mới nhất]

Chúc các bạn thành công!