get_current_screen()->
add_help_tab( array
( 'id' => 'site-visibility',
'title' =>
has_action( 'blog_privacy_selector'
) ?
__( 'Site visibility'
) :
__( 'Search engine visibility'
),
'content' => '<p>' .
__( 'You can choose whether or not your site will be crawled by robots, ping services, and spiders. If you want those services to ignore your site, click the checkbox next to “Discourage search engines from indexing this site” and click the Save Changes button at the bottom of the screen.'
) . '</p>' .
'<p>' .
__( 'Note that even when set to discourage search engines, your site is still visible on the web and not all search engines adhere to this directive.'
) . '</p>' .
'<p>' .
__( 'When this setting is in effect, a reminder is shown in the At a Glance box of the Dashboard that says, “Search engines discouraged”, to remind you that you have directed search engines to not crawl your site.'
) . '</p>',
));
get_current_screen()->
set_help_sidebar( '<p><strong>' .
__( 'For more information:'
) . '</strong></p>' .
'<p>' .
__( '<a href="https://wordpress.org/documentation/article/settings-reading-screen/">Documentation on Reading Settings</a>'
) . '</p>' .
'<p>' .
__( '<a href="https://wordpress.org/support/forums/">Support forums</a>'
) . '</p>'
);
require_once ABSPATH . 'wp-admin/admin-header.php';
?>
<div class="wrap">
<h1><?php
echo esc_html( $title ); ?></h1>
<form method="post" action="options.php">