$this->section_footer, 'title' => __( 'Footer', 'bigshop' ), 'description' => __( 'BigShop Footer Section', 'bigshop' ), 'priority' => 38 ] ); Customize::add_controls( $this->section_footer, $this->get_controls() ); } /** * Get controls * @return array */ public function get_controls() { return apply_filters( 'bigshop_footer_controls', [ 'rt_footer_display' => [ 'type' => 'switch', 'label' => __( 'Footer Display', 'bigshop' ), 'description' => __( 'Show footer display', 'bigshop' ), 'default' => 1, ], 'rt_footer_style' => [ 'type' => 'image_select', 'label' => __( 'Choose Layout', 'bigshop' ), 'default' => '1', 'choices' => Fns::image_placeholder( 'footer', 1,'png' ) ], 'rt_footer_width' => [ 'type' => 'select', 'label' => __( 'Footer Width', 'bigshop' ), 'default' => '', 'choices' => [ '' => __( 'Box Width', 'bigshop' ), '-fluid' => __( 'Full Width', 'bigshop' ), ] ], 'rt_footer_max_width' => [ 'type' => 'number', 'label' => __( 'Footer Max Width (PX)', 'bigshop' ), 'description' => __( 'Enter a number greater than 992.', 'bigshop' ), 'condition' => [ 'rt_footer_width', '==', '-fluid' ] ], 'rt_sticy_footer' => [ 'type' => 'switch', 'label' => __( 'Sticky Footer', 'bigshop' ), 'description' => __( 'Show footer at the top when scrolling down', 'bigshop' ), ], 'rt_social_footer' => [ 'type' => 'switch', 'label' => __( 'Social Icon', 'bigshop' ), 'description' => __( 'Show footer at the social icon, T', 'bigshop' ), 'default' => 1, ], 'rt_footer_copyright' => [ 'type' => 'tinymce', 'label' => __( 'Footer Copyright Text', 'bigshop' ), 'default' => __( 'Copyright© [y] BigShop by WooThemer', 'bigshop' ), 'description' => __( 'Add [y] flag anywhere for dynamic year.', 'bigshop' ), ], ] ); } }