{"id":41706,"date":"2016-02-03T18:02:50","date_gmt":"2016-02-03T18:02:50","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/noindex-pages\/"},"modified":"2016-02-03T18:38:51","modified_gmt":"2016-02-03T18:38:51","slug":"noindex-pages","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/noindex-pages\/","author":8405663,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"1.0.1","tested":"4.4.34","requires":"3.2","requires_php":"","requires_plugins":"","header_name":"Noindex Pages","header_author":"Radley Sustaire","header_description":"","assets_banners_color":"","last_updated":"2016-02-03 18:38:51","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/paypal.me\/radgh","header_plugin_uri":"http:\/\/radgh.com\/","header_author_uri":"mailto:radleygh@gmail.com","rating":4.5,"author_block_rating":0,"active_installs":2000,"downloads":19968,"num_ratings":6,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>Nothing to worry about!<\/p>"},"ratings":{"1":0,"2":1,"3":0,"4":0,"5":5},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"2092674","resolution":"2","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"2092674","resolution":"1","location":"plugin"}},"screenshots":{"1":"The publish box when editing a page, the added checkbox is highlighted.","2":"The source code for the page, the added meta tag is highlighted."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[6364,243,6499],"plugin_category":[55],"plugin_contributors":[83336],"plugin_business_model":[],"class_list":["post-41706","plugin","type-plugin","status-publish","hentry","plugin_tags-noindex","plugin_tags-pages","plugin_tags-robots","plugin_category-seo-and-marketing","plugin_contributors-radgh","plugin_committers-devrix","plugin_committers-metodiew","plugin_committers-radgh"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/noindex-pages.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/noindex-pages\/trunk\/screenshot-1.png?rev=2092674","caption":"The publish box when editing a page, the added checkbox is highlighted."},{"src":"https:\/\/ps.w.org\/noindex-pages\/trunk\/screenshot-2.png?rev=2092674","caption":"The source code for the page, the added meta tag is highlighted."}],"raw_content":"<!--section=description-->\n<p>This simple and lightweight plugin adds a \"Hide from search engines\" checkbox above the publish box to pages. By \nticking this box, a meta tag will be placed into the <code>&lt;head&gt;<\/code> section of your page specifying that robots should\nnot index the page.<\/p>\n\n<p>By default this only applies to pages. You may extend this functionality to posts or other custom post types with a small bit of code. See the FAQ's tab for further instructions.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/noindex-pages\/<\/code>, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Edit a page, look for the checkbox above the \"Publish\" or \"Update\" button near the top-right.<\/li>\n<li>(Optional) verify it works by viewing your page and then right-click, \"View Source\", and look for the meta tag with the name \"robots\" and value \"noindex\".<\/li>\n<li>(Optional) Extend the functionality to posts or other custom post types by reading the FAQ's.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Are there any advanced features, such as to block specific robots or add this code to archive\/search pages?<\/dt>\n<dd><p>No, this is just a simple plugin.<\/p><\/dd>\n<dt>Can this be used for custom post types or posts?<\/dt>\n<dd><p>Yes, with a bit of PHP. Just use the following code in your functions.php, which will add support for \"post\" and \"product\":<\/p>\n\n<pre><code>function noindex_for_cpts( $post_types ) {\n    return $post_types + array( \"post\", \"product\" );\n}\nadd_filter('noindex-pages-post-types', 'noindex_for_cpts');\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Improved screenshot quality for wordpress.org<\/li>\n<li>Corrected \"Tested up to\" version number<\/li>\n<li>Corrected \"Requires at least\" version number<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release<\/li>\n<li>Pre-release version notes can be found on Github<\/li>\n<\/ul>","raw_excerpt":"Ask search engines not to index individual pages by checking an option in the publish post box.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/41706","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=41706"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/radgh"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=41706"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=41706"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=41706"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=41706"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=41706"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=41706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}