[WordPress] 外掛分享: Gravity Forms Business Hours by GravityView

首頁外掛目錄 › Gravity Forms Business Hours by GravityView
WordPress 外掛 Gravity Forms Business Hours by GravityView 的封面圖片
100+
安裝啟用
★★★☆☆
3.7/5 分(6 則評價)
2521 天前
最後更新
問題解決
WordPress 3.3+ v2.1.3 上架:2014-12-17

內容簡介

這個外掛需要Gravity Forms,這是 WordPress 上最好的表單外掛!

在您的 Gravity Forms 表單中添加一個「營業時間」欄位。

此外掛支援:

設置午夜後的關閉時間
每天多個開放時間
顯示企業當前是否營業中
完全本地化 - 在英語以外的語言中運作良好
編輯現有值時編輯條目
與GravityView和Gravity Forms 目錄外掛配合使用

注意:這個外掛會持續更新,但是客戶支援只提供給GravityView許可證持有人。
可用的過濾器

這些過濾器可供程式設計人員修改輸出:

gravityforms_business_hours_output_template - 更改開放天數的樣板。修改開放天數的輸出。{{括號}}裡的數據將被替換為適當的值。
gravityforms_business_hours_output_closed_template - 關閉天數的樣板。{{括號}}內的數據將被替換為適當的值。
gravityforms_business_hours_open_label - 「現在開放」標籤
gravityforms_business_hours_default_start_time - 默認的開始時間,以H:i格式表示(默認值: 09:00)
gravityforms_business_hours_default_end_time - 默認的結束時間,以H:i格式表示(默認值: 18:00)
gravityforms_business_hours_time_format - 修改顯示值的時間格式(默認值:g:i a)
gravityforms_business_hours_interval - 時間下拉選單選項的時間間隔(默認值:30)
gravityforms_business_hours_day_format - 修改日期格式以顯示天數,以PHP日期格式表示。
gravityforms_business_hours_days - 顯示下拉選單和時間輸出的天數值陣列,只能修改天數值。不要更改鍵!

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.1.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Gravity Forms Business Hours by GravityView」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin requires Gravity Forms, the best form plugin for WordPress!

Add a Business Hours field to your Gravity Forms form.
This plugin supports:

Setting closing times after midnight
Multiple open times per day
Displaying when a business is currently open
Fully localized – works great in languages other than English
Edit existing values when editing an entry
Works with GravityView and the Gravity Forms Directory plugins

Note: this plugin is actively updated, but customer support is only available to GravityView license holders.
Available Filters
These filters are available for code writers to modify the output:

gravityforms_business_hours_output_template – Change template for open days. Modify the output of the open days. Data inside {{brackets}} will be replaced with the appropriate values.
gravityforms_business_hours_output_closed_template – Closed days template. Data inside {{brackets}} will be replaced with the appropriate values.
gravityforms_business_hours_open_label – “Open Now” label
gravityforms_business_hours_default_start_time – Default start time in H:i format (default: 09:00)
gravityforms_business_hours_default_end_time – Default end time in H:i format (default: 18:00)
gravityforms_business_hours_time_format – Modify the time format for the displayed value (default: g:i a)
gravityforms_business_hours_interval – Time interval for the time dropdown options (default: 30)
gravityforms_business_hours_day_format – Modify the date format for how the days appear, in PHP Date formatting.
gravityforms_business_hours_days – Array of day values used to display dropdowns and Hours output Only modify the day values. Don’t change the keys!

延伸相關外掛

文章
Filter
Apply Filters
Mastodon