<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 8 年前。
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 8 年前。
我一直在网站上工作 http://pacificexpress.com.au使用二十十二主题。
我正在修改 footer.php,当我刷新我的网站时,子主题中的所有额外 CSS 都不起作用。
我恢复了对 footer.php 所做的更改,但我的子主题 CSS 中的任何内容都没有应用到我的网站。我还尝试一起删除子主题,然后重新安装,但这也不起作用。
任何帮助将不胜感激,
詹姆斯
最佳答案
确保/twenty 12/style.css 文件也被还原。 还要确保在您的 footer.php 中指示它使用该 css 文件。
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>/style.css" type="text/css" media="screen" title="no title" charset="utf-8">
关于php - child 主题停止工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24816707/