This commit is contained in:
ThemeLexus 2019-09-30 10:45:28 +07:00
parent 76759b11e3
commit 65d06225d5
3 changed files with 17 additions and 3 deletions

View File

@ -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 );

View File

@ -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 =

View File

@ -1,7 +1,13 @@
<?php
$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 );