我只是将qTranslate插件添加到了我的WordPress网站, 但是现在, 当我在菜单中切换到另一种语言时, 菜单和按钮中的CSS颜色将恢复为默认颜色。 (仅使用新语言)
http://www.gasolina.me
对元素的进一步检查显示, 浏览器正在/ es /或/ fr /目录中查找css(selection.php), 但由于该目录不存在, 因此颜色从另一个CSS文件恢复为默认值。
其他所有CSS都可以(可以从正确的位置下载), 只需选择selection.php
我尝试将文件手动添加到新的/ es /目录中, 但是当我添加该目录时, 它会使主页混乱并显示错误。
在CSS文件中标记为”启动器”的文件(在我的浏览器检查器中)未在PHP CSS文件的href链接中调用/ es /目录。所以我不知道在哪里解决错误。由于从同一个文件中调用的所有其他CSS文件都不会在language目录中查找。
有什么想法吗?
#1
好的, 因此解决方案是将php扩展名添加到高级设置内的qTranslate忽略链接设置中。这样就不会翻译php文件(或者说是其地址位置)
来源:
https://www.srcmini02.com/63798.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_41673.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57