我在WordPress Customize Appearance> Customize中放了一些CSS代码, 在我的案例中Additional CSS选项, 但是我不知道将它们放在那里是否安全, 因为如果主题可能会更新, 我担心会丢失它们。
#1
你可以将代码安全地添加到定制器区域, 即使在更新主题时也可以将其保留在原位。尽管如此, 由于更精细的控制, 我们还是建议使用”儿童主题”。
#2
是的, 你可以在此处添加其他CSS。出于同样的原因, 它也在那里, 并且即使在你更改主题, 插件或wordpress之后, 你的代码也不会被清除。
来源:
https://www.srcmini02.com/63613.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_41761.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57