浏览代码

Update Label Text

torres126 6 年之前
父节点
当前提交
1a8eee0c88
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      dyad-2/inc/customizer.php

+ 1 - 0
dyad-2/inc/customizer.php

@@ -14,6 +14,7 @@ function dyad_2_customize_register( $wp_customize ) {
 	$wp_customize->get_setting( 'blogname' )->transport         = 'postMessage';
 	$wp_customize->get_setting( 'blogdescription' )->transport  = 'postMessage';
 	$wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage';
+	$wp_customize->get_control( 'display_header_text' )->label = __( 'Display Site Title', 'dyad-2' );
 }
 add_action( 'customize_register', 'dyad_2_customize_register' );