[WP]Plugin Recently Updated Posts 修正
Recently Updated Post 是用來在sidebar顯示最近有更新文章的plugin,使用之後發現滑鼠移到文章上會出現的title標題是亂碼,於是自己看theloop.php亂改一通,結果真的正常了,特此一記
開啟recently-updates-posts.php,找到這一段(第18行)
.htmlentities($p->post_title).
改成
.wp_specialchars(strip_tags($p->post_title)).
這樣就ok了
2008.02.01 Update! (誰要幫我訂正…)
Write for in English..humm..well..it’s my 1st english article..
If you use asia based (like Chinese) language to write your blog, in Recently Updated Post‘s sidebar widget will show the words message when mouse over the post links in the title. (<a title=”blahblah“> the blue words will show garbage characters)
I follow the example of theloop.php (it’s work good) and fix it.
open recently-updates-posts.php find these (line18)
.htmlentities($p->post_title).
change it to
.wp_specialchars(strip_tags($p->post_title)).
ok!
Hello,
thanks for writing a post about my plugin.
Unfortunately I can not read a single sign, I hope you wrote only good things 😉
Maybe you could translate the part where you say something about htmlentities() and wp_specialchars().
Btw.: Within the next two weeks an updated version will be released.
Greetings from Germany,
Hannes
» Hannes
welcome!
I just updated this article and replied on your plugin page, thanks.
Hello vsy,
thanks for translating the article for me. I have already made the change in my development version and will test it soon. If there are no problems with western charsets, it will of course be part of the next release.
If you have more suggestions feel free to post them on the plugin page.
Keep up,
Hannes
Hehe, btw we still have January here 🙂
It’s good enought to convey what you’d like to said. 🙂
– Write for in English
– will show the error words message
» Jeff
超級感謝
我依照你的建議修正了內文
» 新手…
我用Fx跟IE7看都沒問題,IE6會發生你說的情況(強烈建議不要用IE6了…太老該淘汰了XD)
如果你會修改CSS,可以試著修改sidebar的寬度將它調小,並且使用像素而不要用百分比(xx%)會減少版面錯位的情形
假如不會…那換一個skin是最快的方法:P
謝謝 超感激的 🙂 🙂
那請問版主你有好的skin建議嗎…
有時候弄這個真的會抓狂…
而且pixnet沒我想像中好用…
我css的語法要改只會一點點說…
還有很多連結的東西都還沒加上去呢….
努力努力
你的網頁很棒呢
小朋友超可愛的!!!謝謝你窩
» 新手
skin自己看喜歡最重要:D
可以從過濾條件下手,比如找可以同時在IE6&Firefox正常顯示的
東西想放多一點選三欄的,想簡潔一點選兩欄的:)