
內容簡介
**外掛總結:**
CitySpark Inc. 是主要的活動清單和推廣平台,此外掛將 CitySpark 平台整合至 WordPress,讓您能輕鬆顯示您的 CitySpark 行事曆以及商家清單和即將到來的精選內容。使用此外掛需要 CitySpark 帳戶,詳情請至 CitySpark.com 網站查詢。
**問題與答案:**
1. 使用 CitySpark 外掛需要什麼帳戶?
- 需要 CitySpark 帳戶。
2. 如何設定外掛的外部服務?
- 在 CitySpark 管理員網站設定嵌入的腳本以提供 CitySpark, Inc. 的服務,包括顯示當地社區活動和讓使用者登入 CitySpark 系統以加入書籤。使用此外掛需要 CitySpark 訂閱,嵌入的腳本可以在 CitySpark 管理員網站進行配置。
3. 如何設定外掛的設定?
- 在添加區塊到頁面前,需更新 CitySpark 管理員頁面設定。請至 WordPress 管理員網站的 CitySpark 事件行事曆設定頁面中,為要添加到網站的每個 Portal 和 List Page 區塊新增一個「放置 URL」。以及如同在 CitySpark 管理員網站所見的 Script ID。
4. 如何新增區塊?
- 您可以使用 Gutenberg 區塊編輯器將 CitySpark 區塊新增到任何頁面或文章中。不同類型的區塊的指示如下。
5. 如何新增 Portal 和 List Page 區塊?
- 在使用 WordPress Gutenberg 編輯器將 CitySpark Portal 或 List Page 區塊新增到任何頁面或文章後,輸入符合您在 CitySpark 管理員頁面上所需的腳本的 Script ID,您應該在預覽中看到區塊出現(目前僅適用於 CitySpark Portal 區塊)。
6. 如何新增 Widget 區塊?
- 在使用 WordPress Gutenberg 編輯器將一個或多個 CitySpark Widget 區塊新增到頁面或文章後,請輸入與您想要從 CitySpark 管理員頁面匹配的 Widget ID。
外掛標籤
開發者團隊
原文外掛簡介
CitySpark Inc. is the leading event listing and promotion
platform for publishers. This plugin integrates the
CitySpark platform into WordPress, allowing you to easily
display your CitySpark calendar along with business
listings and upcoming best of content.
This plugin requires a CitySpark account. Go to CitySpark.com
for more info.
External services
This plugin embeds scripts on the page that provide
access to CitySpark, Inc’s services, including displaying
community events in your area and allowing users to
log into the CitySpark system to bookmark events. Usage
of the plugin by a publisher requires a CitySpark subscription
and the embedded scripts can be configured in the CitySpark
Admin site.
This service is provided by “CitySpark, Inc”: terms of use.
Configuring the settings
Before adding a block to the page, make sure to update
the CitySpark Admin Page Settings. The settings configured
here are required for the correct operation of plugin, and
without them you may run into undesired 404 errors.
In the CitySpark Event Calendar Settings page on the
WordPress admin site, add a new “Placement URL” for
each Portal and List Page block you intend to add to
your site. Include the Placement URL and the Script
ID just as you see on the CitySpark Admin site.
Adding the block
You can add a CitySpark Block to any page or post
with the Gutenberg block editor. Directions for
the different kind of blocks are outlined below.
Portal and List Page Blocks
After adding a CitySpark Portal or List Page Block to
any page or post with the WordPress Gutenberg editor,
insert the Script ID that matches the script that
you want from the CitySpark admin page, and you should
see the block show up in the preview (currently only
available for CitySpark Portal blocks).
Widget Blocks
After adding one or more CitySpark Widget Blocks to
a page or post with the WordPress Gutenberg editor,
insert the Widget ID that matches the widget
you want from the CitySpark admin page.
Custom Hostname
If ad-blockers on your visitors’ browsers are preventing
the CitySpark portal script from loading, you can serve
it through your own domain instead. To set this up:
Log in to admin.cityspark.com
and configure a Custom Domain (e.g. events.yoursite.com).
Follow the DNS instructions provided there to point
that hostname at CitySpark’s servers.
In the CitySpark Event Calendar Settings page in your
WordPress admin, find the Custom Hostname section
and enter just the hostname — no https:// prefix
(e.g. events.yoursite.com).
Click Save Custom Hostname. The plugin will now
load the portal script from your domain instead of
portal.cityspark.com.
Leave the field blank at any time to revert to the default
CitySpark domain.
