From e6439d328a2e956e6c93164669ae0122b6c72e1f Mon Sep 17 00:00:00 2001 From: koenemann Date: Tue, 10 May 2016 15:05:02 +0200 Subject: [PATCH] Change "add code" customizer function text a bit Change "add code" customizer function label and description text a bit to make sure everyone understands that the opening and closing or whatever tags must be added, too. --- inc/customizer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/customizer.php b/inc/customizer.php index bf6d9b6..77d974b 100644 --- a/inc/customizer.php +++ b/inc/customizer.php @@ -65,7 +65,7 @@ function understrap_theme_customize_register( $wp_customize ) { ) ); $wp_customize->add_section( 'understrap_theme_script_options', array( - 'title' => __( 'Add scripts', 'understrap' ) + 'title' => __( 'Add custom code snippet', 'understrap' ) ) ); $wp_customize->add_setting( 'understrap_theme_script_code_setting', array( @@ -74,7 +74,7 @@ function understrap_theme_customize_register( $wp_customize ) { ) ); $wp_customize->add_control( 'understrap_theme_script_code', array( - 'label' => __( 'Add custom JS code here', 'understrap' ), + 'label' => __( 'Add custom header code here. Like or tags.', 'understrap' ), 'section' => 'understrap_theme_script_options', 'type' => 'textarea', 'settings' => 'understrap_theme_script_code_setting'