FastCGI自定义php.ini

在 public_html 目录的 .htaccess 文件加入: (continue reading…)

1 Comment more...

Changing the default “typo3/” directory

By default TYPO3 is administrated from the directory “typo3/”. You can change (rename) that so the backend is available from another directory, eg. “my_typo3_admin_dir/”. But the frontend and backend is tied together in some ways that mean you’ll have to change parts of the source code. That is relatively easy if you follow these guidelines: (continue reading…)


剖析WordPress模板文件

在WordPress中如何按你的意愿显示页面,关键看你是否了解WordPress主题模板页面。 这里所说的主题文件是指显示页面的主题文件,而非实现评论、侧边栏等功能的主题文件。大多数用户不使用WordPress安装时自带的默认主题,他们会在互联网上下载免费主题。 这是一种设计博客版式的好方法,但不是所有主题开发者都用相同的方式编写主题。 主题的表现很大程度上取决于开发者用在主题上的开发时间和对WordPress的了解。 (continue reading…)


WordPress“伪cron”

WordPress利用“伪cron”机制实现定时任务。如果想把某些功能加到WordPress的cron里,可以使用下面的方法。 (continue reading…)


WordPress模板制作的建议

1. 了解所有的模板标签

WordPress编写代码时一定要注意模板标签。当然你也可以通过简单的PHP代码实现同样的效果,不过,还是尽可能使用WordPress的模板标签。 (continue reading…)


WordPress内置的缓存机制

WordPress可以使用插件缓存,但其实在WordPress内部也有一套缓存机制,你可以使用很多函数轻松实现缓存。 为了让大家认识和了解这个功能,我使用一个简单的例子,缓存一个feed并在前端显示。 (continue reading…)

1 Comment more...

如何隐藏WordPress的版本号

为了方便追踪, WordPress底部默认保留了版本号。我们也是根据这些追踪信息才得以知道WordPress是世界最大的博客平台。但是如果你使用的不是最新的WordPress版本,保留这些踪迹在你的站点上有时却有可能给你的网站带来安全漏洞。这些信息对黑客是非常有用的,你告诉了他们你目前正在使用的版本号。 (continue reading…)


WordPress博客提速十一招

1. WordPress缓存


使用WordPress对象缓存 (continue reading…)


wordpress模板制作

WordPress基本模板文件 (continue reading…)


MySQL字符串中的大小写转换详解

MySQL字符串大小写转换

deMySQL 字符串大小写转化函数有两对: lower(), uppper() 和 lcase(), ucase() (continue reading…)


Copyright © 1996-2010 Add Lives. All rights reserved.
iDream theme by Templates Next | Powered by WordPress