Completely Turn-off Revision in WordPress 2.6+

March 3rd, 2009 Phanix

從 WordPress 2.6 之後,就開始提供了 revision 的功能,雖然很貼心,可是每次的 autosave 都會建立一個 revision 版本,使得資料庫及文章編號成長的速度都變快許多,所以就有許多人想辦法來解決這個問題。

一開始我是參考廖大寫的方法,在 wp-config.php 中加上一行程式碼,或者安裝 Disable RevisionsNo Revisions

但是對我這種還是會去編輯過去已經發表的文章的人來說,這樣還是不夠的,因為如果去編輯「已經發表的文章」,我發現還是會建立一個 revision… 。原本已經打算手動改 wp-includes/post.php 了,幸好尋尋覓覓之後找到了 WP-CMS Post Control 這個 plug-in,一勞永逸把 autosave 跟 revision 通通關掉乾脆多了。

Upgrade to WordPress 2.7

January 3rd, 2009 Phanix

還是有一點很詭異的小問題… :(

  1. 用 IE 的話,右邊的 search form textbox 居然消失了 @___@  (雖然我自己不太用IE,但有其他人一樣的嗎?)
  2. 用 NB 上頭的Firefox 看不到 google adsense 的廣告,可是擺在學校的機器上頭的 Firefox 卻可以?另,詭異的是學校上頭的Firefox在右邊的 category tree 卻會亂掉 ~”~

Update (2009/1/10): 修好了,該死的CSS…

Change the look of my blog

October 14th, 2008 Phanix

About 1 month past from the last change, and I think it is enough for the celebration of my espresso system. So, I change the look of my blog again.

The major changes include the new title picture, it was taken in Kobe, Japan. And I also heighten the canvas of title picture. Another major change is I widen the area of article body, because I want to place larger pictures in my blog. I think larger pictures grab more and inform more. :)

[Update, 2008/10/14]
I add a javascript, and now the title picture will choose one from four randomly. :D


_MG_3727 (by Phanix)

_MG_3729 (by Phanix)