Home > All | WordPress > 【plug-ins】WordPressに絵文字を追加しました Part2

【plug-ins】WordPressに絵文字を追加しました Part2

wp-grinsを導入しました!!と書いたばかりですが、Custom Smiliesへ変更しました :masaka:

Custom Smiliesのスゴイところは、WordPressのダッシュボードの設定に ”smilies” という項目が自動追加され、絵文字の管理が出来るので、とーっても楽チン! :drive: なのデス!

しかも!!

コメントフォームにも絵文字が簡単に追加されるとの事。

開発者さんのページでも「vre2.3以降は マニュアルで記述しなくっていいよ」と解説されており…

If you want to add clickable smilies to your comment form,
append these lines to your current theme’s comments.php file,
just before the form begins(You don’t need do this if your theme suppor the action named comment_form since version 2.3):

管理ページには、オプションにチェックをいれるだけで(もしテーマがサポートしてたら)コメントフォームで絵文字が使えると書いてあった。

Other options:

Use the action named comment_form in comments.php if your theme support it.
So you don’t need to add cs_print_smilies() in comments.php manually.

なのでオプションをポチッと… :doyo:

……私のテーマには対応しないのね。

comments.phpを開き、
< ?php if ( function_exists(cs_print_smilies) ) {cs_print_smilies();} ?>
をコメント欄の真下(レイアウト的に”dl”の直前)に追加しましたらお目見え~ :kita: パチパチ
だけどなぜ??

今度はクリックしても反応しない…
ドラッグしたらパスが表示されるばかり。

なんと原因は、idでした~

wp.Vicuna Ext.の場合、コメントのIDには”comment-text“と入力したら正しく動きます。
教えてくださった方に感謝 :heart:

ふぅ…2日がかり。

Custom Smiliesのダウンロード:高山仰止
※v2.8beta版、WordPress 2.3+で動作します。

ついでに、comment-form-quicktagsも追加~

【参考サイト様】
かちびとnet

Related Posts B

  1. 【plug-ins】WordPressに絵文字を追加しました
  2. 【plug-ins】WP-Note 投稿記事を彩る小技
  3. 【plug-ins】lightbox系WP-Slimboxで画像をオーバーレイさせる。
  4. 【plug-ins】NextGEN Gallery Review の設定方法を(かなり)かいつまんで

Comments(コメント欄):1

kanamello 10-01-18 (月) 10:39

test :osaka:

Comment Form(コメントフォーム)
Remember personal info(入力情報を記憶させる)
:nod: :ok: :skip: :run: :love: :banzai: :plain: :train: :drive: :bike: :heart: :woolly-minded: :decline: :glistening: :no2: :bat: :maru: :batsu: :tissue: :bath: :home: :plant: :sakura: more »

Trackbacks:0

Trackback URL for this entry
http://www.kanamel.com/2010/01/15/%e3%80%90plug-ins%e3%80%91wordpress%e3%81%ab%e7%b5%b5%e6%96%87%e5%ad%97%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%97%e3%81%be%e3%81%97%e3%81%9f-part2/trackback/
Listed below are links to weblogs that reference
【plug-ins】WordPressに絵文字を追加しました Part2 from at whim at any time...

Home > All | WordPress > 【plug-ins】WordPressに絵文字を追加しました Part2

ブックマーク + RSS
twwets
あわせて読みたい
あわせて読みたいブログパーツ
RSS at whim at any time…

Return to page top

Switch to our mobile site