Skip to content

Time

A time, such as the time your store opens.

In the editor

A time field in the editor, with 09:00 as its default value

Besides the settings every field shares, a time field has:

Setting What it does
Default value The time the option gets when you save the menu, as long as it has no value yet.
Field style The width of the input: Regular, Small, Large or Options.

On the options page

The time field on the options page

The input is the time picker of the browser.

The value

Stores the time as H:i, such as 09:00. A value that is not a time becomes empty.

On your website

The shortcode and blocks show the time in the time format of the site (Settings → General), or in the format of the shortcode:

We open at [aop_option name="store_opens" format="g:i a"].