$this->section_labels, 'title' => __( 'Modify Static Text', 'bigshop' ), 'description' => __( 'You can change all static text of the theme.', 'bigshop' ), 'priority' => 999 ] ); Customize::add_controls( $this->section_labels, $this->get_controls() ); } /** * Get controls * @return array */ public function get_controls() { return apply_filters( 'wtbigshop_labels_controls', [ 'rt_topbar_labels' => [ 'type' => 'heading', 'label' => __( 'Topbar Labels', 'bigshop' ), ], 'rt_topbar_shipping_text' => [ 'type' => 'text', 'label' => __( 'Top Bar Text', 'bigshop' ), ], 'rt_topbar_shipping_url' => [ 'type' => 'url', 'label' => __( 'Top Bar Text URL', 'bigshop' ), ], 'rt_topbar_faq_text' => [ 'type' => 'text', 'label' => __( 'Top Bar Text 2', 'bigshop' ), ], 'rt_topbar_faq_url' => [ 'type' => 'url', 'label' => __( 'Top Bar Text 2 URL', 'bigshop' ), ], 'rt_header_labels' => [ 'type' => 'heading', 'label' => __( 'Header Labels', 'bigshop' ), ], 'rt_offer_text' => [ 'type' => 'textarea', 'label' => __( 'Offer Text', 'bigshop' ), 'description' => __( 'Context: Header Offer Text', 'bigshop' ), ], 'rt_footer_labels' => [ 'type' => 'heading', 'label' => __( 'Footer Labels', 'bigshop' ), ], 'rt_ready_label' => [ 'type' => 'text', 'label' => __( 'Are You Ready', 'bigshop' ), 'default' => __( 'ARE YOU READY TO GET STARTED?', 'bigshop' ), 'description' => __( 'Context: Footer Are You Ready', 'bigshop' ), ], 'rt_contact_button_text' => [ 'type' => 'text', 'label' => __( 'Contact Us', 'bigshop' ), 'default' => __( 'Contact Us', 'bigshop' ), 'description' => __( 'Context: Footer contact button', 'bigshop' ), ], 'rt_blog_labels' => [ 'type' => 'heading', 'label' => __( 'Blog Labels', 'bigshop' ), ], 'rt_author_prefix' => [ 'type' => 'text', 'label' => __( 'By', 'bigshop' ), 'default' => 'by', 'description' => __( 'Context: Meta Author Prefix', 'bigshop' ), ], 'rt_tags' => [ 'type' => 'text', 'label' => __( 'Tags:', 'bigshop' ), 'default' => __( 'Tags:', 'bigshop' ), 'description' => __( 'Context: Single blog footer tags label', 'bigshop' ), ], 'rt_social' => [ 'type' => 'text', 'label' => __( 'Socials:', 'bigshop' ), 'default' => __( 'Socials:', 'bigshop' ), 'description' => __( 'Context: Single blog footer Socials label', 'bigshop' ), ], ] ); } }