Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

脱离对 api.hzy.pw 的依赖 #13

Closed
h2y opened this issue Jun 13, 2017 · 1 comment
Closed

脱离对 api.hzy.pw 的依赖 #13

h2y opened this issue Jun 13, 2017 · 1 comment

Comments

@h2y
Copy link
Owner

h2y commented Jun 13, 2017

api.hzy.pw 是我开发的 API 服务器,在 germ 主题中提供了 2 个炫酷的功能:

  • 页面首尾的随机名人名言。
  • 随机矢量风格的评论头像。

但其实这两个功能都可以在 germ 中通过 php 或前端直接实现,不需要调用第三方 API,效率更高。

这样同时也避免了因为我的服务器抽风,而造成大家网站访问异常的潜在风险。

h2y added a commit that referenced this issue Jul 7, 2017
代码优化
搜索时禁用 AJAX(fix #14
@h2y h2y closed this as completed in 264e80b Jul 7, 2017
@h2y
Copy link
Owner Author

h2y commented Jul 7, 2017

目前已完成整改,所有功能由主题直接实现,不对外依赖,我的 API 服务器将于近期关闭,请大家升级到 v.23 或以上版本。

下载新版主题后,直接解压覆盖到 /wp-content/theme/germ/ 即可。

https://github.com/h2y/germ#wordpress-theme-germ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant