wordpress-theming - Why does my child theme break my Divi website's header menu?
问题描述
When I activate my child theme, the header menu on my website displays a combination of all header and footer menu items plus others that aren't on any menu. I was able to activate the same child theme on a staging site of my website where the menus all displayed properly. I even tried activating the child theme on the live site without any files in the child theme folder. Even without any files in there, the problem still happened. Re-activating the main divi theme solves the problem, but obviously means I can't have a child-theme.
I've tried the usual google search avenues for this problem but haven't found anything or anyone with the same problem. Has anyone here had this kind of problem with divi or a different theme before and may I ask what you did to solve it?
Many thanks
解决方案
最终,我意识到我的问题是在更改语言时发生的,因此它与我的语言插件 Polylang 有关。从那里我发现最近有同样问题的其他人找到了解决方案:https ://wordpress.org/support/topic/polylang-doesnt-work-with-child-theme/
推荐阅读
- sqlite - 在android中为treeview创建数据库
- c# - 如何使用 NSubstitute 在构造函数上模拟 ILogger
- github - 如何使用 svn 命令从 github 获取代码
- html - CSS网格:将方形单元格与具有一致网格间隙的容器边缘对齐?
- mysql - 如何正确声明变量 phpmyadmin mysql 触发器?
- highcharts - 如何在条形图中隐藏网格线突出
- javascript - OnMouseOver 没有激活头部定义的函数
- javascript - 使用 javascript 显示一些非常基本的数据
- javascript - Javascript:编辑列表项
- google-api - 我怎样才能让谷歌帐户的“userId”影响他们的 api?