這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Contacts BMLT

描述

Contacts BMLT is a plugin that displays helpline and website information about service bodies using the contacts_bmlt shortcode.

SHORTCODE
Basic: [contacts_bmlt]
Attributes: root_server, display_type, parent_id, show_description, show_email, show_url_in_name, show_tel_url, show_full_url, show_all_services, show_locations

— Most Shortcode parameters can be combined

Usage

A minimum of root_server needs to be set.

Ex. [contacts_bmlt root_server="https://www.domain.org/main_server"]

display_type To change the display type add display_type="table" there are two different types table, block the default is table.
Ex. [contacts_bmlt root_server="https://www.domain.org/main_server" display_type="table"]

parent_id This will only display service bodies who has set parent_id.
Ex. [contacts_bmlt root_server="https://www.domain.org/main_server" parent_id="22"]

show_description This will display the service bodies description underneath the name if set.
Ex. [contacts_bmlt root_server="https://www.domain.org/main_server" show_description="1"]

show_email This will display the service bodies contact email underneath the name if set.
Ex. [contacts_bmlt root_server="https://www.domain.org/main_server" show_email="1"]

show_url_in_name This will add a link to the service body name, this is the default action. To remove the url from the service body name add show_url_in_name="0quot;.
Ex. [contacts_bmlt root_server="https://www.domain.org/main_server" show_url_in_name="0"]

show_tel_url This will add a tel link to the telephone number. Default is to not add it.
Ex. [contacts_bmlt root_server="https://www.domain.org/main_server" show_tel_url="1"]

show_full_url This will add a separate column or div with the full url displayed. Default is to not add it.
Ex. [contacts_bmlt root_server="https://www.domain.org/main_server" show_full_url="1"]

show_all_services This will display all service bodies regardless of whether they have their phone or URL field filled out. The default is not to display them.
Ex. [contacts_bmlt root_server="https://www.domain.org/main_server" show_all_services="1"]

show_locations This will display a list of locations below the service body name. Accepted values are location_neighborhood, location_city_subsection, location_municipality, location_sub_province.
Ex. [contacts_bmlt root_server="https://www.domain.org/main_server" show_locations="location_municipality"]

EXAMPLES

https://sca.charlestonna.org/region-contacts/

MORE INFORMATION

https://github.com/bmlt-enabled/contacts-bmlt

螢幕截圖

  • screenshot-1.png
  • screenshot-2.png

安裝

This section describes how to install the plugin and get it working.

  1. Download and install the plugin from WordPress dashboard. You can also upload the entire Contacts BMLT Plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Add [contacts_bmlt] shortcode to your WordPress page/post.
  4. At a minimum assign root_server.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Contacts BMLT” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Contacts BMLT 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.3.0

  • Note this version requires BMLT Root Server version 3.04 or greater.
  • Refactored codebase.

1.2.2

  • Fix for various PHP warnings.

1.2.1

  • Fix for User-Agent issue that appears to be present on SiteGround hosted root servers.

1.2.0

  • Updated version logic for BMLT 3.0.0 compatibility.

1.1.5

  • Bump version, minor changes.

1.1.4

  • Open links in new window.

1.1.3

  • Fix to better comply with WordPress best practices.

1.1.2

  • Fix for unneeded escaping of quotes.

1.1.1

  • Fix casing for location info.

1.1.0

  • Added option to show all service bodies regardless of if they have any contact info.
  • Simplified some code with checking the service bodies.
  • Added ability to show service body locations under service body name.

1.0.0

  • Initial WordPress submission.