前言介紹
- 這款 WordPress 外掛「ACF Onyx Poll」是 2020-05-25 上架。
- 目前有 100 個安裝啟用數。
- 上一次更新是 2024-07-28,距離現在已有 280 天。
- 外掛最低要求 WordPress 4.7 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
- 有 4 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
acf | aop | onyx | poll | polls |
內容簡介
這個外掛需要安裝 ADVANCED CUSTOM FIELD PRO 。
這個投票外掛是基於常規 WordPress 和 acf(進階自訂欄位)功能,運用 WP REST API 和 Javascript 方法。
ACF Onyx Poll 的主要目標是完全免費、輕量級和簡單。沒有花哨、色彩繽紛和雜亂的選項或捐贈畫面。
該外掛是基於 Twitter 投票卡片風格設計。
特點
✔ 帶有即時預覽的 Gutemberg 插件塊
✔ 使用簡碼包含投票(省略 ID 取得最新投票) [onyx-poll id=XX class="left|right|full"]
✔ 一鍵投票
✔ 與快取外掛相容
✔ 一頁多個投票
✔ 支援圖片
✔ 側邊欄原生小工具
✔ 多種風格選項 [onyx-poll class="twitter|standard"]
✔ 在彈出視窗中顯示投票
✔ 投票過期後在小工具中顯示投票結果
✔ 在結果區域中突顯所選選項
✔ 限制設備或時間的投票次數
✔ 設置投票啟用/過期日程表
✔ 顯示百分比、數字或兩者的投票結果
✔ 顯示/隱藏結果
✔ 使用 CSS 變數自定義 CSS
✔ 禁用所有外掛 CSS 並使用您自己的 CSS
✔ 在 WordPress 資料表管理區域自定義欄位
✔ 支援翻譯
注意事項
該外掛不支援 Internet Explorer 瀏覽器。該外掛的目標之一是不使用 jQuery,保持 js/css 輕量級。
ACF Onyx Poll 會透過 php 註冊欄位,以便使用 WordPress 翻譯函數取得欄位標籤,因此您無法在 ACF 自訂欄位設置中查看/編輯欄位。
若要啟用更好/更快的 CRON,您需要手動設置主機 cronjob,取得 https://domain.tld/wp-json/onyx/polls/cron 端點,或在 wp-config 中停用 WP-Cron define('DISABLE_WP_CRON', true);,並在主機/伺服器中手動創建 cron。
選項 1:設定每小時運行 cron: 0 * * * * wget -q -O - https://domain.tld/wp-json/onyx/polls/cron > /dev/null 2>&1
選項 2:若已停用預設 WP-Cron: 0 * * * * wget -q -O - https://domain.com/wp-cron.php?doing_wp_cron > /dev/null 2>&1
原文外掛簡介
This plugin requires ADVANCED CUSTOM FIELD PRO installed.
Plugin for polls based on regular WordPress and acf (advanced custom fields) functionalities using WP REST API and Javascript methods.
The main goal of ACF Onyx Poll is to be totally free, lightweight and simple. No fancy, colorful and polluted options or donate screens.
This plugin is based on Twitter poll cards style.
Features
✔ Gutemberg Block with live preview
✔ Include poll with a shortcode (ommit the ID to get the latest poll) [onyx-poll id=XX class="left|right|full"]
✔ One click to vote
✔ Works with cache plugins
✔ Multiple polls per page
✔ Support for images
✔ Native widget for sidebar
✔ Multiple style options [onyx-poll class="twitter|standard"]
✔ Show poll in a modal
✔ Show poll results on widget after expired
✔ Highlight choosed choice in results area
✔ Limit vote by device or time
✔ Poll activation/expiration schedule
✔ Results in percentage, numbers or both
✔ Show/Hide results
✔ Customize css with css variables
✔ Disable all plugin CSS and use your own
✔ Custom columns on WordPress data table admin area
✔ Translations support
Observations
This plugin does not support Internet Explorer Browser. One of the goals of this plugin is to be js/css lightweight and jQuery free.
ACF Onyx Poll register fields via php to be able to use WordPress translation functions for field labels. So you won’t be able to view/edit the fields inside ACF Custom Fields Settings.
To enable a better/faster CRON you need to manually set your host cronjob to get https://domain.tld/wp-json/onyx/polls/cron endpoint or disable WP-Cron define('DISABLE_WP_CRON', true); inside your wp-config and manually create the cron in your host/server
Option 1: To run every hour set the cron: 0 * * * * wget -q -O - https://domain.tld/wp-json/onyx/polls/cron > /dev/null 2>&1
Option 2: if you disable the default WP-Cron: 0 * * * * wget -q -O - https://domain.com/wp-cron.php?doing_wp_cron > /dev/null 2>&1
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「ACF Onyx Poll」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0 | 1.0.1 | 1.1.0 | 1.1.1 | 1.1.2 | 1.1.3 | 1.1.4 | 1.1.5 | 1.1.6 | 1.1.7 | 1.1.8 | trunk |
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。