导航

用户登录

聚合

聚合内容

在线用户

目前共有 0 位用户0 位游客在线。

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 于 周四, 08/07/2008 - 08:12 提交。

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 于 周三, 08/06/2008 - 08:38 提交。

修改 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 于 周四, 06/26/2008 - 10:40 提交。

wordpress 判断是否首页

我需要首页有特征

以便进行样式处理。

样式表内容为:

guoshuang 于 周五, 05/30/2008 - 11:05 提交。
by guoshuang 2007 with drupal. RSS Sitemap