toggle_switch(
'disable-date',
array(
'off' => __( 'Enabled', 'wordpress-seo' ),
'on' => __( 'Disabled', 'wordpress-seo' ),
),
__( 'Date archives', 'wordpress-seo' )
);
?>
noindex; 2: link open tag; 3: link close tag. */
esc_html__( 'Not showing the date archives in the search results technically means those will have a %1$s robots meta. %2$sMore info on the search results settings%3$s.', 'wordpress-seo' ),
'
noindex
',
'
',
''
)
);
$yform->index_switch(
'noindex-archive-wpseo',
__( 'date archives', 'wordpress-seo' ),
$date_archives_help->get_button_html() . $date_archives_help->get_panel_html()
);
$recommended_replace_vars = new WPSEO_Admin_Recommended_Replace_Vars();
$editor_specific_replace_vars = new WPSEO_Admin_Editor_Specific_Replace_Vars();
$editor = new WPSEO_Replacevar_Editor(
$yform,
array(
'title' => 'title-archive-wpseo',
'description' => 'metadesc-archive-wpseo',
'page_type_recommended' => $recommended_replace_vars->determine_for_archive( 'date' ),
'page_type_specific' => $editor_specific_replace_vars->determine_for_archive( 'date' ),
'paper_style' => false,
)
);
$editor->render();
?>