Linux 软件免费装

Events Listing Block for CiviCRM

开发者 ryanmorash
更新时间 2026年7月22日 05:51
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv3 or later
版权网址: 版权信息

标签

calendar events block gutenberg civicrm

下载

1.0.2

详情介绍:

Events Listing Block for CiviCRM adds a server-rendered CiviCRM Events block. Event information is loaded from CiviCRM whenever the page is viewed, so published content stays current without resaving the post. The block supports: This plugin requires CiviCRM with the CiviEvent component enabled. CiviCRM is not hosted in the WordPress.org Plugin Directory and must be installed separately. If CiviCRM is not active, Events Listing Block for CiviCRM remains active without causing a fatal error. Administrators see guidance on the Plugins screen, editors see a configuration message in the block preview, and the block produces no public output until CiviCRM is available.

安装:

  1. Install and activate CiviCRM, then confirm that the CiviEvent component is enabled.
  2. Upload the civievent-block directory to /wp-content/plugins/.
  3. Activate Events Listing Block for CiviCRM.
  4. Insert the CiviCRM Events block in the block editor and choose its settings in the block sidebar.

常见问题:

Which events are displayed?

The block displays active, public, non-template events whose start date is today or later, ordered by start date. Developers can adjust the CiviCRM API parameters with the civievent_block_query_args filter.

Can I customize the markup or query?

The civievent_block_query_args, civievent_block_events, and civievent_block_registration_label filters allow theme or plugin code to adjust the query, event records, and registration label.

What happens if CiviCRM is not active?

The plugin can still be activated safely. It shows a warning to administrators on the Plugins screen and a configuration message to editors. Visitors see no broken markup or error message; the block begins displaying events after CiviCRM is installed and active.

更新日志:

1.0.2 1.0.1 1.0.0 0.1.0