假设我已经在wordpress中安装了BE Theme。如果我从style.css文件中更改默认主题名称和其他作者信息, 以后是否可以获取自动更新?
#1
WordPress更新系统使用主题/插件目录名称/主文件作为用于检查更新的插件。
这意味着你可以更改style.css中的值, 并且仍然可以检查和执行更新(只要目录名称保持不变)。
另一方面, 这种更改存在两个问题:
- 这些值将在每次更新后恢复。
- 这是不道德的。你不是该主题的作者, 也不是你的主题, 因此, 你不应该让客户考虑其他问题。而且, 如果该主题属于GPL, 则违反其许可。
但是…你可以(并且应该)创建一个子主题, 然后可以在其中放置任何所需的信息。
来源:
https://www.srcmini02.com/64147.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_41510.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57