- 2009-08-14 (金)
- Website
テーマに、wp.Vicuna Ext. Customをお借りしてるのですが、これだとコメント欄のtextフィールドのIDがcomment-textになっていて、Quote CommentsのデフォルトのIDであるcommentと一致しないのが原因。
ので、当該箇所を、ちょっと書き換えるだけでOK。
オリジナル
$quote .= '<a href="javascript:void(null)" title="' . __('Click here or select text to quote comment', 'quote-comments'). '" onmousedown="quote(\'' . get_comment_ID() .'\', \''. get_comment_author() .'\', \'comment\',\'div-comment-'. get_comment_ID() .'\''. $textile .''. $mce .'); return false;">';
\'comment\'を書き換える。
$quote .= '<a href="javascript:void(null)" title="' . __('Click here or select text to quote comment', 'quote-comments'). '" onmousedown="quote(\'' . get_comment_ID() .'\', \''. get_comment_author() .'\', \'comment-text\',\'div-comment-'. get_comment_ID() .'\''. $textile .''. $mce .'); return false;">';
ささやかな日本語化は、quote-comments-ja.lzh。
.moファイルをquote-commentsフォルダに入れるだけ。
- 次の記事: Flexible Upload
- 前の記事: 夏のツユクサ
コメント:2
- Heayan 09-08-14 (金) 16:50
-
レンタルブログと違って色々と大変なようですね。
WordPressはいずれ携わるようなると思うので参考にさせていただきます。 - nosaku 09-08-14 (金) 17:03
-
Heayan: レンタルブログと違って色々と大変なようですね。
レンタルブログと同じように使うなら、手間はかからないですよ。
wordpressは良くできてます
お仕事で作ってるWebSiteだと、いろいろ要件があるので、
あれこれテストしてる次第です。でも、こういう技術系のネタ、長続きしそうにないです

書くのが面倒くさくて。
でもどこかに記録しておかないと、すぐ忘れちゃうし。
Trackbacks:0
- Trackback URL for this entry
- http://nosaku.net/archives/909/trackback
- Listed below are links to weblogs that reference
- Quote Comments from 写真をめざせ!(略して写め)



