Summery Summery
Displays a noindex meta tag if required by the blog configuration.
Syntax Syntax
Description Description
If a blog is marked as not being public then the noindex meta tag will be output to tell web robots not to index the page content. Add this to the ‘wp_head’ action.
Typical usage is as a ‘wp_head’ callback:
add_action( 'wp_head', 'noindex' );
Source Source
File: wp-includes/general-template.php
echo '<link rel="alternate" type="' . feed_content_type() . '" title="' . esc_attr( sprintf( $args['comstitle'], get_bloginfo( 'name' ), $args['separator'] ) ) . '" href="' . esc_url( get_feed_link( 'comments_' . get_default_feed() ) ) . "\" />\n"; } } /** * Display the links to the extra feeds such as category feeds.
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |