简体   繁体   English

如何在子主题中使用html

[英]How to use html in child theme

I am confused as I have installed child theme and I want to remove a top bar From menu. 我已经安装了子主题,因此我很困惑,我想从菜单中删除顶部栏。 I was checking for HTML code in the activated child theme but I am not getting that HTML code Which I want to remove. 我正在检查已激活的子主题中的HTML代码,但没有得到要删除的HTML代码。

just check your main theme folder where header.php file is listed. 只需检查列出header.php文件的主主题文件夹。 copy that file in your child theme directory and modify as per your need. 将该文件复制到子主题目录中,然后根据需要进行修改。 wordpress auto overwrites main theme header file with child theme header file. wordpress自动用子主题头文件覆盖主主题头文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM