A Cozmoslabs Product

Format Date shortcode

This shortcode can be used to display a date captured with the Datepicker field, inside the Userlisting, in a different format than the one it was saved in.

To be able to use the shortcode below you will first need to go to the Dashboard -> Profile Builder -> Settings -> Advanced Settings -> Shortcodes -> and check “Enable Format Date shortcode”.

Shortcode:
[wppb-format-date date=”{{meta_datepicker}}” format=”d/m/y”]

This makes use of PHPs date() function. You can also find all the available formats that you can use by clicking here.

The Ultimate Membership Bundle

Combine the power of Profile Builder with Paid Member Subscriptions to set up user registration, memberships, and recurring revenue.

Get 25% off with the bundle

Help & Support

We’re here to help you every step of the way.

Open a Support Ticket