The text of the comment. It might get shorted to the number of characters you entered in “Long comments are chopped off at…”
%comment_link
The URL to the cited comment.
%comment_author
The name, the commenter entered in the comment form. If she left the field empty, the name is “Anonymous”.
%gravatar
This macro becomes a complete image tag. If the comment author registered a gravatar with gravatar.com. Example: <img src=”http://www.gravatar.com/avatar.php”>
%gravatar_url
This macro becomes only the URL to the gravatar. Example:
Becomes to URL of a profile picture. Use it like this: <img src=”%profile_picture” width=16 height=16>. This only works after activation of Hannah Gray’sProfile Pics Plugin.
%userid
If the comment author is registered with your wordpress, and was logged in, when he wrote the comment this is replaced with the user id, she has in WordPress. You can do fancyful things with this macro. For example you may construct an image url, that points to pictures of all the authors of your blog: <img src=”/images/user%userid.jpg”>
%comment_date
The date, when the comment was posted in the style you configured as default date format.
%comment_time
The time, when the comment was posted
%time_since
Time since the comment was posted. For example: “9 hours 16 minutes”
%author_url
The URL, the comment author left in the comment form, or if the comment is a trackback, the URL of the site that issued the trackback.
%author_url_href
The same like %author_url but inside a href statement. If there is no URL, the whole macro is empty. Without a href=”” statement the link looks like a link, but is inactive. Use it like this: <a %author_url_href title=”%comment_date”>comment_author</a>
%post_title
The title of the posting that was commented.
%post_link
The URL of the posting that was commented.
%post_date
The date when the commented posting was published.
%trackback_title
Only applicable in trackbacks: The title of the trackback. It might get shorted to the number of characters you entered in “Long trackbacks are chopped off at…”
コメント
こんにちは。僕もこの記事を読んでGet Recent Commentsを使い始めたのですが、サイドバーに表示した時の、「RECENT COMMENTS:」という表記を、kuniさんのBlogのように「最近のコメント」という表記に変えるにはどうすればいいでしょうか?
最近Word Pressを使い始め、CSSやPHPの勉強をしているのですが、どうも初心者すぎて、よくわかりません。
もしよかったら教えてください。お願いします。
文字で説明がしづらかったので、本文にやり方書きました。
勉強頑張って下さいね。
WordPressは使いやすくて良いと思います。
わざわざありがとうございます!
僕の使っているテーマではwidgetsが使えなかったので、気がつかなかったみたいです。
今設定して、使えるようになりました。
ありがとうございました! 精進していきます。
こんばんは。
このプラグイン、なぜか Comment と Trackback とで ID が重複しちゃうんですよね(get-recent-comments)。ページのソースを見るたびに、モヤモヤしてしまいます 🙁
コメントありがとうございます。
うーん、まったく気がつきませんでした 🙂
そう言われると、 Trackback のリンクをクリックしたときに、きちんとジャンプもしませんね。。
ソース覗いてみましたが、中の処理が分かれてないので、 #ping[id] 形式のリンクを出力するのちょっと面倒そうです。むぅ。
しかし、同じ vicuna を使っていると思えないほど見やすいページで泣きそうになりました。やっぱセンスの問題ですよね。。
レウさんと別れちゃう的な投稿にコメントしたら、エラーっぽい画面が出ました。ぎゃふん。
well, hi admin adn people nice forum indeed. how’s life? hope it’s introduce branch 😉
[…] Get Recent Comments サイドバー等に簡単に頂いたコメントを表示できるプラグイン。Wordpressの標準機能でもコメントは表示できるが、カスタマイズがあんまりできない為、カスタマイズしたい方にはオススメのプラグインです。 【プラグイン配布先】 WordPress : Get Recent Comments ≪ WordPress Plugins 【参考サイト】 サイドバーのコメント表示プラグイン Get Recent Comments | WordPressで企業ウェブサイト作成・商用ホームページ制作 WordPress Go Go サイドバーコメントの表示方法カスタマイズPlugin Get Recent Comments – kunih… […]
[…] ●サイドバーカスタマイズ関連 最新のコメント取得 https://kuniharumaki.com/2007/10/08/1500/wordpress-get-recent-comments.html WordPressの標準ウィジェットだとサイドバーに表示されるコメントが blogの記事 […]