5
* @package WPSEO\Admin\Views\General
7
* @var Yoast_Form $yform
11
<div class="tab-block">
13
if ( 'posts' === get_option( 'show_on_front' ) ) {
14
$homepage_help = new WPSEO_Admin_Help_Panel(
15
'search-appearance-homepage',
16
__( 'Learn more about the homepage setting', 'wordpress-seo' ),
17
__( 'This is what shows in the search results when people find your homepage. This means this is probably what they see when they search for your brand name.', 'wordpress-seo' ),
21
echo '<h2 class="help-button-inline">', esc_html__( 'Homepage', 'wordpress-seo' ), $homepage_help->get_button_html(), '</h2>';
22
echo $homepage_help->get_panel_html();
24
$editor = new WPSEO_Replacevar_Editor( $yform, 'title-home-wpseo', 'metadesc-home-wpseo', 'homepage' );
28
echo '<h2>', esc_html__( 'Homepage & Front page', 'wordpress-seo' ), '</h2>';
31
/* translators: 1: link open tag; 2: link close tag. */
32
esc_html__( 'You can determine the title and description for the front page by %1$sediting the front page itself »%2$s', 'wordpress-seo' ),
33
'<a href="' . esc_url( get_edit_post_link( get_option( 'page_on_front' ) ) ) . '">',
37
if ( get_option( 'page_for_posts' ) > 0 ) {
40
/* translators: 1: link open tag; 2: link close tag. */
41
esc_html__( 'You can determine the title and description for the blog page by %1$sediting the blog page itself »%2$s', 'wordpress-seo' ),
42
'<a href="' . esc_url( get_edit_post_link( get_option( 'page_for_posts' ) ) ) . '">',