• Nullsto Rules must be read before making a post, otherwise you will get permanent warning points or a permanent ban.

    Nullsto Forum provides CLEAN and SAFE resources. You can use them for development and testing if you are on Windows and have an antivirus that alerts you about a possible infection: It is a false positive since every script is double checked by our experts. While downloading a resource, we recommend that you add Nullsto to your trusted sites/sources or temporarily disable your antivirus. "Enjoy your presence on Nullsto"

Tricks How to null any "themerex" theme

Kundra

Be a part of Nullsto's Growth ;)
Staff member
Moderator
Nullsto Lover
GiveAway Master
Trusted Uploader
Joined
Sep 16, 2022
Messages
4,155
Reaction score
6,488
Points
193
FOR EVERYONE ASKING TO NULL ANY "THEMEREX" THEME

Here is a generic method for all of the ThemeRex themes. This code will work as long as the author does not make changes in the code of the themes.

The license code is contained in the "trx_addons" plugin, but by putting the code in the folder of your theme, it will support future updates of the "trx_addons" plugin, again, unless changes are made in the code by the author.

WHAT TO DO?

1.
Go to the main theme folder (not the child theme) and look for the "functions.php" file.
2. On the top part of that file, around line #8 or #9, BEFORE the first statement ("IF", or "DEFINE", or any other statement depending on the theme), paste the code below. This is AFTER the top comments. Comments are 5, 6, or more lines with the symbols "/* * * */".

Code:
$mytheme = get_template();
update_option( 'trx_addons_theme_' . $mytheme . '_activated', true );
update_option( 'purchase_code_' . $mytheme, 'L12345678' );
update_option( 'purchase_code_src_' . $mytheme, 'L12345678' );

HOW THIS WORKS

Here, instead of hard coding the name of the theme, we instead use a variable "$mytheme" as the container of the theme name, acquired by the WP function "get_template()". Then, it is injected into the database in the string of the option name for the license row. Hence, the code will work for all themes that I have seen so far.

If the code does not work for your theme and you are positive that you did the process right and you installed all the needed plugins, like Elementor in some cases, just let me know and share the theme to take a look at it.

WHAT DOES THIS ALLOW?

So far, this modification will allow you to use the main skin only and will also allow you to install the demo website with all the pages and features. You will have a 100% formatted and functional website like the demo website on the sales page.

WHAT I AM NOT ALLOWED?

The skin, the theme, or any online content can only be updated manually if you can get hold of the files. Automatic updates will not work. For that, it will need a valid license code.

Happy nulling! >D
 
When I tried to update it gave a license error. The theme and error are as follows
License key is not valid! If you feel you received this message by mistake, check this guide:
 
When I tried to update it gave a license error. The theme and error are as follows
License key is not valid! If you feel you received this message by mistake, check this guide:
What version you have?
 
Top