Skip to content

Commit

Permalink
Fix label.
Browse files Browse the repository at this point in the history
  • Loading branch information
fumikito committed Nov 28, 2019
1 parent d6139fb commit 9b8851c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/Kunoichi/ThemeCustomizer/Patterns/Seo.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function default_label() {
'sec_title' => __( 'Meta and SEO', 'theme-customizer' ),
'sec_description' => __( 'In this section, you can set basic SEO feature.', 'theme-customizer' ),
'gtag_label' => __( 'Google Analytics Tracking ID', 'theme-customizer' ),
'gtag_desc' => __( 'If set, tracking code(gtag.js) will be generated.', 'theme-customizer' ),
'gtag_description' => __( 'If set, tracking code(gtag.js) will be generated.', 'theme-customizer' ),
'tm_label' => __( 'Tag Manager Container ID', 'theme-customizer' ),
'tm_description' => __( 'If set, Google Tagmanger script will be generated.', 'theme-customizer' ),
'sd_label' => __( 'Top page description.', 'theme-customizer' ),
Expand Down Expand Up @@ -105,57 +105,57 @@ protected function get_fields() {
$fields = [
'tsmed_gtag' => [
'label' => $this->get_label( 'gtag_label' ),
'description' => $this->get_label( 'gtag_desc' ),
'description' => $this->get_label( 'gtag_description' ),
'type' => 'text',
'default' => '',
'placeholder' => 'UA-00000000000-1',
],
'tsmed_tag_manager' => [
'label' => $this->get_label( 'tm_label' ),
'description' => $this->get_label( 'tm_desc' ),
'description' => $this->get_label( 'tm_description' ),
'type' => 'text',
'default' => '',
'placeholder' => 'GTM-ABC123',
],
'tsmed_meta_site_desc' => [
'label' => $this->get_label( 'sd_label' ),
'description' => $this->get_label( 'sd_desc' ),
'description' => $this->get_label( 'sd_description' ),
'type' => 'textarea',
'default' => '',
],
'tsmed_meta_site_ogp' => [
'label' => $this->get_label( 'togp_label' ),
'description' => $this->get_label( 'togp_desc' ),
'description' => $this->get_label( 'togp_description' ),
'control_class' => 'WP_Customize_Cropped_Image_Control',
'default' => '',
'width' => $width,
'height' => $height,
],
'tsmed_meta_default_ogp' => [
'label' => $this->get_label( 'dogp_label' ),
'description' => $this->get_label( 'dogp_desc' ),
'description' => $this->get_label( 'dogp_description' ),
'control_class' => 'WP_Customize_Cropped_Image_Control',
'default' => '',
'width' => $width,
'height' => $height,
],
'tsmed_meta_twitter' => [
'label' => $this->get_label( 'tw_label' ),
'description' => $this->get_label( 'tw_desc' ),
'description' => $this->get_label( 'tw_description' ),
'type' => 'text',
'default' => '',
'placeholder' => '@screen_name',
],
'tsmed_meta_fbapp' => [
'label' => $this->get_label( 'fb_label' ),
'description' => $this->get_label( 'fb_desc' ),
'description' => $this->get_label( 'fb_description' ),
'type' => 'text',
'default' => '',
'placeholder' => 'e.g. 1234567890',
],
'tsmed_kill_seo' => [
'label' => $this->get_label( 'kill_label' ),
'description' => $this->get_label( 'kill_desc' ),
'description' => $this->get_label( 'kill_description' ),
'type' => 'checkbox',
'default' => '',
],
Expand Down

0 comments on commit 9b8851c

Please sign in to comment.