Title: Gravity Forms Business Hours by GravityView
Author: Zack Katz
Published: <strong>18 dezembro, 2014</strong>
Last modified: 23 abril, 2019

---

Pesquisar plugins

![](https://ps.w.org/gravity-forms-business-hours/assets/banner-772x250.jpg?rev=
1048640)

Este plugin **não foi testado com os 3 lançamentos principais mais recentes do WordPress**.
Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade
quando usado com versões mais recentes do WordPress.

![](https://ps.w.org/gravity-forms-business-hours/assets/icon-256x256.jpg?rev=1048640)

# Gravity Forms Business Hours by GravityView

 Por [Zack Katz](https://profiles.wordpress.org/katzwebdesign/)

[Baixar](https://downloads.wordpress.org/plugin/gravity-forms-business-hours.zip)

 * [Detalhes](https://br.wordpress.org/plugins/gravity-forms-business-hours/#description)
 * [Avaliações](https://br.wordpress.org/plugins/gravity-forms-business-hours/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/gravity-forms-business-hours/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/gravity-forms-business-hours/#developers)

 [Suporte](https://wordpress.org/support/plugin/gravity-forms-business-hours/)

## Descrição

> This plugin requires [Gravity Forms](https://rocketgenius.pxf.io/c/1210629/445235/7938),
> 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](https://gravityview.co) and the [Gravity Forms Directory](https://wordpress.org/plugins/gravity-forms-addons/)
   plugins

#### Note: this plugin is actively updated, but customer support is only available to 󠀁[GravityView](https://gravityview.co)󠁿 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](https://codex.wordpress.org/Formatting_Date_and_Time).
 * `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!**

## Capturas de tela

[⌊Business Hours in the Gravity Forms View Entry screen⌉⌊Business Hours in the Gravity
Forms View Entry screen⌉[

Business Hours in the Gravity Forms View Entry screen

[⌊The Business Hours field⌉⌊The Business Hours field⌉[

The Business Hours field

[⌊The Business Hours button in the Form Editor⌉⌊The Business Hours button in the
Form Editor⌉[

The Business Hours button in the Form Editor

## Instalação

 1. Upload plugin files to your plugins folder, or install using WordPress’ built-in
    Add New Plugin installer
 2. Activate the plugin
 3. In Edit Form, under Advanced Fields, click “Business Hours” to add the field to
    your form

## Avaliações

![](https://secure.gravatar.com/avatar/dd9b2a9267129344d01ee5a972b37162557be3f2c0820c8ed17db244ab15db27?
s=60&d=retro&r=g)

### 󠀁[Almost excellent…But one MAJOR flaw](https://wordpress.org/support/topic/almost-excellent-but-one-major-flaw/)󠁿

 [Devin](https://profiles.wordpress.org/ds1291/) 28 março, 2017

The plugin works great, but when you get the forms in your email – they look like
this: http://prnt.sc/eplx9x Emailed customer support but no reply. Bummer. Please
fix this problem and my review will go to 5 stars!

![](https://secure.gravatar.com/avatar/b9139509534903a96387b4399e1c0de3755cd71ac459166604ecd8ce4a48bef7?
s=60&d=retro&r=g)

### 󠀁[Works great](https://wordpress.org/support/topic/works-great-331/)󠁿

 [granatdesign](https://profiles.wordpress.org/granatdesign/) 7 setembro, 2016

saved a bunch of time. Thanks!

![](https://secure.gravatar.com/avatar/1b69f074358e8573b4965ea7a3b799f32a4344d8e4e1c4095fed29a9994479ed?
s=60&d=retro&r=g)

### 󠀁[Doesn't work as described](https://wordpress.org/support/topic/doesnt-work-as-described-1/)󠁿

 [James Hunt](https://profiles.wordpress.org/bonkerz/) 3 setembro, 2016

Doesn't seem to work as described, unless I'm missing some options somewhere? Insert
in to form, but no way to "Set" the hours for a business, but just inserts in to
a form like a normal form field. Waste of time.

 [ Leia todas as 6 avaliações ](https://wordpress.org/support/plugin/gravity-forms-business-hours/reviews/)

## Colaboradores e desenvolvedores

“Gravity Forms Business Hours by GravityView” é um programa de código aberto. As
seguintes pessoas contribuíram para este plugin.

Colaboradores

 *   [ Zack Katz ](https://profiles.wordpress.org/katzwebdesign/)
 *   [ Zack Katz ](https://profiles.wordpress.org/katzwebservices/)
 *   [ GravityKit ](https://profiles.wordpress.org/gravityview/)

[Traduzir o “Gravity Forms Business Hours by GravityView” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/gravity-forms-business-hours)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/gravity-forms-business-hours/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/gravity-forms-business-hours/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/gravity-forms-business-hours/)
por [RSS](https://plugins.trac.wordpress.org/log/gravity-forms-business-hours/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 2.1.3 on April 23, 2019

 * Fixed: “null” being output for empty Business Hours fields

#### 2.1.2 on January 7, 2019

 * Fixed: Error when exporting forms in Gravity Forms that contain Business Hours
   fields

#### 2.1.1 on November 20, 2018

 * Fixed: Newly added fields not working properly

#### 2.1 on June 25, 2018

 * Updated: Use site’s time format setting for the time dropdowns (24-hour clock
   now supported)
 * Fixed: Not able to update the field’s default label

#### 2.0.1 on February 26, 2018

 * Fixed: Network Activation on Multisite
 * Moved `GFBusinessHours` class to its own file

#### 2.0 on November 8, 2017

 * Email notifications now show a list of hours instead of code
 * Improved output in GravityView by stripping extra whitespace
 * Major code rewrite for a better structure (using Gravity Forms `GF_Field` class)
 * Developers: All public methods have been removed. This is a breaking change, 
   if you’re building on top of Version 1.x

#### 1.2.1 on March 10, 2015

 * Fixed: Business Hours field would be shown as Required in GravityView Edit Entry
   mode
 * Fixed: PHP notices

#### 1.2 on December 18

 * Liftoff!

## Meta

 *  Versão **2.1.3**
 *  Última atualização **7 anos atrás**
 *  Instalações ativas **100+**
 *  Versão do WordPress ** 3.3 ou superior **
 *  Testado até **5.1.27**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/gravity-forms-business-hours/)
 * Tags
 * [business](https://br.wordpress.org/plugins/tags/business/)[gravity](https://br.wordpress.org/plugins/tags/gravity/)
   [gravity form](https://br.wordpress.org/plugins/tags/gravity-form/)[gravity forms](https://br.wordpress.org/plugins/tags/gravity-forms/)
   [gravityview](https://br.wordpress.org/plugins/tags/gravityview/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/gravity-forms-business-hours/advanced/)

## Classificações

 3.7 de 5 estrelas.

 *  [  3 avaliações com 5 estrelas     ](https://wordpress.org/support/plugin/gravity-forms-business-hours/reviews/?filter=5)
 *  [  1 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/gravity-forms-business-hours/reviews/?filter=4)
 *  [  0 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/gravity-forms-business-hours/reviews/?filter=3)
 *  [  1 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/gravity-forms-business-hours/reviews/?filter=2)
 *  [  1 avaliação com 1 estrela     ](https://wordpress.org/support/plugin/gravity-forms-business-hours/reviews/?filter=1)

[Sua avaliação](https://wordpress.org/support/plugin/gravity-forms-business-hours/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/gravity-forms-business-hours/reviews/)

## Colaboradores

 *   [ Zack Katz ](https://profiles.wordpress.org/katzwebdesign/)
 *   [ Zack Katz ](https://profiles.wordpress.org/katzwebservices/)
 *   [ GravityKit ](https://profiles.wordpress.org/gravityview/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/gravity-forms-business-hours/)

## Doar

Gostaria de contribuir para o desenvolvimento deste plugin?

 [ Doe para este plugin ](https://gravityview.co)