i installed betheme and betheme child. For security purpose i would like to change the name of "betheme" folder. How can i do this in order to connect this new folder to the child? Thanks
both themes, must have the same folder name. So if your new name will be xxx then child theme should be xxx-child. Please also notice, that after you change theme name, you will lose menu or widgets settings because this will be completely new theme for WordPress.
thanks for your reply. I try but when i change both folders names i have an error, child theme cannot find father theme. I use xxx and xxx-child. I should modify something else? Thanks
This error is related with server settings. Please try to go back to original theme names and check if on original it works fine or you also get the same error.
But did you switched to default wp theme before you made this change? Because first, you must switch to default theme and then do this changes. You are probably doing this on activated theme and that's why you got Internal Server Error.
This is really unbelievable. We did it the same 3 times today and all works fine. You must did something wrong for sure. Please send us dashboard access privately and we'll check what you did wrong.
I have a similar problem but with WordPress MULTISITE. I few times I installed a variety of templates and I created theme-child and was ok.
1. I installed Betheme and Betheme-child 2. I changed name Betheme-child for example My-theme and I changed style.css /* Theme Name: My-theme Theme URI: Author: Author URI: Description: Template: betheme Version: */ And still see in browser console in section <head> PATH with ...\theme\betheme\... in place of ...\theme\my-theme\... Only css url have correct PATH.
The files in the multisite are shared, the styles are drawn from one file, where the theme options are diffrent. You do not need to install a child thee for every multisite.
Yes, this is normal. All child themes get these files from the main theme. You would need to create a new file in the child theme and edit it there, with the same path. Then the child theme will read from it and not from the main theme.
We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.
Cookies are small text files that can be used by websites to make a user's experience more efficient.
The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.
This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.
You can at any time change or withdraw your consent from the Cookie Declaration on our website.
Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.
Please state your consent ID and date when you contact us regarding your consent.
Comments
both themes, must have the same folder name. So if your new name will be xxx then child theme should be xxx-child. Please also notice, that after you change theme name, you will lose menu or widgets settings because this will be completely new theme for WordPress.
Thanks
I have a similar problem but with WordPress MULTISITE.
I few times I installed a variety of templates and I created theme-child and was ok.
1. I installed Betheme and Betheme-child
2. I changed name Betheme-child for example My-theme and I changed style.css
/*
Theme Name: My-theme
Theme URI:
Author:
Author URI:
Description:
Template: betheme
Version:
*/
And still see in browser console in section <head> PATH with ...\theme\betheme\...
in place of ...\theme\my-theme\...
Only css url have correct PATH.
Please help! Thanks!
http://pestar.infoprofes.pl/
and other in Multisite:
http://kserocentrum.pestar.infoprofes.pl/
Directory login and password: braluk P3star_2017
Password to hide the page during work :-)
By the way, should I for every page in MULTISITE create theme-child or one time?
But I stell see betheme name in path my theme-child(pestar)
example
<script type="text/javascript" src="http://pestar.infoprofes.pl/wp-content/themes/betheme/js/plugins.js?ver=17.4"></script>
If I use only one site path is correct but multisier don't