Merge pull request #3 from wpopal/develop

Develop
This commit is contained in:
wpopal 2019-10-10 17:01:42 +07:00 committed by GitHub
commit 2d4ea6d06d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 3 deletions

View File

@ -135,7 +135,18 @@ class Opalestate_Search_Form_Api extends Opalestate_Base_API {
'data' => Opalestate_Taxonomy_Amenities::get_list(), 'data' => Opalestate_Taxonomy_Amenities::get_list(),
]; ];
$fields['info'] = OpalEstate_Search::get_setting_search_fields(); $info_fields = OpalEstate_Search::get_setting_search_fields();
$info = [];
if ( $info_fields ) {
foreach ( $info_fields as $field_key => $field_name ) {
$info[] = [
'key' => $field_key,
'name' => $field_name,
];
}
}
$fields['info'] = $info;
$response['fields'] = $fields; $response['fields'] = $fields;
return $this->get_response( 200, $response ); return $this->get_response( 200, $response );

View File

@ -11,7 +11,7 @@ License URI: http://www.gnu.org/licenses/gpl-3.0.html
This is an ideal solution and brilliant choice for you to set up a professional estate website, Marketplace, Portal Property Website. This is an ideal solution and brilliant choice for you to set up a professional estate website, Marketplace, Portal Property Website.
== Description == == Description ==
[Live Demos](http://demo2.themelexus.com/housey/) | [Plugin Guide](https://wpopal-2.gitbook.io/opal-estate/) | [Theme Guide](https://wpopal-2.gitbook.io/housey/) | [Free Theme](http://demo2.themelexus.com/latehome_free/) | [Extensions](https://wordpress.org/plugins/tags/opalestate_addon/) [Live Demos](http://demo2.themelexus.com/housey/) | [Plugin Guide](https://wpopal-2.gitbook.io/opal-estate/) | [Theme Guide](https://pavotheme.gitbook.io/housey/) | [Free Theme](http://demo2.themelexus.com/latehome_free/) | [Extensions](https://wordpress.org/plugins/tags/opalestate_addon/)
@ -24,7 +24,9 @@ The plugin will not make you disappointed with ease of use, friendly & flexible
= Which themes use this plugin? = = Which themes use this plugin? =
1. *[ Housey - Real Estate WordPress Theme](https://bit.ly/2kHewkG "Housey - Real Estate WordPress Theme")* 1. *[ Housey - Real Estate WordPress Theme](https://bit.ly/2kHewkG "Housey - Real Estate WordPress Theme")*
2. *[ Latehome Free - Real Estate Free WordPress Theme](http://demo2.themelexus.com/latehome_free/ "Latehome Free - Real Estate Free WordPress Theme"). You can download free [here](https://bit.ly/2nLTfHT "Latehome Free 2. *[ Latehome - Real Estate WordPress Theme](https://bit.ly/2M0rmp0 "Latehome - Real Estate WordPress Theme")*
3. *[ Latehome Free - Real Estate Free WordPress Theme](http://demo2.themelexus.com/latehome_free/ "Latehome Free - Real Estate Free WordPress Theme"). You can download free [here](https://bit
.ly/2nLTfHT "Latehome Free
download").* download").*
* Please keep contact us at help@wpopal.com to send us your website, we will publish it our showcase * Please keep contact us at help@wpopal.com to send us your website, we will publish it our showcase