July 11th, 2024

Should I use parent or child theme in WordPress?

Like (1) Comments (1)

1 Comments Add Your Comment

Balvinder Singh
3 years ago Selected
Parent and child theme is a nice and needy concept added by Wordpress. Sometimes, out of the box themes do not work and we need to add custom code/widgets to change functionality or introduce a new. So this works, but when we update the theme all changes get lost, as we done the change in theme files.
So, to prevent the change, we use child theme. Child theme is a minimal config files copied from main/parent theme files. This does not contain all files, but only minimal required. This way, we can use parent theme for other files, without affecting the changes and preserving child theme changes. We can add more config to customise more from parent theme for whatever changes we require.

So, parent child theme helps
1. Custom changes
2. updating themes
3. preserving changes.

Like (1) Reply

Post a Comment

To leave a comment, please Login or Register