uapte
This commit is contained in:
parent
76759b11e3
commit
65d06225d5
@ -90,10 +90,17 @@ class OpalEstate_Shortcodes {
|
|||||||
$atts = is_array( $atts ) ? $atts : [];
|
$atts = is_array( $atts ) ? $atts : [];
|
||||||
|
|
||||||
$default = array (
|
$default = array (
|
||||||
'posts_per_page' => 10,
|
'posts_per_page' => 9,
|
||||||
'show_pagination' => true,
|
'show_pagination' => true,
|
||||||
'column' => apply_filters( 'opalestate_properties_column_row', 3 ),
|
'column' => apply_filters( 'opalestate_properties_column_row', 3 ),
|
||||||
'layout' => 'content-property-grid-v2'
|
'layout' => 'content-property-grid-v2',
|
||||||
|
'showmode' => '',
|
||||||
|
'categories' => null,
|
||||||
|
'types' => null,
|
||||||
|
'labels' => null,
|
||||||
|
'cities' => null,
|
||||||
|
'statuses' => null,
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
$atts = array_merge( $default, $atts );
|
$atts = array_merge( $default, $atts );
|
||||||
|
@ -96,6 +96,7 @@ The plugin will not make you disappointed with ease of use, friendly & flexible
|
|||||||
- [opalestate_ajax_map_quick_search] => Ajax Search Map Properties
|
- [opalestate_ajax_map_quick_search] => Ajax Search Map Properties
|
||||||
- [opalestate_register_form] => Register User Form
|
- [opalestate_register_form] => Register User Form
|
||||||
- [opalestate_login_form] => Login Form
|
- [opalestate_login_form] => Login Form
|
||||||
|
- [opalestate_properties] => Display list of property estate in grid with pagination
|
||||||
|
|
||||||
= Elementor Widgets =
|
= Elementor Widgets =
|
||||||
|
|
||||||
|
@ -2,6 +2,12 @@
|
|||||||
|
|
||||||
$args = [
|
$args = [
|
||||||
'posts_per_page' => $posts_per_page,
|
'posts_per_page' => $posts_per_page,
|
||||||
|
'showmode' => $showmode,
|
||||||
|
'categories' => $categories,
|
||||||
|
'types' => $types,
|
||||||
|
'labels' => $labels,
|
||||||
|
'cities' => $cities,
|
||||||
|
'statuses' => $statuses,
|
||||||
];
|
];
|
||||||
|
|
||||||
$query = Opalestate_Query::get_property_query( $args );
|
$query = Opalestate_Query::get_property_query( $args );
|
||||||
|
Loading…
Reference in New Issue
Block a user