admin管理员组文章数量:1279083
Client has a very strange request where they want to just install Child theme and have the parent theme be inside child theme.
So essentially, they don't want to show parent theme in the list of Available or installed themes in WP theme section.
Wondering if this is even possible? Thoughts?
Client has a very strange request where they want to just install Child theme and have the parent theme be inside child theme.
So essentially, they don't want to show parent theme in the list of Available or installed themes in WP theme section.
Wondering if this is even possible? Thoughts?
Share Improve this question edited Oct 24, 2021 at 8:24 fuxia♦ 107k38 gold badges255 silver badges459 bronze badges asked Oct 24, 2021 at 6:50 Wali HassanWali Hassan 3461 silver badge5 bronze badges1 Answer
Reset to default 0This is New Idea, but till now there is no way we can install parent theme inside child theme, but according to your requirement we can hide the theme from the list of available themes.
this approach is not global but your project-specific you can identify your theme name which you want to hide. and then using CSS you can hide it
for example: here I attached 2 pic
in this i have prent theme Divi which i hide it using css data selector
[data-slug="Divi"] { display: none; }
As I am not front-end developer, hiding like this cause design issue so you can improve this. Thank you
本文标签: Can I place quotparent themequot inside a child theme folder
版权声明:本文标题:Can I place "parent theme" inside a child theme folder? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741254276a2366371.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论