This commit is contained in:
Hoang Huu
2019-09-13 11:11:59 +07:00
parent 558fb07261
commit 362dc5c097
3 changed files with 24 additions and 14 deletions

View File

@@ -93,13 +93,23 @@ class Opalestate_search_property_results_Elementor_Widget extends Opalestate_Ele
$this->add_control(
'style',
[
'label' => esc_html__( 'Style Item Layout', 'opalestate-pro' ),
'label' => esc_html__( 'Style Grid Layout', 'opalestate-pro' ),
'type' => \Elementor\Controls_Manager::SELECT,
'options' => $this->get_template_post_type(),
'default' => 'grid',
]
);
$this->add_control(
'style_list',
[
'label' => esc_html__( 'Style List Layout', 'opalestate-pro' ),
'type' => \Elementor\Controls_Manager::SELECT,
'options' => $this->get_template_post_type(),
'default' => 'list',
]
);
$this->add_control(
'column',
[