开发者 |
IDX
LLC |
---|---|
更新时间 | 2021年4月29日 03:30 |
PHP版本: | 5.6 及以上 |
WordPress版本: | 5.6.0 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
Importing from your MLS No more typing in listing information that you have already added to your MLS. With IMPress Listings and IMPress for IDX Broker, you can automatically import listing details. *IDX Broker subscription required.Default Taxonomies and Terms
wp-listings
folder to the /wp-content/plugins/
directory[listings]
高级功能
The shortcode accepts the following parameters:
id
= listing post id (accepts one or more id's), exclusive, cannot be combined with other parameters, except for columns
limit
= limit the number of posts to show, defaults to all
columns
= display output in columns, accepts values 2-6, default is 1 column
taxonomy
= taxonomy to display (must be used with the term parameter)
term
= term to display (must be used with the taxonomy parameter)
Example advanced usage:
[listings taxonomy="status" term="active" limit="10" columns="3"]
This will display all listings in the "Status" taxonomy, assigned to the "Active" term, limited to 10 listings, in 3 columnsYes. With an IDX Broker subscription and adding their IMPress for IDX Broker plugin to your site, IMPress Listings can import featured properties from the MLS.
Yes. This plugin can be used instead of the AgentPress Listings plugin. It uses the same post type name and custom field names (along with several new fields), so the posts you've added using AgentPress, along with the associated meta data, will remain attached to the listing post. Just be sure to deactivate AgentPress before activating IMPress Listings.
Name your template file single-listing-CUSTOM-NAME.php
(replace CUSTOM NAME with your own descriptive name). You can use the single-listing.php within the plugins /includes/views/ folder for a guide on how to display the post type data. You'll need to include the following block of text at the top of your custom template:
/* Single Listing Template: Test Template Description: Give it a description to help identify */
It's possible to remove the default property status terms by using a filter in your theme or custom plugins. Here is an example for the status terms:
/* Remove Default Status Terms from IMPress Listings */ add_filter( 'wp_listings_default_status_terms', 'custom_default_status_terms' ); function custom_default_status_terms() { $status_terms = array(); return $status_terms; }
Here is an example for the property terms:
/* Remove Default Property Terms from IMPress Listings */ add_filter( 'wp_listings_default_property_type_terms', 'custom_default_property_type_terms' ); function custom_default_property_type_terms() { $property_type_terms = array(); return $property_type_terms; }
[listings]
shortcode to output listings on any post or page