I imported an existing website including my child theme over into a new site I’m putting together because most of the design work was already done for my old site and I’m just tweaking it to the new site. Is there a way to change the name of the child theme… rename it?
The child theme name does not appear in the frontend. So why rename the child theme?
Just to obfuscate the Enfold origin – this involves much more than just changing the name.
By the way – it is a good idea – to have a backup on this. And perhaps if you rename child and parent theme to save your theme settings file and maybe the quick css.
As long as you do not change the reference in the style.css of the child theme to the parent element, you can rename it as you wish.
Enfold even offers you the option of renaming the stylesheet of the Theme using a filter.
but read here carefully on the docu: https://kriesi.at/documentation/enfold/personalize-theme/
function avia_change_filename($stylesheet){
return 'myfilename';
}
add_filter('avf_dynamic_stylesheet_filename', 'avia_change_filename');
by the way dear dev/mods: on docu this snippet is listet with myfilename.css – this will lead to myfilename.css.css – so above only the name is neccessary – the css extension is added to the filename by default.
I must say, however, that those who are able to examine such things more closely will always recognise the basis of the theme.
Hi,
If you simply want to rename your child theme, then you can do so in style.css.
Thanks for helping out @guenni007 :-)
Best regards,
Rikard