[WordPress] 外掛分享: ACF: Star Rating Field

首頁外掛目錄 › ACF: Star Rating Field
300+
安裝啟用
★★★★
4.4/5 分(8 則評價)
4015 天前
最後更新
問題解決
WordPress 3.5+ v1.0.2 上架:2014-11-29

內容簡介

為 ACF 新增評分欄位的功能外掛。

該外掛提供三種投票計算方式:

使用 cookies 計算 (所有訪客);
使用 IP 計算 (所有訪客);
使用使用者ID計算 (僅限註冊用戶)。

如果選擇“使用 cookies 計算”,只有啟用 cookies 的用戶才能投票。

您還可以在欄位設置中:

開啟|關閉投票;
調整星數的數量(1至20);
指定重新投票的方式-可能(期間)|永不

在頁面模板中使用 the_field($field_key, $post_id) 或 get_field($field_key, $post_id) 函數輸出欄位(請參閱 ACF 文檔)。

在管理面板中,評分是無法使用的。

注意!在刪除外掛文件之前,請閱讀 uninstall.php 文件。

支援語言:英語,法語,俄語。

如果翻譯有誤,我深表歉意。
我很樂意接受幫助,正確翻譯此外掛,或更正我的錯誤。

鳴謝:

感謝 Ivan Shamshur 提供 JS。

感謝 Nicolas Kern 提供法文翻譯。

兼容性

此 ACF 欄位類型與以下版本兼容:ACF 4

開發人員專用:https://github.com/lienann/acf-starrating

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「ACF: Star Rating Field」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Add the possibility to use rating field in ACF.
Plug-in provide three calculation method for voting:

calculate by cookies (any visitor);
by IP (any visitor);
by user id (registered users only).

If “calculated by cookies” is selected, the only users which use browser with
cookies enabled will be able to vote
In field settings you can also:

open|close vote;
tune the number of stars (1 to 20);
specify the method of re-voting – possible(period)|never

Use the_field($field_key, $post_id) or get_field($field_key, $post_id) function
in page template for field output (see ACF documentation).
In admin panel the rating is inactive.
Attention! Before removing the plugin files read uninstall.php
Languages: English, Français, Русский
I apologize for possible mistakes in plugin translation.
I will be glad to accept the help with the correct translation of a plugin into
English and to correction of my mistakes.
Gratitudes:
Thanks to Ivan Shamshur for JS.
French Translation – thanks to Nicolas Kern.
Compatibility
This ACF field type is compatible with: ACF 4
For developers: https://github.com/lienann/acf-starrating

延伸相關外掛

文章
Filter
Apply Filters
Mastodon