[WordPress] 外掛分享: vblg OI Contest Schedule

首頁外掛目錄 › vblg OI Contest Schedule
全新外掛
安裝啟用
尚無評分
34 天前
最後更新
問題解決
WordPress 6.4+ PHP 7.4+ v0.2.0 上架:2026-08-11

內容簡介

vblg OI Contest Schedule 外掛可顯示當前進行及即將舉行的競賽程式比賽,並提供當地時間及即時倒數計時。此外掛為 WordPress 控制台新增了一個即將舉行的 OI 競賽小工具,並可在前端透過區塊顯示賽程。

【主要功能】
• 顯示即將舉行及當前競賽,依開始時間排序
• 提供競賽平台、標題、開始及結束時間
• 支援各訪客設備的時區格式化
• 響應式及緊湊佈局設計
• 使用 WordPress Transients API 的五分鐘快取
• 提供英語及簡體中文翻譯

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.2.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「vblg OI Contest Schedule」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

vblg OI Contest Schedule displays currently running and upcoming competitive programming contests with local times and live countdowns. Contests that have ended are not displayed.
The plugin adds an Upcoming OI Contests widget to the WordPress dashboard. To display the schedule on the front end, add the vblg OI Contest Schedule block to a post or page.
Features include:

Upcoming and currently running contests ordered by start time.
Contest platform, title, start time, end time, and live countdown.
Dates formatted in each visitor’s client device time zone, rather than the time zone configured in WordPress, and identified by its IANA name (for example, Asia/Shanghai).
Responsive and compact layouts.
A five-minute cache using the WordPress Transients API.
English and Simplified Chinese translations.

Block settings
Add the vblg OI Contest Schedule block from the block inserter. Its settings sidebar lets you display between 1 and 50 contests and enable the compact layout. The block is rendered dynamically so it always uses current contest data.
Shortcode options
The shortcode remains available for classic editors and templates. By default it displays up to 10 contests:
[oics_oi_contest_schedule]

Use limit to display between 1 and 50 contests:
[oi_contest_schedule limit="20"]

Set compact to true to use the compact layout:
[oi_contest_schedule limit="20" compact="true"]

External Services
This plugin connects to GitHub Raw Content to retrieve the public contests_all.json feed maintained by the OI-contest-fetch project. This connection is required to obtain current contest information and occurs when the five-minute WordPress transient cache has expired.
The plugin does not send visitor content, WordPress account data, or cookies. The request includes a user-agent containing the plugin version and the site’s home URL. Standard network metadata, including the server IP address, is visible to GitHub when the request is made.
Service and data source:

Contest feed: https://raw.githubusercontent.com/hanyixuanten/OI-contest-fetch/master/contests_all.json
OI-contest-fetch project: https://github.com/hanyixuanten/OI-contest-fetch
GitHub Terms of Service: https://docs.github.com/en/site-policy/github-terms/github-terms-of-service
GitHub General Privacy Statement: https://docs.github.com/en/site-policy/privacy-policies/github-general-privacy-statement

延伸相關外掛

文章
Filter
Mastodon