[WordPress] 外掛分享: Star Rating Feedback

首頁外掛目錄 › Star Rating Feedback
10+
安裝啟用
★★☆☆☆
2/5 分(1 則評價)
4055 天前
最後更新
問題解決
WordPress 3.5.1+ v0.2 上架:2013-05-31

內容簡介

這是一個簡單的星級評分 WordPress 外掛程式,允許使用者在您的網站上匿名評價。管理員可以在後台查看評價並匯出報表,目前本外掛支援英國地區本地化。

歡迎提供任何反饋或建議。

選項

您可以在短代碼中指定以下選項:

星號的數量

amount=”value”

最多可設為 10

例如:[feedback_form amount=”4″]

圖示類型

type=”value”

選擇圖片或不填使用圖示

例如:[feedback_form type=”image”]

其他圖示

icon=”value”

如果不想使用星號,可以選用其他圖示:

可選圖示:
星號(star)
拇指(thumbs)
微笑(smile)
心(heart)
圓形(circle)

例如:[feedback_form icon=”thumbs”]

顏色

color=”value”
color_on=”value”

僅適用於圖示

例如:[feedback_form color=”black” coloron=”yellow”] 或十六進位顏色值 [feedback_form color=”#000000″ coloron=”#ffff00″ ]

獨立顏色

colors=”value”

指定每種星號的不同顏色,請用逗號隔開,顏色數量需與您設置的星號數量相同。

例如:[feedback_form amount=”5″ colors=”red,yellow,pink,blue,purple” ]

大小

size=”value”

以像素(px)、百分比(%)、em、rem 等為單位,僅適用於圖示

例如:[feedback_form size=”40px”]

設置問題文字

question=”value”

例如:[feedback_form size=”What do you think or our site?”]

提交表單後的消息文字

message=”value”

例如:[feedback_form message=”Your feedback has been sent”]

設置評論標題

comments=”value”

例如:[feedback_form comments=”Tell us your comment”]

設置自定圖像

staron=”value”
staroff=”value”

例如:[feedback_form staron=”image-on.png” staroff=”image-off.png”]

兩張圖片需要相同的高度和寬度。
圖片應存儲在 wp_content/plugins/star-rating-feedback/images/ 中。

提示/工具提示

hints=”value”

設置自定提示,請用逗號隔開每個提示。

例如:[feedback_form hints=”bad, better, average, good, excellent”]

示例

使用此短代碼 [feedback_form color=”red” color_on=”blue” size=”40px” question=”What do you think?” message=”Your feedback has been sent” comments=”Comments are optional”]

將生成:
待辦事項:添加屏幕截圖

使用此短代碼 [feedback_form type=”image” question=”What do you think?” message=”Your feedback has been sent” comments=”Comments are optional”]

將生成:
待辦事項:添加屏幕截圖

要求

需要 PHP 5.2 或更高版本。

問題回報

請訪問 支援論壇,感謝您的反饋。

已知問題

如果在同一頁面上有兩個以上的實例,它會提交兩次,例如放在側邊欄和文章/頁面中。
在管理員界面中,星號不受短碼設置的影響,因此無法顯示。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Simple star rating plugin to allow anonymous feedback to be added to your WordPress. Within the admin side users can view the feedback and export to excel. Currently it is localised for use in the UK.
Any feedback or suggestions are welcome.
Options
You can specify options in your short code:
Amount of stars
amount=”value”
Maximum is 10
example. [feedback_form amount=”4″]
Type of icon
type=”value”
Specify image or leave blank for icon
example. [feedback_form type=”image”]
Other icons
icon=”value”
If you don’t want to use a star.
Available icons:
star
thumbs
smile
heart
circle
example. [feedback_form icon=”thumbs”]
Color
color=”value”
color_on=”value”
For icon only
example. [feedback_form color=”black” coloron=”yellow”] or hex value [feedback_form color=”#000000″ coloron=”#ffff00″ ]
Single colors
colors=”value”
Individual colors. Seperated each color by commas. These colours must match the same amount you set.
example. [feedback_form amount=”5″ colors=”red,yellow,pink,blue,purple” ]
Size
size=”value”
Specify size in px, %, em, rem etc. (for icon only)
example. [feedback_form size=”40px”]
Set question text
question=”value”
example. [feedback_form size=”What do you think or our site?”]
Set message text after form submission
message=”value”
example. [feedback_form message=”Your feedback has been sent”]
Set comments heading
comments=”value”
example. [feedback_form comments=”Tell us your comment”]
Set custom image
staron=”value”
staroff=”value”
example. [feedback_form staron=”image-on.png” staroff=”image-off.png”]
Both images should be the same height and width.
Images should be be stored in wp_content/plugins/star-rating-feedback/images/
Hints / Tooltip
hints=”value”
Set custom hints. Seperated each hint by commas.
example. [feedback_form hints=”bad, better, average, good, excellent”]
Samples
Using this shortcode [feedback_form color=”red” color_on=”blue” size=”40px” question=”What do you think?” message=”Your feedback has been sent” comments=”Comments are optional”]
will produce:
To do: add screen shot
Using this shortcode [feedback_form type=”image” question=”What do you think?” message=”Your feedback has been sent” comments=”Comments are optional”]
will produce:
To do: add screen shot
=What are the requirements?=
PHP 5.2 and up.
=I have Found a Bug, Now what?=
Simply use the Support Forum and thanks ahead for doing that.
Known bugs
It will submit twice if 2 instances are on the same page. ie on the side bar and in a post/page.
Stars within admin screen does not know the setting in the shortcode therefore we can’t display e.g 3 / 5. The next version will store the number of stars in the DB.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon