Nextgen Gallery 支援中文目錄以及檔案

Nextgen Gallery 支援中文目錄以及檔案

Nextgen Gallery 會將中文名稱自動變成目錄名稱,導致目錄路徑變成亂碼如%4%5%3%5%78%5465 等形式,造成目錄名稱與資料庫的名稱不符,會找不到圖片!


1. 支援中文目錄

修改 functions.php 內的 create_gallery

Read More Read More

千萬不要更新 nextgen gallery 2.x

千萬不要更新 nextgen gallery 2.x

Do not update nextgen gallery to 2.x !!!

最近一直在找好用的WP相簿外掛,發現最強的還是nextgen gallery,


BUG一大堆,而作者又開發了PRO的付費版,整個 2.X 版本後給他擺爛!



Recently been looking for an easy to use plugin of WP album, I found the name call ” NextGen gallery”,
However, since the update to 2.0 or more, screams everywhere, whether in education is not enough,
the word will disappear defined CSS styles,
SO many bug in this version, and the author developed after paying PRO version 2.x version of the overall conversion,
his would not debug for 2.x free version.

Therefore, we recommend that you install the most stable 1.9.13 version of the classic!

Google PageRank 今天更新了

Google PageRank 今天更新了






Google PageRank was updated today, my blog PR has been grwoing to PR2.

The last time Google Page Rank updated was in 2013/02/05.

keep going.

tinyMCE 移除困擾的 p 及改用 br 換行。

tinyMCE 移除困擾的 p 及改用 br 換行。

tinyMCE remove <P> and use <br> to break, also can  remove &nbps tag.



entity_encoding: ‘raw’,      //解決&nbps的;this for remove &nbps tag.
force_br_newlines : true,//啟用BR換行;use <br> to break;
force_p_newlines : false, //停用P換行, disable <P> to break;
forced_root_block : false, //移除開頭的<P>和<span>; romove the frist <P> and disable <span> tag


WordPress 3.6版 停用自動儲存

WordPress 3.6版 停用自動儲存


define(‘WP_POST_REVISIONS’, false);  //這個數值根本虎爛的,我改了False後 一樣還是給我自動儲存
define(‘AUTOSAVE_INTERVAL’, 86400 );  // 單位:秒 ,同上,這個值也是唬爛


2. wp-admin/post-new.php
把 wp_enqueue_script( ‘autosave’ ); 改成
//wp_enqueue_script( ‘autosave’ );


以上成功在Wordpress 3.6版停用自動儲存


WordPress version 3.6 to disable autosave

So far the network said the method useless!
Until I tried it and found the correct way to modify, amend as follows:

1.wp-config.php file to first get rid of the two values
define (‘WP_POST_REVISIONS’, false); / / This value is simply rotten tiger, after I changed False or give me automatically saved as
define (‘AUTOSAVE_INTERVAL’, 86400); / / unit: seconds, supra, this value is also a fool rotten

The above two tiger rotten rotten but I still go fool according changed. But the most critical is the following

2. Wp-admin/post-new.php
The wp_enqueue_script (‘autosave’); into
/ / wp_enqueue_script (‘autosave’);

Get knock off!

More success in the WordPress version 3.6 to disable automatic storage