[WordPress] 外掛分享: GetRETS

首頁外掛目錄 › GetRETS
WordPress 外掛 GetRETS 的封面圖片
全新外掛
安裝啟用
★★★★★
5/5 分(1 則評價)
3294 天前
最後更新
問題解決
WordPress 4.6.1+ v1.0.4 上架:2016-12-07

內容簡介

這個 WordPress 外掛可以立即在您的網站上添加房地產列表數據。通過與 timitek, llc 的 GetRETS® 集成,此插件允許來自多個來源的列表出現在您的網站上,就像網站上的其他內容一樣。
高級列表搜索小工具
關於

GetRETS 可以立即集成到 WordPress 的默認搜索中。但是,如果您想啟用更高級的搜索,GetRETS 插件還包括一個搜索小工具,啟用後,訪問者可以在您的網站上指定進一步的限制以搜索列表。

除通用關鍵詞搜索外,還提供以下限制;

最低價格
最高價格
住宅清單
土地清單
商業列表

啟用

從 WordPress 管理儀表板中,選擇外觀-小工具。
從可用的小工具部分,選擇 GetRETS 搜索。
基於您安裝的主題,選擇要在您的網站上顯示小工具的側欄/區域。
單擊添加小工具按鈕
您可以自定义小工具要使用的標題。

最後

現在您網站的訪問者可以執行更高級的列表搜索!

短代碼
高級搜索

除搜索小工具外,GetRETS 插件還提供了一個 [getrets_search] 短代碼,供您在文章或頁面中使用,以創建更定制的搜索頁面。此短代碼提供了具有相同高級搜索功能的搜索表單,就像小工具一樣。

如何使用

在任何頁面/文章中放置以下行。

[getrets_search]<h3>通過 CSS 擴展</h3>

帖子內容細節元素用多個 CSS 類進行標記,這些類可以用於自定義列表詳細信息帖子的外觀和感覺。

主要內容
getrets-content

這是用於覆蓋所有列表詳細信息帖子內容的主 div。

部分

每個部分都包裝在自己的 div 中,具有自己的類別。

詳細資料-getrets-details
描述-getrets-description
特徵-getrets-features
照片-getrets-features

標題
getrets-title

這是每個部分的標題。

詳細資料
描述
特徵
照片

細節項目
getrets-detail

詳細資料部分中的每個條目都有一個 div 包裹它,其上應用了 getrets-detail 類別。

標籤/值
getrets-label
getrets-value

此 getrets-label 類別應用於詳細資料部分中每個條目的每個標籤,以及由提供的標籤標籤。

同樣,getrets-value 類別應用於每個標籤後的每個值。

相片
getrets-photo

每張照片都應用了getrets-photo 類別。

更多細節

有關更多信息,請檢查標記:

wp-content/plugins/getrets/views/frontend/content.php

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.4) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「GetRETS」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Instantly add real estate listing data to your website. This WordPress plugin will allow your listings, from multiple feeds, to appear within your site as native content, treated just like other content on your website. All of this is done through an integration with GetRETS® from timitek, llc.
Advanced Listing Search Widget
About
GetRETS integrates with the default WordPress search immediately out of the box after setup. However, if you would like to enable a more advanced search, the GetRETS plugin also includes a Search Widget, which once enabled, will allow visitors to your site to specify additional constraints to search listings by.
In addition to the generic keyword search, the following constraints are made available;

Minimum Price
Maximum Price
Residential Listings
Land Listings
Commercial Listings

Enabling

From the WordPress administration dashboard, select Appearance – Widgets.
From the Available Widgets section, select GetRETS Search.
Based on the theme you have installed, select the sidebar / area where you want your widget to be displayed at on your site.
Click the Add Widget button
You may customize the title to be used for the for the widget.

Finally
Now your sites visitors can perform more advanced listing searches!
Shortcodes
Advanced Search
In addition to the the search widget, the GetRETS plugin provides a [getrets_search] shortcode for you to use in a post or page to create a more customized search page. This short code provides a search form with the same advanced searching functionality as the widget.
How To Use
Place the following line in any page / post.
[getrets_search]

Extending Via CSS

The post content detail elements are marked up with several CSS classes that can be used to customize the look and feel of the listing details post.
Main Content
getrets-content

This is class used for the main div that surrounds all of the content for the listing details post.
Sections
Each of the 4 sections are wrapped in a div that has it’s own class.

Details – getrets-details
Description – getrets-description
Features – getrets-features
Photos – getrets-features

Titles
getrets-title

This is the title for each of the 4 sections.

Details
Description
Features
Photos

Detail Entries
getrets-detail

Each entry in the Details section has a div around it with the getrets-detail class applied to it.
Labels / Values
getrets-label
getrets-value

This getrets-label class is applied to each label used for each detail item in the Details section, as well as the Provided By: label.
Likewise, the getrets-value class is applied to each value after the label.
Photos
getrets-photo

Each photo has the getrets-photo class applied to it.
Further Details
For further information examine the markup at;
wp-content/plugins/getrets/views/frontend/content.php

Extending Via JavaScript

In addition to extending the the listing details post via custom styles in your theme, you can also extend functionality via JavaScript.
listingLoaded Function
Each listing detail post will attempt to inject listing detail information and a list of images for the listing into a global function if your theme enables it.
To take advantage of this create a public function with the following syntax, that will be called when a listing detail post is displayed.
/**
* Function that is called by GetRETS when a listing
* detail post is loaded.
*
* listing - JSON object representing the details
* of the listing
* images - an array of image urls associated
* with this listing
*/
function listingLoaded(listing, images)
{
alert(listing.description);
}

Element Attributes
Each element that is rendered is also rendered with an intuitive id to make it easy to allow for DOM manipulation.
For further information examine the markup at;
wp-content/plugins/getrets/views/frontend/content.php

延伸相關外掛

文章
Filter
Apply Filters
Mastodon