简体   繁体   English

Wordpress插件 - CSS无法加载

[英]Wordpress Plugin - CSS not loading

Plugins are not loading the CSS files. 插件没有加载CSS文件。

The CSS of the theme is loading just fine but the plugin CSS does not load. 主题的CSS加载很好,但插件CSS不加载。

If relevant, the website is: http://de.rundertisch.org/ 如果相关,该网站是: http//de.rundertisch.org/

wp_head(); wp_head(); was missing from header.php before 之前没有从header.php中丢失

also don't forget wp_footer(); 也不要忘记wp_footer(); in footer.php before 在footer.php之前

I had a similar problem where the style did load but wasn't working correctly. 我有一个类似的问题,风格加载但无法正常工作。 I solved it by replacing: 我通过替换来解决它:

<body>

with

<body <?php body_class(); ?>>

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

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