diff --git a/inc/property/class-opalestate-shortcodes.php b/inc/property/class-opalestate-shortcodes.php index fbb0029e..7f9d88d2 100755 --- a/inc/property/class-opalestate-shortcodes.php +++ b/inc/property/class-opalestate-shortcodes.php @@ -90,10 +90,17 @@ class OpalEstate_Shortcodes { $atts = is_array( $atts ) ? $atts : []; $default = array ( - 'posts_per_page' => 10, + 'posts_per_page' => 9, 'show_pagination' => true, '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 ); diff --git a/readme.txt b/readme.txt index fa4a2604..9329470f 100755 --- a/readme.txt +++ b/readme.txt @@ -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_register_form] => Register User Form - [opalestate_login_form] => Login Form + - [opalestate_properties] => Display list of property estate in grid with pagination = Elementor Widgets = diff --git a/templates/shortcodes/properties.php b/templates/shortcodes/properties.php index 19be584d..e7da2fac 100644 --- a/templates/shortcodes/properties.php +++ b/templates/shortcodes/properties.php @@ -1,7 +1,13 @@ $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 );