Kundra
Be a part of Nullsto's Growth ;)
Staff member
Moderator
Nullsto Lover
GiveAway Master
Trusted Uploader
- Joined
- Sep 16, 2022
- Messages
- 4,219
- Reaction score
- 6,568
- Points
- 193
In the theme directory, look for the file "functions.php" and at the very top, right after the following code:
Insert this line:
It should look like this:
Use "Copy & Paste" to make sure you don't insert an error. PHP is veeery sensitive to syntax errors and crashes right away as soon as it finds one when the compiler is running.
I hope it helps because, at this point, I am having a very tight schedule and will not be able to look it further for now.
P.S.
Make sure you revert back to original what you tried first when trying this.
Cheers!
Code:
<?php
if ( ! defined( 'ABSPATH' ) ) {
die();
}
Insert this line:
Code:
update_option( 'porto_registered', true );
It should look like this:
Code:
<?php
if ( ! defined( 'ABSPATH' ) ) {
die();
}
update_option( 'porto_registered', true );
Use "Copy & Paste" to make sure you don't insert an error. PHP is veeery sensitive to syntax errors and crashes right away as soon as it finds one when the compiler is running.
I hope it helps because, at this point, I am having a very tight schedule and will not be able to look it further for now.
P.S.
Make sure you revert back to original what you tried first when trying this.
Cheers!