OpenID でコメントできるようになりました
WordPress の OpenID プラグイン を利用して、OpenID を利用してコメントできる機能を追加してみました。
OpenID プラグインは XRDS-Simple プラグインも必要なので、同時に導入しました。
$ wget http://downloads.wordpress.org/plugin/openid.3.1.4.zip $ wget http://downloads.wordpress.org/plugin/xrds-simple.1.0.zip $ unzip openid.3.1.4.zip $ mv openid /path/to/wordpress/wp-content/plugins $ unzip xrds-simple.1.0.zip $ mv openid /path/to/wordpress/wp-content/plugins $ rm -f openid.3.1.4.zip xrds-simple.1.0.zip
コメント欄にフォームを追加するためにテンプレートを編集します。
デザイン → テーマエディタ → コメント に行き、Website の後ぐらいに下記の HTML を追加します。
1 2 | <input id="openid_identifier" name="openid_identifier" type="text" /> <label for="openid_identifier"><small>OpenID URL</small></label> |
これでコメントページに OpenID フォームが現れるようになります。
Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.


Comments
コメントはまだありません。
コメントをどうぞ