根据SEO检查员的说法,我的主页不包含H1标题。。。
this code from developer source i taken from mozilla browser
<title>interiordapur - Ahlinya Kitchen Set & Desain Interior</title>
I check source my website no H1 detected. and I check my theme header.php that the code such below
<?php
/***为所有主题选项保存的值设置全局变量**@自Construction Field 1.0.0以来**@param null*@返回void**/if(!function\\u exists(\'Construction\\u Field\\u set\\u global\'):function Construction\\u set\\u global(){//em>开始获取保存的值/$Construction\\u Field\\u saved\\u theme\\u options=Construction\\u Field\\u get\\u theme\\u options();$GLOBALS[\'construction\\u field\\u customizer\\u all\\u values\']=$construction\\u field\\u saved\\u theme\\u options/
获取保存的值end/}endif;添加\\u操作(“construction\\u field\\u action\\u before\\u head”,“construction\\u field\\u set\\u global”,0);
/***Doctype声明**@自构造字段1.0.0**@参数null*@返回void**/if(!function\\u exists(\'Construction\\u Field\\u Doctype\')):function Construction\\u Field\\u Doctype(){?>>/***head tage内但在wp\\u head function之前的代码**@自构造字段1.0.0**@参数null*@返回void**/if(!function\\u exists(“construction\\u field\\u before\\u wp\\u head”):
function construction_field_before_wp_head() {
?>
<meta charset="<?php bloginfo( \'charset\' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="//gmpg.org/xfn/11">
<?php
}
endif;添加\\u操作(“construction\\u field\\u action\\u before\\u wp\\u head”,“construction\\u field\\u before\\u wp\\u head”,10);
/***添加主体类**@自构造字段1.0.0**@参数null*@返回null**/如果(!function\\u exists(\'Construction\\u Field\\u body\\u class\'):
function construction_field_body_class( $construction_field_body_classes ) {
global $construction_field_customizer_all_values;
$construction_field_enable_animation = $construction_field_customizer_all_values[\'construction-field-enable-animation\'];
$construction_field_feature_info_display_options = $construction_field_customizer_all_values[\'construction-field-feature-info-display-options\'];
/*wow animation*/
if( 1 != $construction_field_enable_animation ){
$construction_field_body_classes[] = \'acme-animate\';
}
$construction_field_body_classes[] = construction_field_sidebar_selection();
if( \'hide\' != $construction_field_feature_info_display_options ){
$construction_field_body_classes[] = esc_attr( $construction_field_feature_info_display_options );
}
return $construction_field_body_classes;
}
endif;添加\\u操作(\'body\\u class\',\'construction\\u field\\u body\\u class\',10,1);
/***起始站点div**@自构造字段1.0.0**@参数null*@返回null**/如果(!function\\u exists(\'Construction\\u Field\\u site\\u Start\'):
function construction_field_site_start() {
?>
<div class="site" id="page">
<?php
}
endif;添加操作(“construction\\u field\\u action\\u before”,“construction\\u field\\u site\\u start”,20);
/***跳到内容**@自构造字段1.0.0**@参数null*@返回null**/如果(!function\\u exists(\'Construction\\u Field\\u Skip\\u to\\u content\'):
function construction_field_skip_to_content() {
?>
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( \'Skip to content\', \'construction-field\' ); ?></a>
<?php
}
endif;添加\\u操作(“construction\\u field\\u action\\u before\\u header”,“construction\\u field\\u skip\\u to\\u content”,10);
/***主标题**@自构造字段1.0.0以来**@参数null*@返回null**/if(!function\\u exists(\'Construction\\u Field\\u header\'):function Construction\\u Field\\u header(){全局$Construction\\u Field\\u customizer\\u all\\u value;$Construction\\u Field\\u enable\\u header\\u top=$Construction\\u Field\\u customizer\\u all\\u value[\'Construction-Field-enable-header-top\']$construction\\u field\\u nav\\u class=“”$construction\\u field\\u enable\\u sticky=$construction\\u field\\u customizer\\u all\\u值[\'construction-field-enable-sticky\'];如果(1==$construction\\u field\\u enable\\u sticky){$construction\\u field\\u nav\\u class.=\'construction field sticky\';}$construction\\u field\\u feature\\u info\\u display\\u options=$construction\\u field\\u customizer\\u all\\u值[\'construction-field-feature-info-display-options\'];如果(1==$construction\\u field\\u enable\\u header\\u top){?>
if( \'left\' == $construction_field_header_top_menu_display_selection ){
do_action(\'construction_field_action_top_menu\');
}
if( \'left\' == $construction_field_header_top_social_display_selection ){
do_action(\'construction_field_action_social_links\');
}
if( \'left\' == $construction_field_header_top_news_display_selection ){
do_action(\'construction_field_action_newsnotice\');
}
?>
</div>
<div class="col-sm-6 text-right">
<?php
if( \'right\' == $construction_field_header_top_menu_display_selection ){
do_action(\'construction_field_action_top_menu\');
}
if( \'right\' == $construction_field_header_top_social_display_selection ){
do_action(\'construction_field_action_social_links\');
}
if( \'right\' == $construction_field_header_top_news_display_selection ){
do_action(\'construction_field_action_newsnotice\');
}
?>
</div>
</div>
</div>
</div>
<?php
}
?>
<div class="navbar at-navbar <?php echo (\'alternative-info-menu\' != $construction_field_feature_info_display_options? esc_attr( $construction_field_nav_class ) : \'\' );?>" id="navbar" role="navigation">
<div class="container">
<div class="navbar-header">
<?php
if( \'alternative-info-menu\' != $construction_field_feature_info_display_options ){
?>
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"><i class="fa fa-bars"></i></button>
<?php
}
$construction_field_display_site_logo = $construction_field_customizer_all_values[\'construction-field-display-site-logo\'];
$construction_field_display_site_title = $construction_field_customizer_all_values[\'construction-field-display-site-title\'];
$construction_field_display_site_tagline = $construction_field_customizer_all_values[\'construction-field-display-site-tagline\'];
if( 1== $construction_field_display_site_logo || 1 == $construction_field_display_site_title || 1 == $construction_field_display_site_tagline ):
if ( 1 == $construction_field_display_site_logo && function_exists( \'the_custom_logo\' ) ):
the_custom_logo();
endif;
if ( 1== $construction_field_display_site_title ):
if ( is_front_page() && is_home() ) : ?>
<h1 class="site-title">
<a href="<?php echo home_url( \'/\' ); ?>" title="<?php echo esc_attr( get_bloginfo( \'name\', \'display\' ) ); ?>" rel="home"><?php bloginfo( \'name\' ); ?></a>
</h1>
<?php else : ?>
<p class="site-title">
<a href="<?php echo esc_url( home_url( \'/\' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( \'name\', \'display\' ) ); ?>" rel="home"><?php bloginfo( \'name\' ); ?></a>
</p>
<?php endif;
endif;
if ( 1== $construction_field_display_site_tagline ):
$description = get_bloginfo( \'description\', \'display\' );
if ( $description || is_customize_preview() ) : ?>
<p class="site-description"><?php echo esc_html( $description ); ?></p>
<?php endif;
endif;
endif;
?>
</div>
<div class="at-beside-navbar-header">
<?php
if( \'alternative-info-menu\' == $construction_field_feature_info_display_options ){
do_action( \'construction_field_action_feature_info\' );
}
else{
construction_field_primary_menu();
}
?>
</div>
有人能帮我修一下吗???