
前言介紹
- 這款 WordPress 外掛「Shortcode for MobilizeAmerica API」是 2025-05-13 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2025-11-17,距離現在已有 101 天。
- 外掛最低要求 WordPress 6.7 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 8.0 以上。
- 有 3 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
sflwa |
外掛標籤
內容簡介
總結:Mobilize America 活動縮碼/小工具將顯示 Mobilize America 的活動清單,可選擇 Card 和 Default (List) 兩種版面。Elementor 小工具可自定義預設樣式。此外,這個外掛連接到 MobilizeAmerica 的 API,以拉取特定組織的活動。
問題與答案:
1. 這個外掛可用來做什麼?
- 可以在 WordPress 網站上顯示 Mobilize America 的活動清單。
2. 這個外掛提供了哪兩種版面?
- Card (卡片) 和 Default (列表)。
3. 這個外掛連接到哪個服務的 API?
- MobilizeAmerica 的 API。
4. 若想顯示特定組織的活動,必須傳遞哪些參數?
- 組織 ID、開始日期,以及關於虛擬活動的變數。
5. 可以透過哪個指令來顯示 Mobilize America 的活動?
- [mobilize_america_events] 指令。
6. 如何調整活動顯示的樣式?
- 透過參數中的 template 選項,可選擇 default 或 card,分別為列表和卡片格式。
7. 如何指定只顯示虛擬或實體活動?
- 使用 is_virtual 參數,可選擇 “” (所有活動)、 “true” (僅虛擬活動)、或 “false” (僅實體活動)。
8. 有哪些計畫中的功能?
- 調整預設樣式、修復時區偏移、卡片模板的描述截斷、修復 Elementor 小工具的樣式設定、單一活動顯示、輸出縮碼內容的區塊。
原文外掛簡介
The Mobilize America Events shortcode / widget will display a list of events from Mobilize America.
There are 2 layouts – Card & Default (List).
The elementor widget allows you to override the default styles.
External Services
This plugin connects to MobilizeAmerica’s API to pull in events for a specific organization.
The shortcode / elementor widget passes a specificed organization id, a start date and a variable about virtual events.
This service is provided by MobilizeAmerica – https://api.mobilize.us
* API Documentation
* Mobilize Terms of Use
* MobilizePrivacy Policy
Instructions for Shortcode for MobilizeAmerica API
This shortcode allows you to display events from Mobilize America on your WordPress site.
The Element widget outputs the code for the shortcode so you do not have to build it manually
Shortcode: [mobilize_america_events]
Attributes
The shortcode accepts the following attributes:
* organization_id (required): The ID of the organization whose events you want to display. You can find this ID on Mobilize America. https://www.mobilize.us/dashboard/YOUR-ORGANIZATION/settings/
* organization_only: (optional): yes/no – if set to yes then only the organzation events will be shown without promoted events
* timeslot_start: (optional): Suggested: gte_now which is greater than now – Unix timestamp to filter events. Only shows events withtimeslots starting after this date.
* timeslot_end: (optional): Unix timestamp to filter events. Only shows events with timeslots starting before this date.
Note: For timeslot please use comparison text – The comparison operators are ≥ gte, > gt, ≤ lte, < lt
* event_types: (optional): Filters events by event type.
* zipcode: (optional): Filters events by zipcode.
* radius: (optional): Filters events by a radius around the zipcode.
* limit: (optional): The maximum number of events to display. Default is 10.
* template: (optional): The template to use for displaying events. Available options are:
* default: Displays events in a list format.
* card: Displays events in a card format.
* show_description: (optional): Show or hide the event description. Default is true. Options are:
* true: Show the description.
* false: Hide the description.
* is_virtual: (optional): Filters events by their virtual status. Options are:
* “”: Show all events (default).
* “true”: Show only virtual events.
* “false”: Show only in-person events.
* columns: (optional, only applies to the card template): The number of columns to use for the card layout. Options are 1, 2, 3, or 4. Default is 3.
* tag_id: (optional): comma separated list of tag ids to filter by
Planed Features
Truncate Description
Fix Elementor Widget Style settings
Map Link for Address
Remove Default & Card Layout for single layout – future feature of custom layout
Future Feature Ideas
Block to output shortcode content
Single Event Display
Custom Layout in uploads directory
UI for custom layout inside wordpress
Map Layout of events
Events stored locally in database to allow for better search / filtering
Examples
Display 10 events for organization ID 1234:
[mobilize_america_events organization_id="1234"]
Display 5 card formatted events for organization 1234, starting after 2024-01-01:
[mobilize_america_events organization_id="1234" template="card" timeslot_start="gte_1704137620" limit="5"]
Display virtual events in 2 columns:
[mobilize_america_events organization_id="1234" template="card" is_virtual="true" columns="2"]
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Shortcode for MobilizeAmerica API」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.8 | 1.0.9 | trunk | 1.0.10 | 1.0.11 | 1.0.12 | 1.0.13 | 1.0.14 | 1.0.15 |
延伸相關外掛(你可能也想知道)
WP Consent API 》WP Consent API 是一個外掛,可以標準化插件之間同意的同意類別溝通。它需要使用 Cookie 標語插件和至少一個支援 WP Consent API 的其他插件。, , 有了這個插...。
InfiniteWP Client 》InfiniteWP 可讓使用者從自己的伺服器管理無限數量的 WordPress 網站。, 主要功能:, , 自行託管系統:位於您自己的伺服器上,完全受您控制, 一鍵更新所有網站...。
Disable REST API 》這是最全面的 WordPress REST API 存取控制外掛!, 輕鬆安裝,安裝後不需要額外設定即可使用。只需上傳並啟用,整個 REST API 將無法被一般訪客存取。, 但如...。
Mailgun for WordPress 》Mailgun 是超過10,000名網站和應用程式開發人員信任的電子郵件自動化引擎,用於發送、接收和追踪郵件。藉助Mailgun強大的郵件API,開發人員可以更多時間建立...。Make Connector 》Make 是一個視覺化平台,讓你可以在幾分鐘內設計、建立和自動化任何事情 - 從簡單的任務到複雜的工作流程。使用 Make,你可以在 WordPress 和數千個應用程式...。
Disable WP REST API 》這個外掛只有一個功能:禁用沒有登入 WordPress 的訪客使用 WP REST API。不需要任何設定。, 這個外掛只有 22 行短小的程式碼(少於 2KB)。因此它非常輕量、...。
ACF to REST API 》此 WordPress 外掛在WordPress REST API中提供了Advanced Custom Fields的端點, 詳細資訊請參閱GitHub:https://github.com/airesvsg/acf-to-rest-api/。
WPGet API – Connect to any external REST API 》簡單地連接WordPress至外部API的最簡單方式。, , WPGetAPI 可輕鬆地從無限量的第三方 REST API 發送和接收資料,然後使用「Shortcode」或「Template Tag」格...。
WP REST Cache 》如果您在使用 WordPress REST API 時遇到速度問題,這個外掛將允許 WordPress 快取 REST API 的回應,使其更快。, 此外掛提供以下功能:, , 快取所有預設的 W...。
WordPress REST API (Version 2) 》WordPress 正轉變成一個完整的應用程式框架,因此需要新的 API。這個專案的目的是創建一個易於使用、易於理解且經過良好測試的框架,用於創建這些 API,以及...。
WPGraphQL for ACF 》- WPGraphQL for Advanced Custom Fields 是一個免費的開源 WordPress 外掛,將 ACF Fields 和 Field Groups 添加到 WPGraphQL Schema 中。, - 創建 ACF Fiel...。
WP REST API Controller 》WP REST API Controller 外掛提供使用者易用的圖形化介面,使管理員可以切換 WordPress 核心和自訂文章類型以及分類法的可見性和端點,同時也可以自訂 API 回...。
WP REST API – OAuth 1.0a Server 》使用這個外掛,您可以將應用程式連接至您的 WordPress 網站,而不必透露您的密碼。, 此外掛使用 OAuth 1.0a 協議,允許委派授權,即允許應用程式使用一組次要...。Maps from Yandex for Elementor 》這款 Elementor Yandex Maps 外掛可以協助您建立符合 SEO 標準的地圖。這款外掛支援不同的地圖類型(路線圖/衛星圖/混合圖/地形圖)和自訂地圖樣式,輕鬆地在...。
WPGraphQL Smart Cache 》你想要快速或準確的 API 資料嗎?有了 WPGraphQL Smart Cache,您可以兼得兩者。WPGraphQL Smart Cache 是一個免費的、開源的 WordPress 外掛,提供對 WPGrap...。
