If you’re using a copy or gpl version of Jannah Theme this error ” This website is using an illegal copy of Jannah theme” will already affect your site. If not, it will come soon. Don’t need to worry at all. I’ll help your fix this issue. just follow these easy steps.
There are two ways to solve this problem. You can buy (which I will suggest) the theme or if you are still facing the issue with your new or existing (maybe gpl) Jannah Theme just try below steps, it will solve your problem.
- CPanel Access ( or FTP Access of your WordPress site hosting server)
- Notepad++ or any other text editor
- Tested on Jannah Version 4.6.6
Follow below steps
Step 1: Go to Hosting’s CPanel and use their File manager (FTP mode)
Step 2: Directory/File : public_html > wp-content > themes > jannah > inc > style.php
Step 3: Then go to style.php or find this file as above mentioned directory.
Step 4: Download style.php and open it using notepad++
Step 5: Use Ctrl+F to Search this code “add_action( ‘init’, ‘jannah_theme_custom_styling’ );”
If you are not able to find try to find any substring part of the above string/line.
Step 6: Then modify or comment that line like this //add_action( ‘init’, ‘jannah_theme_custom_styling’ ); or adding // in start of that line.
Step 7: That’s it. Now save style.php and upload it to the previous location. Now, refresh the browser and everything will be back to normal 🙂
If you have any questions, use the comment section.