Hello,
I have done fresh localhost install to test the latest version before I can implement on live server.
If I rename theme name from newspaper to something else and also update style.css with new theme name.
Installed Retro Demo and got error on home page
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: tdm_header_style_3 is not set.
C:\Program Files\VertrigoServ\www\demo\wp-content\themes\inkoholics\includes\wp_booster\td_api.php
wp booster error:
td_api_base::get_key : a component with the ID: tdm_header_style_3 Key: file is not set.
C:\Program Files\VertrigoServ\www\demo\wp-content\themes\inkoholics\includes\wp_booster\td_api.php
While if I revert back to original theme name Newspaper, I dont see any error and demo works perfectly.
Is there anyway you can fix the issue and make theme compatible with any theme name because I dont want my competitors to know which theme I am using.
Hi,
There might be problems if you try to change the theme name. Other changes to make in addition to changing the theme folder and stylesheet name. Unfortunately we did not make any tests like this up to this moment.
There could be plugins or other solutions that you could use to hide the theme name in a WordPress website.
Thanks
Hello,
We have been using this theme for last 3years with theme name changed. We never had issue. But now if we update our theme, we dont want to loose any data and settings.
The solution you are providing will lead me to never update the theme.
Please kindly test the theme with modified name.
Hi,
The theme panel settings and custom code entered in the theme panel, will not be lost after a theme update. Or you could create a child theme for theme customization
– https://forum.tagdiv.com/the-child-theme-support-tutorial/
It is as well recommended to make periodic backups, in case something unpredictable happens.
Thanks
Hi,
Yes we use child theme right now but we change main theme name and child theme name as per naming convention of wordpress 3 years ago. Now, it would be hard for us to change theme, please test it and make it available in such a way that things should not be depended on theme name. Irrespective of theme name, theme should work. For the first time I have seen that a theme only works if it has its original name.
I would recommend you to follow wordpress standard and https://codex.wordpress.org/Theme_Development
Hi,
As it currently is there is no guide that I could provide you for changing the theme name. You can make tests with changing the theme name.
Try deactivating all plugins including theme plugins. Change the folder name and stylesheet name. Activate the new theme in WordPress settings. Reinstall theme plugins. Then check the results.
Thanks
Hello,
Yes I did the same. I have made a fresh wp install without any extra plugin installed Newspaper theme and bundled plugin.
The issue appears from Multipurpose & tagdiv page builder shortcodes they are not working.
Without these two plugins theme works.
So i suspect Multipurpose or tagdiv page builder checks theme name before it can be applied.
If you can remove that restriction of name. May be it would work?
Hi,
Try reinstalling the theme plugins after changing the theme folder and stylesheet name. Delete them from the plugins folder, and reinstall them from the theme plugins panel. There will be errors if they are active when you change the theme name and activate it.
Thanks
Yes,
Tried both ways.
1) Installing WP, then rename theme and install theme.
2) Installing WP keep theme name same and later on put renamed theme.
In both way it doesnt work.
I will recommend you to test it on your localhost so that you can know the real cause of the issue.
Hi,
But I have tried it, those were the steps I made, the result you can see here
– https://www.screencast.com/t/CTr2fsvYKT
– https://www.screencast.com/t/fKQtOZa1lu
– https://www.screencast.com/t/5AYcjYUZFu5G (installed plugins after renaming)
– https://www.screencast.com/t/OXygaeycfj
– https://www.screencast.com/t/zLZZZggBn2wU
Thanks
Hi,
I understand the the level of testing, if you dig a bit more and move to Theme settings page you will see error:
https://i.imgur.com/9m82HcG.png