Hi,
I had our homepage built on the main theme instead of the child theme.
Is it best practice to build everything in the child theme?
Thanks
Hi,
I had our homepage built on the main theme instead of the child theme.
Is it best practice to build everything in the child theme?
Thanks
Yes - otherwise updates may overwrite your work.
Yes, unless you don’t plan to add anything to the theme files. Worth noting that you won’t lose progress by activating the child theme now (again, unless you added some custom code to the theme files themselves).
@alanj @charaf - Would it create any major inconveniences (I guess main thing would be work flow?) for someone working on my site, if I kept the home page on the main theme and going forward did everything in the child theme? (We have not used any custom code on the main theme to build the home page)
@helloworld you should always keep the main theme installed, you would just activate the child theme on the site. If you don’t have any custom code then everything would stay the same. And if you don’t plan on adding any custom code to the theme itself, it should also be fine to keep building the site without a child theme. Always make sure to take a backup of your site just in case anyways
If you’re comfortable with PHP, HTML, and CSS and want more customization flexibility, a child theme may be the way to go. But, If you’re looking for an easy and safe way to add custom code to your site without getting into technicalities, a code snippets plugin may be a better choice .
youtube code snippet examples