摘要:
每次登录wp后台都会看到wordpress的logo,会不会有点烦呢?想不想换个新的、自己设定一个呢?那么如何自定义wordpress登录界面的Logo呢?把代码复制到当前主题的 functions.php 文件,并且把自定义的 Logo 命名为 custom-logo.gif,并且放到当前主题目录的 images 文件夹下。add_action('admin_head', 'my_custom_logo');function my_custom_logo() { echo ' ';} 阅读全文
posted @ 2013-11-14 08:49
ytkah
阅读(576)
评论(0)
推荐(0)
摘要:
WordPress如果内存不够,你在操作的时候,就会碰到像这样的问题”Allowed memory size of xxxxxx bytes exhausted”(允许的内存 xxxx 字节已经用光了)默认情况下,WordPress 会尝试分配 32M 内存(在 settings.php 文件中设置),如果你服务器支持增加 PHP 内存限制,你可以通过在 wp-config.php 文件中给 WordPress 分配更多的内存。define('WP_MEMORY_LIMIT', '64M');如果你的空间允许的话可以设置更高 阅读全文
posted @ 2013-11-14 08:37
ytkah
阅读(566)
评论(0)
推荐(0)

浙公网安备 33010602011771号