wp_enqueue_style未添加版本

我试图将版本添加到style.css文件中, 但实际上它没有将版本添加到style.css中, 而没有将版本添加到任何CSS文件中。这是我的代码

wp_enqueue_style( 'twentyfifteen-style', get_template_directory_uri() . '/css/style.css', array(), '1.0', 'all');

有谁知道这是什么问题?

谢谢


#1


既然你提到过, 如果样式表正在获得版本, 那我就不会怀疑, 我会怀疑插件或主题正在过滤这些URL。

尝试搜索你的主题和所有插件, 以了解是否使用了style_loader_src过滤器。你可能在那里找到问题。

来源:

https://www.srcmini02.com/66794.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_37008.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?