{"id":272,"date":"2009-05-15T00:14:58","date_gmt":"2009-05-14T18:44:58","guid":{"rendered":"http:\/\/www.bin-co.com\/blog\/?p=272"},"modified":"2009-05-15T00:14:58","modified_gmt":"2009-05-14T18:44:58","slug":"highlight-authors-comments-in-wordpress-without-using-a-wordpress-plugin","status":"publish","type":"post","link":"https:\/\/www.bin-co.com\/blog\/2009\/05\/highlight-authors-comments-in-wordpress-without-using-a-wordpress-plugin\/","title":{"rendered":"Highlight Author&#8217;s Comments in WordPress without using a WordPress Plugin"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.bin-co.com\/blog\/wp-content\/uploads\/2009\/03\/wordpress-sticker.jpg\" alt=\"WordPress Sticker\" title=\"WordPress Sticker\" width=\"300\" height=\"282\" class=\"aligncenter size-full wp-image-236 intro\" align=\"right\" \/><\/p>\n<p class=\"intro\">Many blogs highlight the author&#8217;s comment in the comments section. You can use many plugins to get this effect(For eg., the <a href=\"http:\/\/rmarsh.com\/plugins\/highlight-comments\/\">Highlight Author Comments<\/a> Plugin) &#8211; but you don&#8217;t have to. You can get the get the same effect by adding a small bit of code to your theme.<\/p>\n<h2>The Changes<\/h2>\n<p>Just open up the <code>style.css<\/code> file in your active and add this at line at the end&#8230;<\/p>\n<pre><code class=\"css\">.bypostauthor { background-color:#aaa !important; }<\/code><\/pre>\n<p>Change the #aaa to the color you want as the author comment&#8217;s background. That&#8217;s it &#8211; you&#8217;re all done.<\/p>\n<p>Note: This will only work on 2.7+ version of WordPress &#8211; if you are using an older version, please <a href=\"http:\/\/www.dullest.com\/blog\/highlight-author-comments-wordpress\/\">read the instructions in this post<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Many blogs highlight the author&#8217;s comment in the comments section. You can use many plugins to get this effect(For eg., the <a href=\"http:\/\/rmarsh.com\/plugins\/highlight-comments\/\">Highlight Author Comments<\/a> Plugin) &#8211; but you don&#8217;t have to. You can get the get the same effect by adding a small bit of code to your theme.<\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,9,31],"tags":[49,81,138,212,213,304],"class_list":["post-272","post","type-post","status-publish","format-standard","hentry","category-blogging","category-css","category-wordpress","tag-author","tag-comment","tag-highlight","tag-plugin","tag-plugin-killer","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/posts\/272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/comments?post=272"}],"version-history":[{"count":0,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/posts\/272\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/media?parent=272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/categories?post=272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/tags?post=272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}