{"id":25481,"date":"2013-09-29T18:45:51","date_gmt":"2013-09-29T18:45:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-comment-notes\/"},"modified":"2013-09-29T18:46:19","modified_gmt":"2013-09-29T18:46:19","slug":"wp-comment-notes","status":"publish","type":"plugin","link":"https:\/\/lmo.wordpress.org\/plugins\/wp-comment-notes\/","author":4040050,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0.0","tested":"3.6.1","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"WP Comment Notes","header_author":"Andrew Norcross","header_description":"","assets_banners_color":"e0e4e7","last_updated":"2013-09-29 18:46:19","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/andrewnorcross.com\/donate","header_plugin_uri":"http:\/\/andrewnorcross.com\/plugins\/","header_author_uri":"http:\/\/andrewnorcross.com","rating":5,"author_block_rating":0,"active_installs":10,"downloads":2364,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<ul>\n<li>First release!<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"780009","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"780009","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"779963","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"779963","resolution":"2","location":"assets"}},"screenshots":{"1":"Example of metaboxes","2":"Example of display"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[131,53317,107],"plugin_category":[44],"plugin_contributors":[77655,78337],"plugin_business_model":[],"class_list":["post-25481","plugin","type-plugin","status-publish","hentry","plugin_tags-comment","plugin_tags-comment-notes","plugin_tags-comments","plugin_category-discussion-and-community","plugin_contributors-mordauk","plugin_contributors-norcross","plugin_committers-norcross"],"banners":{"banner":"https:\/\/ps.w.org\/wp-comment-notes\/assets\/banner-772x250.png?rev=780009","banner_2x":"https:\/\/ps.w.org\/wp-comment-notes\/assets\/banner-1544x500.png?rev=780009","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-comment-notes_e0e4e7.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-comment-notes\/assets\/screenshot-1.png?rev=779963","caption":"Example of metaboxes"},{"src":"https:\/\/ps.w.org\/wp-comment-notes\/assets\/screenshot-2.png?rev=779963","caption":"Example of display"}],"raw_content":"<!--section=description-->\n<p>Add custom notes before or after the comment form.<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload <code>wp-comment-notes<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Add some text in the fields on a post<\/li>\n<li>That's it.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How does it work?<\/dt>\n<dd><p>Activate the plugin and the metaboxes will appear for posts. Use the filter to add more post type support.<\/p><\/dd>\n<dt>Does this work on my custom post type?<\/dt>\n<dd><p>Not by default. Use the <code>wpcmn_type_support<\/code> filter to add it. Example below:<\/p>\n\n<pre><code>function cmm_partial_types( $types ) {\n\n    $types[] = 'MY_CUSTOM_POST_TYPE';\n\n    return $types;\n}\nadd_filter( 'wpcmn_type_support', 'cmm_partial_types' );\n<\/code><\/pre><\/dd>\n<dt>Can I add more options to the message type dropdown?<\/dt>\n<dd><p>Sure can. Use the <code>wpcmn_before_types<\/code> or <code>wpcmn_after_types<\/code> filters. Example:<\/p>\n\n<pre><code>function cmm_more_before( $before_type ) {\n\n    $extra = '';\n    $extra .= '&lt;option value=\"wild\" '.selected( $before_type, 'wild', false ).'&gt;'.__('Wild', 'wpcmn').'&lt;\/option&gt;';\n    $extra .= '&lt;option value=\"crazy\" '.selected( $before_type, 'crazy', false ).'&gt;'.__('Crazy', 'wpcmn').'&lt;\/option&gt;';\n\n    return $extra;\n\n}\nadd_filter( 'wpcmn_before_types', 'cmm_more_before' );\n<\/code><\/pre><\/dd>\n<dt>I don't like the CSS that comes with it<\/dt>\n<dd><p>Then write your own. It's a free country. If you <em>have<\/em> to disable it, use the <code>wpcmn_killswitch<\/code> filter. Example:<\/p>\n\n<pre><code>function cmm_killswitch() {\n\n    return true;\n\n}\nadd_filter( 'wpcmn_killswitch', 'cmm_killswitch' );\n<\/code><\/pre><\/dd>\n<dt>Where is the settings menu?<\/dt>\n<dd><p>There isn't one. On purpose.<\/p><\/dd>\n<dt>They don't show up on my theme.<\/dt>\n<dd><p>Then you're using a theme \/ framework that has gone cowboy and done it their own way. I can't do anything about that.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>First release!<\/li>\n<\/ul>","raw_excerpt":"Add custom notes before or after the comment form.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/25481","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=25481"}],"author":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/norcross"}],"wp:attachment":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=25481"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=25481"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=25481"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=25481"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=25481"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=25481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}