导航
用户登录
最新blog文章
搜索
在线用户
wordpress
site5 的15个sql 连接限制
太郁闷了,wordpress 首页都不止这个数,wp-admin 根本没打开就挂了,连进去看看、修改plugin 的机会都没有。
- Each application that interfaces with a database should be using its own individual MySQL database username to connect to the database. Sharing a single database user with multiple applications will result in you prematurely hitting the set user limit of 15.
已经这么做过了。好几个 sql account
- guoshuang 的blog
- 要发表评论,请先登录 或 注册
- 阅读全文
wordpress 的连接数
site5 主机提供的 sql 连接数有限制,导致 blog.guoshuang.com 经常出现
Error establishing a database connection
非常郁闷。在源代码中可以看到 aveo.guoshuang.com(只有 Akismet Google XML Sitemaps两个插件)
19 queries. 1.317 seconds.
好像 site5 的限制就是25个。:(
- guoshuang 的blog
- 要发表评论,请先登录 或 注册
修改 wordpress widgets 中 Tags 的代码
wordpress widgets 中 Tags 附近代码
Tags 别说包裹标签,后面连空格都没有。不好弄样式。
修改 wp-includes 目录的 widgets.php
function wp_widget_tag_cloud($args) {
...
$title = empty($options['title']) ? __('Tags') : $options['title'];
修改里面的 __('Tags') : 为 __('') : 或者其它。
- guoshuang 的blog
- 要发表评论,请先登录 或 注册
wordpress 判断是否首页
我需要首页有特征
以便进行样式处理。
样式表内容为:
- guoshuang 的blog
- 要发表评论,请先登录 或 注册
最新评论
10 周 2 天 前
10 周 2 天 前
10 周 2 天 前
11 周 5 天 前
16 周 21 小时 前
16 周 1 天 前
20 周 5 天 前
20 周 5 天 前
23 周 2 天 前
23 周 3 天 前