This is an add-on for the
Advanced Custom Fields WordPress plugin, that allows you to add a Date and Time Picker field type.
ACF PRO 5.0+ is no longer supported, ACF PRO has its own date and time picker
[youtube
http://www.youtube.com/watch?v=Mumx4HGOljQ]
Compatibility
This add-on will work with:
- Advanced Custom Fields version 4..
- Advanced Custom Fields version 3 and bellow
More Information
http://soderlind.no/time-picker-field-for-advanced-custom-fields/
Plugin
- Copy the 'acf-date_time_picker' folder into your plugins folder
- Activate the plugin via the Plugins admin page
Include
- Copy the 'acf-date_time_picker' folder into your theme folder (can use sub folders). You can place the folder anywhere inside the 'wp-content' directory
- Edit your functions.php file and add the code below (Make sure the path is correct to include the acf-date_time_picker.php file)
`
add_action('acf/register_fields', 'my_register_fields');
function my_register_fields()
{
include_once('acf-date_time_picker/acf-date_time_picker.php');
}
`