admin管理员组文章数量:1323730
I have purchased to themes from Qode which my client has chosen.
Both themes have a "core" plugin which is used for specific areas, like "events", breadcrumbs and portfolios" etc.
Firstly, annoyingly the theme does not support breadcrumbs for custom post types so I needed to change the file that displays these, which I have done via the core plugin fine, but I am aware that during an update this will probably get overridden.
I have tried to save the file I edited within both the main theme and child theme in the same hierarchy as the plugin but still the plugin files are the ones used - not the ones in either the theme or child folders.
How do I get the site to use the files for the plugin that are now stored within the theme or even better, the child theme?
Never had this issue before so really stumped - any help appreciated!
Thanks in advance
I have purchased to themes from Qode which my client has chosen.
Both themes have a "core" plugin which is used for specific areas, like "events", breadcrumbs and portfolios" etc.
Firstly, annoyingly the theme does not support breadcrumbs for custom post types so I needed to change the file that displays these, which I have done via the core plugin fine, but I am aware that during an update this will probably get overridden.
I have tried to save the file I edited within both the main theme and child theme in the same hierarchy as the plugin but still the plugin files are the ones used - not the ones in either the theme or child folders.
How do I get the site to use the files for the plugin that are now stored within the theme or even better, the child theme?
Never had this issue before so really stumped - any help appreciated!
Thanks in advance
Share Improve this question asked Sep 12, 2020 at 15:53 Deb ShawDeb Shaw 11 bronze badge1 Answer
Reset to default 0Unfortunately, that is not going to work.
Only files you find in the parent theme can be overridden in a child theme, and even at that it's only the actual WordPress specific files that will be overridden.
The only real way you would be able to do this is if the theme developer integrated a function to check for those files, or used filters for it.
My experience with Qode though this is not possible at all, and you will not find any easy way of doing this.
本文标签: Theme that includes a quotcorequot plugin but the files in theme and child folder ignored
版权声明:本文标题:Theme that includes a "core" plugin but the files in theme and child folder ignored 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742120238a2421661.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论