$this->section_breadcrumb, 'title' => __( 'Banner - Breadcrumb', 'bigshop' ), 'description' => __( 'WTBigshop Banner Section', 'bigshop' ), 'priority' => 23 ] ); Customize::add_controls( $this->section_breadcrumb, $this->get_controls() ); } /** * Get controls * @return array */ public function get_controls() { return apply_filters( 'wtbigshop_topbar_controls', [ 'rt_banner' => [ 'type' => 'switch', 'label' => __( 'Banner Visibility', 'bigshop' ), 'default' => 0 ], 'rt_banner_style' => [ 'type' => 'image_select', 'label' => __( 'Breadcrumb Style', 'bigshop' ), 'default' => '1', 'choices' => Fns::image_placeholder( 'banner', 2,'png' ), 'condition' => [ 'rt_banner' ] ], 'rt_breadcrumb_alignment' => [ 'type' => 'select', 'label' => __( 'Breadcrumb Alignment', 'bigshop' ), 'default' => 'align-items-center', 'choices' => [ '' => __( 'Breadcrumb Default', 'bigshop' ), 'align-items-center' => __( 'Alignment Center', 'bigshop' ), 'align-items-end' => __( 'Alignment right', 'bigshop' ), ] ], 'rt_banner_image' => [ 'type' => 'image', 'label' => __( 'Banner Image', 'bigshop' ), 'description' => __( 'Upload Banner Image', 'bigshop' ), 'button_label' => __( 'Banner', 'bigshop' ), 'condition' => [ 'rt_banner' ] ], 'rt_banner_image_attr' => [ 'type' => 'bg_attribute', 'condition' => [ 'rt_banner' ], 'default' => json_encode( [ 'position' => 'center center', 'attachment' => 'scroll', 'repeat' => 'no-repeat', 'size' => 'cover', ] ) ], 'rt_banner_height' => [ 'type' => 'number', 'label' => __( 'Banner Height (px)', 'bigshop' ), 'description' => __( 'Height can be differ for transparent header.', 'bigshop' ), 'default' => '', 'condition' => [ 'rt_banner' ] ], 'rt_banner1' => [ 'type' => 'heading', 'label' => __( 'Breadcrumb Settings', 'bigshop' ), 'condition' => [ 'rt_banner' ] ], 'rt_breadcrumb_title' => [ 'type' => 'switch', 'label' => __( 'Banner Title', 'bigshop' ), 'default' => 1, 'condition' => [ 'rt_banner' ] ], 'rt_breadcrumb' => [ 'type' => 'switch', 'label' => __( 'Banner Breadcrumb', 'bigshop' ), 'default' => 1, 'condition' => [ 'rt_banner' ] ], 'rt_breadcrumb_border' => [ 'type' => 'switch', 'label' => __( 'Breadcrumb Border', 'bigshop' ), 'default' => 1, 'condition' => [ 'rt_banner' ] ], ] ); } }