Child theme for modifications
I am completely new to wordpress and I am not a programmer. I employed the services of someone to do some modifications to this wonderful theme of yours. The problem I have is that he did not use a child theme, told me a child theme will not work in this scenario and instead modified the main theme and added custom files and all. Every single time there is an upgrade here I have to call him up to upgrade and he charges me very high for upgrades and also wastes a lot of time.
He made changes to the following files:
1.public_html/wp-content/themes/askbug/anspress/addons/user/edit-profile.php
2.public_html/wp-content/themes/askbug/includes/hooks.php
3.public_html/wp-content/themes/askbug/functions.php
And added 9 other files.
What can I do solve this upgrade issues once and for all as I would love to simple perform upgrades once they are made available without having to constantly pay this developer to do that for me.
Hello,
He said wrong. You can override above files from child theme. Simply create a child theme and copy this files there keep same directory path. Like if you want to override:
wp-content/themes/askbug/anspress/addons/user/edit-profile.php
Then copy it to child theme with same path
wp-content/themes/askbug-child/anspress/addons/user/edit-profile.php
There are lots of plugins available to create a child theme by few clicks, search for them in wp.org. Lemme know if you need any further assistance.