[WordPress] 外掛分享: Bamboo Enquiries

首頁外掛目錄 › Bamboo Enquiries
WordPress 外掛 Bamboo Enquiries 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
10+
安裝啟用
尚無評分
2938 天前
最後更新
問題解決
WordPress 3.0.1+ v1.9.3 上架:2014-08-11

內容簡介

Bamboo Enquiries 將任何網頁表單轉換為彈性點詢表單,讓您可以在整個網站上擁有多個點詢表單。只需在您選擇的 HTML 元素周圍包裝一個簡單的 shortcode,您就可以在幾分鐘內創建出專業、簡單或複雜的電子郵件點詢表單。

它支援所有標準表單元素,包括檔案上傳。它還提供「自動標籤」選項,該選項將每個輸入框的標籤呈現為輸入的預設值,直到點擊它為止(Twitter 登錄頁面是此功能的很好範例)。最後,shortcode 還支援必填文本框,如果未填寫任何必填框,則不會提交表單。只需在標籤末尾添加星號(*)即可表明以下輸入框為必填,例如:

<label>電子郵件地址 *</label><input type =“text” name =“電子郵件地址” />

使用方法

像平常一樣編碼您的表單元素,使用您需要的輸入框、單選按鈕、選擇框等,並確保為每個元素設置名稱屬性。

至少添加一個提交按鈕,例如:

<button type=“submit”>發送點詢"</button>

最後,不要在表單標籤中包裝您的表單元素,而是在 Bamboo Enquiries 的 shortcode 中包裝它們:

[bamboo-enquiry from=“[email protected]” to=“[email protected]” auto_labels="on" honeypot="on" message="謝謝<br/>我們將盡快回覆您。"]
在此添加您的表單元素(不要忘記提交按鈕)
[/bamboo-enquiry]

「from」屬性設置將從發送的電子郵件地址,而「to」屬性設置將收到該郵件的地址。「auto_labels」屬性啟用上述自動標籤功能。如果您將「honeypot」設置為「on」,則將添加一個隱藏的電子郵件字段以捕捉嘗試提交垃圾郵件的腳本。

注意:如果您已將「honeypot」設置為「on」,則表單中不可有名稱為「email」的輸入框。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Bamboo Enquiries turns any web form into flexible enquiry form, enabling you to have multiple enquiry forms throughout your website. By just wrapping a simple shortcode around the HTML elements of your choice, you can have a professional, simple or complicated email enquiry form up and running in minutes.
It supports all standard form elements, including file uploads. It also provides an ‘auto labels’ option which presents the labels for each input box inside the input as the default value until it is clicked on (the Twitter sign in page is a good example of this in action). Finally the shortcode also supports mandatory text boxes, the form will not be submitted if any mandatory boxes have not be filled in. Simply adding as asterisk (*) to the end of a label will indicate that the following input is mandatory, e.g. :

Usage
Code your form elements as you normally would, with whichever inputs, radio buttons, selects etc that you need, ensuring that you set the name attribute for each element.
Add at least one submit button e.g:

Finally, instead of wrapping your form elements in a form tag, simply wrap them in the Bamboo Enquiries shortcode instead:
[bamboo-enquiry from=“[email protected]” to=“[email protected]” auto_labels="on" honeypot="on" message="Thank You
We will get back to you shortly."]
Your form elements here (don’t forget the submit button)
[/bamboo-enquiry]

The ‘from’ attribute sets the email address that the enquiry will be sent from, and the ‘to’ attribute sets the address it will be sent to. The ‘auto_labels’ attribute actives the auto labels feature as described above. If you set ‘honeypot’ to ‘on’, a hidden email field will be added to the form to catch scripts that try to submit the form for spam purposes.
NOTE: If you have ‘honeypot’ set to ‘on’ you CANNOT have an input field in your form with the name ’email’.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon