{"id":2056,"date":"2007-09-19T15:05:02","date_gmt":"2007-09-19T15:05:02","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/hide-or-show-comments\/"},"modified":"2009-02-12T17:02:33","modified_gmt":"2009-02-12T17:02:33","slug":"hide-or-show-comments","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/hide-or-show-comments\/","author":214498,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0","stable_tag":"trunk","tested":"2.7","requires":"","requires_php":"","requires_plugins":"","header_name":"Hide or Show Comments","header_author":"Jos\u00e9 Lopes","header_description":"","assets_banners_color":"","last_updated":"2009-02-12 17:02:33","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.bombolom.com\/weblog_en\/wordpress\/PluginHideShowComments2-2007-10-23-01-35.html","header_author_uri":"http:\/\/www.bombolom.com\/","rating":5,"author_block_rating":0,"active_installs":80,"downloads":13937,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[107],"plugin_category":[44],"plugin_contributors":[84610],"plugin_business_model":[],"class_list":["post-2056","plugin","type-plugin","status-closed","hentry","plugin_tags-comments","plugin_category-discussion-and-community","plugin_contributors-zelopes","plugin_committers-zelopes"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/hide-or-show-comments.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>In order to focus your site visitors attention on the post itself, the\ncomments, both the comment form and the list of comments, can be hidden and\nonly shown on request.<\/p>\n\n<p>This plugin provides an easy way to do this.<\/p>\n\n<p>The comments block is hidden by default, having in its place\nthe clickable sentence like 'Click here to see the comments (1) or add a new comments'.\nThis sentence is replaced on click by the comments block.<\/p>\n\n<p>You can find the description and instructions:<\/p>\n\n<ul>\n<li>in <a href=\"http:\/\/www.bombolom.com\/weblog_en\/wordpress\/PluginHideShowComments2-2007-10-23-01-35.html\">English<\/a><\/li>\n<li>in <a href=\"http:\/\/www.bombolom.com\/weblog_pt\/wordpress\/PluginHideShowComments2-2007-10-23-01-35.html\">Portuguese<\/a><\/li>\n<\/ul>\n\n<p>To see this Plugin in action you can see the <a href=\"http:\/\/www.paleografia.org\/site\/?p=22#more-22\">paleografia.org<\/a>\nweb site, at the bottom of the post.<\/p>\n\n<p>Note that this site is in Portuguese but you can see how the Plugin works with the\n'Clique aqui para ver os coment\u00e1rios (0) ou adiccionar um novo coment\u00e1rio' sentence at the bottom.<\/p>\n\n<p>This is the second version of this plugin, following some suggestions to the version 1.0<\/p>\n\n<p>The new features are:<\/p>\n\n<ul>\n<li>New link to hide back the comments block.<\/li>\n<li>The link to show the comments has the total of comments.<\/li>\n<\/ul>\n\n<p>In order to have a coherent layout I would suggest to not include the total of comments\non the single.php file.<\/p>\n\n<h3>Internationalization<\/h3>\n\n<p>You may find the POT file available with this distribution to create your own language version.<\/p>\n\n<p>Besides English, this distribution provides the language versions:<\/p>\n\n<ul>\n<li>Portuguese (Portugal)<\/li>\n<li>French (France)<\/li>\n<\/ul>\n\n<p>It only has one sentence to translate but I believe that is nicer\nto have it available.<\/p>\n\n<p>Send me any new language version that you may create so I may make it available to others.<\/p>\n\n<h3>Credits<\/h3>\n\n<p>Copyright 2007 Jose Lopes<\/p>\n\n<p>This program is free software; you can redistribute it and\/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.<\/p>\n\n<p>This program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.<\/p>\n\n<p>You should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Decompress the files to the \/wp-content\/plugins\/ directory.<\/li>\n<li>Confirm that the plugin content is on the directory hide-or-show-comments.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Replace in your single.php the expression &lt;?php comments_template(); ?&gt; \nby &lt;?php hideshowComments(); ?&gt;.<\/li>\n<\/ol>","raw_excerpt":"This plugin hides the comments by default and shows them on demand.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/2056","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=2056"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/zelopes"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=2056"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=2056"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=2056"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=2056"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=2056"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=2056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}