升级到WordPress 2.5.1
早晨起来,就看到WordPress 2.5.1出来了,立即升级!
看介绍,这次升级包含了近70处安全更新、性能增强。
如果你只对BUG修正有兴趣,也可以只覆盖wp-includes/pluggable.php,wp-admin/includes/media.php,wp-admin/media.php这三个文件。
其它修正更新包括:
- 后台首页、文章撰写、评论编辑得到性能提升
- 分类很多的情况下的性能得到提升
- 修正了媒体上传
- 升级 TinyMCE 到 3.0.7
- 修正了 Widget 的管理
- 更多有用的升级
- IE 布局修正
最重要的,建议大家为增强WP安全性,在wp-config.php 增加一行
define(‘SECRET_KEY’,…….
SECRET_KEY通过 http://api.wordpress.org/secret-key/1.0/
生成。
使用ADSense Inline插件
这个插件可以让你将ADSense的代码插入任意文章中任意位置,安装使用也非常简单。
首先,到Phil online下载该插件,解压后只有一个文件adsense.php。修改adsense.php中的Google Adsense code为你自己的,然后像安装其它WORDPRESS插件一样将其上传到plugins目录,在管理后台将该插件激活,OK,马上就可以使用了!
1、对于WP,在撰写新文章页面的代码模式下,在文章想要插入广告的地方插入代码《!–adsense–>即可。
2、在修改文章页面,代码模式下会看到一个代码Adsense键,在想要插入广告的地方点击该键,会自动插入代码。
将广告代码插入到single文件的办法,要么是插到文章头部要么就是文章底部,而且要放就是全部文章。还是ADSense Inline较为灵活方便。呵呵,缺点是要手工逐篇添加。
另外,这个插件不仅可以插入ADSense的代码,只要是Javascript的代码都可以支持!
职业博客推荐的10个免费主题
以下是世界一流博客职业博客推荐的10个免费主题,作者是Reese Spykerman。
A search for free WordPress themes yields thousands of results, some dull or cluttered, some utilitarian, and many inspiring and beautiful. Numerous other well-designed WordPress themes are available to you, but these are 10 that stand out to me for various features including good usability, organization, attractive use of graphics, cross-genre appropriateness and even search engine optimization.
1. GridFocus Public
Skellie can’t be wrong: she uses this theme on both of her blogs.
Super easy to navigate and clear in its structure and hierarchy, GridFocus can impart a more serious, trustworthy tone to your blog.
Ideal for: ProBloggers, Frequent Bloggers, Minimalists, Authors, Internal Corporate Blogs
2. Blue Zinfandel Squared Enhanced
When you want your words to stand out without unnecessary clutter, try Blue Zinfandel.
The main body text size could be increased for greater legibility (you can change this in the style sheet under style.css>#content p and add a rule for “font-size” (such as font-size: 14px;).
The classical look of this design makes it a good fit for journalists and other writers.
Ideal for: Journalists, PR Reps, Authors
Read the rest of this entry »
CSS Style Generator
If you play with CSS once in a while you should check out the CSS Builder tool. You just need to name the selector that you want to style and fill out the form.

On the generator you will be able to style text and fonts, box properties, background colors and positioning. The output will be some lines of code like this:
a.hover {font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: bold;
font-style: italic;
color: ffffff;
text-decoration: underline;
}
Who Sees Ads 插件
Who Sees Ads 插件的作用是:
1,控制不同来源的读者看到不同的内容;
2,超过一定时间的帖子显示不同的广告;
3,不仅可以控制google adsense 广告,所有的广告代码都可以控制。
使用方法很简单:
1,到Who Sees Ads插件页面去下载该插件,然后解压,上传到plugins目录。
2,登录wordpress 控制面板,进入选项菜单,找到who sees ads 选项,设定相关的内容,然后保存就可以了。
如果你还不了解的话,可以到演示站点去体验一下。

