Get 30% discount on lifetime membership by using BFCM2023 coupon.
Offer ends on 30th Nov 2023 at 11:59:59 PM UTC.

Meta Box Date Field Value Custom Format in Bricks

Updated on 12 Jan 2023

This Pro tutorial is similar to the previous ACF Date Field Value Custom Format in Bricks but when using Meta Box and works with both "Date Picker" and "Datetime Picker" type of fields.

Leave the Save format empty and Placeholder checkbox unchecked.

Step 0

Tick "Set value as timestamp" for your field.

If your posts already have the dates set, you'd need to edit them and pick the dates again after making the above change.

Step 1

Add the following in child theme's functions.php or a code snippets plugin:

This is a BricksLabs Pro tutorial.

For full access login below or create your BricksLabs Pro account

Instant access to all 250+ Bricks code tutorials with BricksLabs Pro