admin管理员组文章数量:1419248
I'm really new to Wordpress development and had made a mistake by changing a parent theme for customizations instead of customizing a child theme. Not i cannot use the updates that my theme provider provides. Is there a way to fix this? Theme has WPbakery page builder as the primary building extension.
I'm really new to Wordpress development and had made a mistake by changing a parent theme for customizations instead of customizing a child theme. Not i cannot use the updates that my theme provider provides. Is there a way to fix this? Theme has WPbakery page builder as the primary building extension.
Share Improve this question edited Aug 4, 2019 at 18:02 fuxia♦ 107k39 gold badges255 silver badges459 bronze badges asked Aug 4, 2019 at 17:47 Randunu DimeshanRandunu Dimeshan 32 bronze badges 2- Do you keep a record of the files you've modified on your main theme? – Eduardo Escobar Commented Aug 4, 2019 at 20:29
- unfortunately i did not :( – Randunu Dimeshan Commented Aug 11, 2019 at 7:59
1 Answer
Reset to default 0From my answer to I modified the parent theme without creating a child theme (similar question)
As stated in a comment, any changes you made to the parent theme will get overwritten with the theme update.
But, you could copy all of the parent theme code to a new theme folder, adjust the theme header on the copy to make it a child theme. You could activate the copied theme, or make it a child theme, and then dig out the changes you made to the theme. Put those changes in another theme folder, adjusting it to a new child theme name, then activate that new (2nd) child theme.
All of this is a cautionary tale about the importance of child themes.
本文标签: Making a child theme in order to update the parent theme
版权声明:本文标题:Making a child theme in order to update the parent theme 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745269649a2650811.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论