{"id":11353,"date":"2010-11-29T12:11:22","date_gmt":"2010-11-29T12:11:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/hide-comments-feature\/"},"modified":"2012-10-24T14:48:49","modified_gmt":"2012-10-24T14:48:49","slug":"hide-comments-feature","status":"publish","type":"plugin","link":"https:\/\/azb.wordpress.org\/plugins\/hide-comments-feature\/","author":6640324,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.4","stable_tag":"0.4","tested":"3.5.2","requires":"3.4","requires_php":"","requires_plugins":"","header_name":"Hide Comments","header_author":"lightningspirit","header_description":"","assets_banners_color":"ffffff","last_updated":"2017-11-28 19:29:22","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/vcarvalho.com\/donate\/","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/hide-comments-feature","header_author_uri":"http:\/\/profiles.wordpress.org\/lightningspirit","rating":4.5,"author_block_rating":0,"active_installs":1000,"downloads":50853,"num_ratings":6,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.4":"<p>Huge update! Completely rewritten! Everything is now handled consistently. \nNew support for WordPress 3.4 and 3.5 using a combination of action hooks and CSS. \nOptimal support for the new Twenty Twelve theme. \nProvided 4 action hooks for developers.<\/p>"},"ratings":{"1":0,"2":"1","3":0,"4":0,"5":"5"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"610336","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.3","0.4"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1777186","resolution":"2","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1777186","resolution":"1","location":"plugin"}},"screenshots":{"1":"There is no Comments menu link!","2":"The comments template disappeared (magically) from the Twenty Twelve theme."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[131,107,1244,3511],"plugin_category":[44],"plugin_contributors":[79627],"plugin_business_model":[],"class_list":["post-11353","plugin","type-plugin","status-publish","hentry","plugin_tags-comment","plugin_tags-comments","plugin_tags-hide","plugin_tags-remove","plugin_category-discussion-and-community","plugin_contributors-lightningspirit","plugin_committers-lightningspirit"],"banners":{"banner":"https:\/\/ps.w.org\/hide-comments-feature\/assets\/banner-772x250.png?rev=610336","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/hide-comments-feature_ffffff.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/hide-comments-feature\/trunk\/screenshot-1.png?rev=1777186","caption":"There is no Comments menu link!"},{"src":"https:\/\/ps.w.org\/hide-comments-feature\/trunk\/screenshot-2.png?rev=1777186","caption":"The comments template disappeared (magically) from the Twenty Twelve theme."}],"raw_content":"<!--section=description-->\n<p>For those who do not need to have the Comments feature in WordPress (there are a lot of reasons), this plugin removes any trace of that existence in both wp-admin and front-end.\nYour theme must rely properly on the WordPress API for the front-end support. The tag  must be present.\nCompletely done through techniques based on both action hooks and CSS.<\/p>\n\n<p>Doesn't requires any configuration, just install and any trace of Comments will disappear.<\/p>\n\n<p>NOTE: This does NOT play with the core, so you are able to update both plugins and WordPress without any trouble.<\/p>\n\n<h4>Provided Custom Hooks<\/h4>\n\n<p>This plugin provides 4 custom hooks you may play if you need more substance in your theme.<\/p>\n\n<pre><code>add_action( 'hide_comments_post_types', 'my_hide_comments_post_types' ); to change the list of post types to be processed by the plugin. Comments will be removed from all listed post types.\nadd_action( 'hide_comments_css', 'my_hide_comments_css' ); to add arbitrary CSS to hide comment's stuff from your theme.\nadd_action( 'hide_comments_template_comments_path', 'my_hide_comments_template_comments_path' ); the default path is the empty file template-comments.php located in the same dir of this plugin. Just modify the path to your own file if you want to return anything else.\nadd_action( 'hide_comments_dashboard_right_now', 'my_hide_comments_dashboard_right_now' ); if true is returned, the discussion table of dashboard right now widget will be hidden. False otherwise. Defaults to true.\n<\/code><\/pre>\n\n<p>The use of these hooks are recommended, thus, if the plugin gets deactivated, those hooks will not be called anymore and then you get things consistent and clean.<\/p>\n\n<p>Do you want to translate it to your language? Just reply to the \u00abTranslations\u00bb topic in the forum.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>hide-comments-feature<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>No more configuration required.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload <code>hide-comments-feature<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>No more configuration required.<\/li>\n<\/ol><\/dd>\n<dt>Will this affect my Wordpress Instalation?<\/dt>\n<dd><p>No. This won't play with the core! In other words, the feature still exists there but it is hidden by the plugin.<\/p><\/dd>\n<dt>And about my theme? Comments still there...<\/dt>\n<dd><p>That's because your theme either is too old or it doesn't rely on the newest WordPress API. So you have to upgrade it, find a new one or, play with CSS to hide some HTML parts of the theme.\nExample of code to go into functions.php:\n    \n        \n        \/* Your CSS here *\/\n        \n        <\/p>\n\n<p>Though, the main purpose of this plugin is to help web designers and developers creating WordPress sites they can ensure that their users will no longer see mentioned the word \"Comment\".<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.4<\/h4>\n\n<ul>\n<li>Huge update! Everything is now handled consistently. It is expected to be 3.4 and 3.5 compatible.<\/li>\n<li>Optimal support for the new Twenty Twelve theme.<\/li>\n<li>Added 4 custom action hooks (see ) <\/li>\n<li>Added translation for Portuguese <\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Bugfix: comment icon in menu shouldn't appear in instances prior than 3.0.3<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<li>Good support from FF3\/4 and IE7<\/li>\n<\/ul>","raw_excerpt":"Remove comments functionality and related in your Wordpress instance.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/11353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=11353"}],"author":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/lightningspirit"}],"wp:attachment":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=11353"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=11353"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=11353"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=11353"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=11353"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=11353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}