file_exists();
?>
_render( 'toggle-item', array(
'field_name' => 'checkup-run',
'item_label' => esc_html__( 'Run a full SEO Checkup', 'wds' ),
'item_description' => esc_html__( 'Get a comprehensive checkup of your homepage and have the results emailed to your inbox.', 'wds' ),
'checked' => true,
'attributes' => array(
'data-processing' => esc_attr__( 'Running a full SEO Checkup', 'wds' ),
),
) );
?>
_render( 'toggle-item', array(
'field_name' => 'analysis-enable',
'item_label' => esc_html__( 'SEO & Readability Analysis', 'wds' ),
'item_description' => esc_html__( 'Have your pages and posts analyzed for SEO and readability improvements to improve your search ranking', 'wds' ),
'checked' => true,
'attributes' => array(
'data-processing' => esc_attr__( 'Activating SEO & Readability Analysis', 'wds' ),
),
) );
?>
_render( 'toggle-item', array(
'field_name' => 'sitemaps-enable',
'item_label' => esc_html__( 'Sitemaps', 'wds' ),
'item_description' => esc_html__( 'Sitemaps expose your site content to search engines and allow them to discover it more easily.', 'wds' ),
'checked' => true,
'attributes' => array(
'data-processing' => esc_attr__( 'Activating Sitemaps', 'wds' ),
),
) );
?>
esc_attr__( 'Activating Robots.txt file', 'wds' ),
);
if ( $robots_file_exists ) {
$robots_attributes['disabled'] = 'disabled';
}
$this->_render( 'toggle-item', array(
'field_name' => 'robots-txt-enable',
'item_label' => esc_html__( 'Robots.txt File', 'wds' ),
'item_description' => esc_html__( 'All sites are recommended to have a robots.txt file that instructs search engines what they can and can’t crawl. We will create a default robots.txt file which you can customize later.', 'wds' ),
'checked' => ! $robots_file_exists,
'attributes' => $robots_attributes,
) );
if ( $robots_file_exists ) {
$this->_render( 'notice', array(
'message' => smartcrawl_format_link(
esc_html__( "We've detected an existing %s file that we are unable to edit. You will need to remove it before you can enable this feature.", 'wds' ),
smartcrawl_get_robots_url(),
'robots.txt',
'_blank'
),
) );
}
?>
_render( 'toggle-item', array(
'field_name' => 'opengraph-twitter-enable',
'item_label' => esc_html__( 'OpenGraph & Twitter Cards', 'wds' ),
'item_description' => esc_html__( 'Enhance how your posts and pages look when shared on Twitter and Facebook by adding extra meta tags to your page output.', 'wds' ),
'checked' => true,
'attributes' => array(
'data-processing' => esc_attr__( 'Activating OpenGraph & Twitter Cards', 'wds' ),
),
) );
?>