Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
start_controls_section(
'layout_section',
[
'label' => __( 'Layout', 'wallox-addon' ),
'tab' => \Elementor\Controls_Manager::TAB_CONTENT,
]
);
$this->add_control(
'layout_type',
[
'label' => __( 'Select Layout', 'wallox-addon' ),
'type' => \Elementor\Controls_Manager::SELECT2,
'default' => 'layout_one',
'options' => [
'layout_one' => __( 'Layout One', 'wallox-addon' ),
]
]
);
$this->end_controls_section();
include wallox_get_elementor_option( 'shop-option.php' );
//General style
$this->start_controls_section(
'general_style',
[
'label' => esc_html__( 'Content Style', 'wallox-addon' ),
'tab' => \Elementor\Controls_Manager::TAB_STYLE,
]
);
wallox_elementor_general_style_options( $this, 'Product Title', '{{WRAPPER}} .product__item__title a,{{WRAPPER}} .product__item__two__title a', [ 'layout_one', 'layout_three' ] );
wallox_elementor_general_style_options( $this, 'Product Price', '{{WRAPPER}} .product__item__price,{{WRAPPER}} .product__item__two__price', [ 'layout_one', 'layout_three' ] );
wallox_elementor_button_style_options( $this, 'Button', '{{WRAPPER}} .product__item .thm-btn', '{{WRAPPER}} .thm-btn::before', [ 'layout_one' ] );
$this->end_controls_section();
wallox_get_elementor_carousel_options( $this, [ 'layout_one' ] );
}
protected function render() {
$settings = $this->get_settings_for_display();
include wallox_get_template( 'shop-one.php' );
}
}