wordpress 2.9升級simple tag can't work解決
剛剛升級到最新版wordpress 2.9,升級很快,但是提示: Simple Tags can't work with this WordPress version !,現在頁面不能正常顯示,發帖時tag找不到了,先發一貼試一試,還沒有找到解決辦法,正在尋找答案……
1 我目前的臨時解決辦法是:
為了正常顯示頁面,臨時解決辦法是將 標籤雲調用的代碼臨時去掉,即
《php st_tag_cloud( ); ?》 註:雙書名號改為單書名號
這樣就可以正常顯示頁面了,只是沒有標籤雲;
2 去官方外掛程式網站看了一下:寫著
「Simple Tags 外掛程式不能 Simple Tags is the successor of Simple Tagging Plugin This is THE perfect tool to manage perfeclty your WP 2.3, 2.5, 2.6, 2.7 and 2.8 tags
原來在當前 Wp2.9 版本工作上不兼容,最高版本檢查到wp 2.8 只好在官網繼續看找到了:
Nothing in 2.9, as far as I can see, that will actually break Simple Tags. The error is thrown because the author has hardcoded a version check.
If you edit the plugin via the editor interface, find this line (near the top):
if ( strpos($wp_version, '2.7') !== false || strpos($wp_version, '2.8') !== false) {
and change it to
if ( strpos($wp_version, '2.7') !== false || strpos($wp_version, '2.8') !== false || strpos($wp_version, '2.9') !== false ) {
原文標題:wordpress 2.9升級simple tag can't work解決 - 美博園
美博園文章均為「原創 - 首發」,請尊重辛勞撰寫,轉載請以上面完整鏈接註明來源!
軟體著作權歸原作者!個別轉載文,本站會註明為轉載。
網 友 留 言
1條評論 in “wordpress 2.9升級simple tag can't work解決”這裡是你留言評論的地方
正在招辦法,謝謝分享