该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

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.

评价

此插件暂无评价。

贡献者及开发者

「Temporary Closures BMLT」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

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.