內容簡介
Forge Stats Counter 是一款可重複使用的計數器外掛,允許使用者透過 [forge_counter] 短碼或動態區塊來展示計數器。此外掛提供穩定的 ID 和短碼,並支援多種裝置的響應式設計,適合各類型網站使用。
【主要功能】
• 可重複使用的計數器實例
• 響應式桌面、平板及手機控制
• 支援固定值及即時伺服器端 JSON API 值
• 多種動畫效果選擇
• 直觀的實例管理與複製功能
• 本地化的 Font Awesome 圖示支援
外掛標籤
開發者團隊
原文外掛簡介
Forge Statistics Counter creates reusable counter instances that can be placed with [forge_counter] or the Forge Statistics Counter dynamic block.
Version 2.3.9 confirms WordPress 7.1 compatibility and declares the block iframe-compatible with Block API version 3 where supported, while retaining the version 2 fallback for WordPress 5.6 through 6.2 and preserving existing data and public behavior.
Main features:
Reusable counter instances with stable IDs and shortcodes.
Responsive desktop, tablet, and mobile column controls.
Fixed values or live server-side JSON API values.
Bearer token, Basic authorization value, custom API-key header, and HMAC-SHA256 modes.
Optional automatic login-token generation and WP-Cron renewal.
Persistent transient caching, stale fallback, safe URL validation, timeouts, and response-size limits.
Classic, bounce, fade, slide, rolling, flip, and typewriter animation treatments.
Page-load, viewport, click/keyboard, and hover/focus triggers.
Plain, locale-aware, or compact number formatting.
Granular container, card, icon, color, border, shadow, spacing, typography, and responsive controls.
Optional item links and accessible labels.
Copy one instance, copy selected instances, save as a copy, and duplicate individual items.
Safe JSON export by default, optional sensitive migration export, and current/legacy import support.
Searchable, sortable, paginated instance administration.
Built-in onboarding and reference manual under Forge Counters > Manual.
Dynamic block using the same server renderer as the shortcode.
Scoped CSS, conditional asset loading, reduced-motion support, and visible keyboard focus.
Locally bundled, plugin-scoped Font Awesome Free 6.7.2 plus native WordPress Dashicons.
No tracking, telemetry, remote accounts, or external runtime asset requests.
The plugin stores counter instances in its own WordPress database table. Existing records without a design preset retain the previous legacy presentation. New instances begin with the modern preset.
Shortcode
Basic placement:
[forge_counter id=123]
Optional accessible label and custom class:
[forge_counter id=123 aria_label="Service delivery results" class="homepage-statistics"]
Credits
Font Awesome Free 6.7.2 is included locally for counter icon rendering. Font Awesome icons are licensed under CC BY 4.0, fonts under SIL OFL 1.1, and code under the MIT License. Full notices are included under assets/vendor/fontawesome/.
Privacy
Forge Statistics Counter does not collect analytics, track users, create remote accounts, or transmit site content to the plugin author. When an administrator configures an API-backed item, the WordPress server contacts that administrator-specified endpoint to retrieve the value. The public browser contacts only the site’s own WordPress AJAX endpoint.
