Temporary Closures BMLT

描述

Temporary Closures BMLT is a plugin that displays a list of all meetings that have temporary closures. It can be used
to view published or unpublished meetings.

SHORTCODE
Basic: [temporary_closures]
Attributes: root_server, services, recursive, display_type, custom_query, sortby

— Shortcode parameters can be combined

Usage

A minimum of root_server, and services attributes are required.

Ex. [temporary_closures root_server="https://www.domain.org/main_server" services="50"]

recursive to recurse service bodies add recursive="1"
Ex. [temporary_closures root_server="https://www.domain.org/main_server" services="50" recursive="1"]

services to add multiple service bodies just separate by a comma.
Ex. [temporary_closures root_server="https://www.domain.org/main_server" services="50,37,26"]

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

custom_query You can add a custom query from semantic api to filter results, for ex by format &formats=54.
Ex. [temporary_closures root_server="https://www.domain.org/main_server" custom_query="&formats=54"]

sortby Allows you to use custom sort keys, the default is location_municipality,weekday_tinyint,start_time.
Ex. [temporary_closures root_server="https://www.domain.org/main_server" sortby="weekday_tinyint,location_municipality,start_time"]

EXAMPLES

https://sca.charlestonna.org/temporary-closures-bmlt/

MORE INFORMATION

https://github.com/bmlt-enabled/temporary-closures-bmlt

螢幕截圖

  • screenshot-1.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 Temporary Closures BMLT Plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Add [temporary_closures] shortcode to your WordPress page/post.
  4. At a minimum assign root_server, and services attributes.

評價

There are no reviews for this plugin.

貢獻者及開發者

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

貢獻者

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

對開發相關資訊感興趣?

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

修改日誌

1.3.2

  • Remove need for bmlt auth.

1.3.1

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

1.3.0

  • Updated version logic for BMLT 3.0.0 compatibility.

1.2.1

  • Using jQuery no conflict.
  • Fixed PHP warning.

1.2.0

  • Added datatables to display_type, this will display data in sortable table.

1.1.1

  • CSS Tweaks.
  • Removed unneeded map link.

1.1.0

  • Added custom sort option sortby.

1.0.1

  • Bug fixes.

1.0.0

  • Initial WordPress submission.