{"id":886,"date":"2008-08-09T22:01:27","date_gmt":"2008-08-09T20:01:27","guid":{"rendered":"http:\/\/planetozh.com\/blog\/?page_id=886"},"modified":"2016-10-29T17:22:02","modified_gmt":"2016-10-29T15:22:02","slug":"liz-strauss-comment-count-badge-widget-wordpress","status":"publish","type":"page","link":"https:\/\/planetozh.com\/blog\/my-projects\/liz-strauss-comment-count-badge-widget-wordpress\/","title":{"rendered":"Liz Strauss Comment Counter, a WordPress Widget By Ozh"},"content":{"rendered":"<p><strong>Liz Strauss Comment Counter<\/strong> is a highly configurable &quot;internet badge&quot; that shows the number of comments your WordPress blog has. Use it either to show off how social your blog is, as an incentive for commenters to be part of it, or just because it&#39;s fun :)<\/p>\n<p>Live example: <img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/cmt_badge\/cmt_badge.png\" alt=\"Comment count on planetOzh\" \/><\/p>\n<p>This plugin was made in honor of Liz Strauss from <a href=\"http:\/\/www.successful-blog.com\/\">Successful Blog<\/a> and her dedication to building community and fostering interaction between a blog and its audience. Extra credits go to <a href=\"http:\/\/lorelle.wordpress.com\/\">Lorelle<\/a> for inspiration and networking, and obviously to Feedburner for being so seminal in cool web badges showing off.<\/p>\n<h2>Features<\/h2>\n<p><strong>Performance:<\/strong> the plugin generates a static image every time a comment is left (or an admin moderates one). The benefit is that, when showing the badge, nothing dynamic is generated on the fly by the webserver.<\/p>\n<p><strong>Failover:<\/strong> if for some reason your server was not able to generate a static image (write permissions or whatever) the plugin falls back to generating the badge on the fly, so you always have something to show.<\/p>\n<p><strong>Minimal overhead:<\/strong> state of the art code that loads only when needed, and the plugin adds a grand total of zero extra database query.<\/p>\n<p><strong>Compatibility:<\/strong> the admin interface either runs as a widget (with no extra &quot;Settings&quot; page created) or as a traditional plugin.<\/p>\n<p><strong>Flexibility:<\/strong> just like your Feedburner badge, except there&#39;s more options!<\/p>\n<p><strong>Neat interface:<\/strong> one click color presets, killer <a href=\"http:\/\/acko.net\/dev\/farbtastic\">Farbtastic<\/a> color picker, and cute <a href=\"http:\/\/www.famfamfam.com\/\">FamFamFam<\/a> icons<\/p>\n<p><strong>Ready for translation:<\/strong> polyglots, a .pot file is included. If you happen to translate the plugin, be sure to send me your work so I can include it in the archive! (Please send your .mo and .po files to <tt>ozh at planetozh dot com<\/tt>). Currently the plugin has flavors in Italian (thanks to <a href=\"http:\/\/gidibao.net\/\">Gianni Diurno<\/a>), Russian (thanks to <a href=\"http:\/\/www.fatcow.com\/\">Fat Cow<\/a>), Belorussian (thanks to <a href=\"http:\/\/masivy.com\/\">ilyuha<\/a>) and German (thanks to <a href=\"http:\/\/www.designcontest.com\/\">Design Contest<\/a>).<\/p>\n<p><strong>Fun:<\/strong> well yes, it&#39;s just fun to show how many comments you have :)<\/p>\n<h2>Screenshots of the admin interface<\/h2>\n<p>General view of the interface:<br \/>\n<img loading=\"lazy\" decoding=\"async\" width=\"569\" height=\"386\" src=\"http:\/\/planetozh.com\/blog\/wp-content\/uploads\/2008\/08\/lcc-preview.gif\" alt=\"\" title=\"lcc-preview\" class=\"aligncenter size-full wp-image-905\" srcset=\"https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2008\/08\/lcc-preview.gif 569w, https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2008\/08\/lcc-preview-300x203.gif 300w\" sizes=\"auto, (max-width: 569px) 100vw, 569px\" \/><\/p>\n<p>Super hot color picker :<br \/>\n<img decoding=\"async\" src=\"http:\/\/planetozh.com\/blog\/wp-content\/uploads\/2008\/08\/screenshot-2.png\" alt=\"\" title=\"screenshot-2\" class=\"size-full wp-image-913\" \/><\/p>\n<p>Color presets if you&#39;re not sure what colors to start with:<br \/>\n<img decoding=\"async\" src=\"http:\/\/planetozh.com\/blog\/wp-content\/uploads\/2008\/08\/screenshot-3.png\" alt=\"\" title=\"screenshot-3\" class=\"size-full wp-image-913\" \/><\/p>\n<h2>Download<\/h2>\n<div class=\"download\">\nDownload the plugin :<br \/>\n<a href=\"http:\/\/wordpress.org\/extend\/plugins\/liz-comment-counter-by-ozh\/\">Liz Comment Counter by Ozh<\/a><br \/>\nExtract and upload to your blog, preserving directory structure.\n<\/div>\n<h2>Installation<\/h2>\n<p>If your theme is <strong>widget aware<\/strong>, head to &quot;Design \/ Widgets&quot; and add the widget to your sidebar<\/p>\n<p>If your theme is <strong>not widget aware<\/strong>:<\/p>\n<ol>\n<li>edit the beginning of the main plugin file (<tt>wp_ozh_lcc.php<\/tt>) and replace <tt>define('LCC_AS_PLUGIN_ONLY', false);<\/tt> with: <tt>define('LCC_AS_PLUGIN_ONLY', true);<\/tt><\/li>\n<li>in your theme&#39;s sidebar.php, add <tt>&lt;?php if (function_exists('wp_ozh_lcc_badge')) wp_ozh_lcc_badge(); ?><\/tt> where you want the badge to appear<\/li>\n<li>go to &quot;Settings \/ Liz Comment Counter&quot; and have fun with the options<\/li>\n<\/ol>\n<h2>FAQ<\/h2>\n<p><em>Why show my comment count?<\/em><br \/>\nAs you want. Either because it&#39;s fun, egoboosting, an incentive for others to participate, an indication of the &quot;socialness&quot; of your blog. And, anyway, because it&#39;s fun:)<\/p>\n<p><em>Where is the static badge saved?<\/em><br \/>\nIn your <tt>uploads<\/tt> directory, typically <tt>wp-content\/uploads\/cmt_badge\/cmt_badge.png<\/tt><\/p>\n<p><em>How do I manually insert the badge in a document?<\/em><br \/>\nLike this:<br \/>\n<tt>&lt;?php if (function_exists('wp_ozh_lcc_badge')) wp_ozh_lcc_badge(); ?><\/tt><\/p>\n<p><em>What version of WordPress is this for?<\/em><br \/>\nAnything from 2.5 and above will be fine.<\/p>\n<p><em>Who is Liz Strauss?<\/em><br \/>\nI&#39;ll let her answer: <a href=\"http:\/\/www.successful-blog.com\/aboutme-liz-strauss\/\">About Liz Strauss<\/a>. If you are looking to build connections and conversation or to grow a community of fiercely loyal fans, Liz is the person to see. Check her blog!<\/p>\n<p><em>Who are you?<\/em><br \/>\nI make <a href=\"http:\/\/planetozh.com\/blog\/my-projects\/\">WordPress Plugins<\/a>!<\/p>\n<p><em>I love this plugin, how can I say thanks?<\/em><br \/>\nMake my day: blog about the plugin and let your readers know about it. Make Liz&#39; day: read <a href=\"http:\/\/www.successful-blog.com\/\">her blog<\/a> and comment!<\/p>\n<p><em>Why are comments closed?<\/em><br \/>\nBecause for some reason this page is attracting a number of idiots. Sorry if you wanted to say thanks :-)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Liz Strauss Comment Counter is a highly configurable &quot;internet badge&quot; that shows the number of comments your WordPress blog has. Use it either to show off how social your blog is, as an incentive for commenters to be part of it, or just because it&#39;s fun :) Live example: This plugin was made in honor [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":241,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-886","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/pages\/886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/comments?post=886"}],"version-history":[{"count":1,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/pages\/886\/revisions"}],"predecessor-version":[{"id":3869,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/pages\/886\/revisions\/3869"}],"up":[{"embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/pages\/241"}],"wp:attachment":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/media?parent=886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}