Skip to content

pixelrock/acf-time-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advanced Custom Fields Time Picker Addon

Addon for Advanced Custom Fields to show a time picker.

All of this work is attibutable to: Per Soderlind - http://soderlind.no

Dependencies

  1. Advanced Custom Fields must be installed.

Installation

  • Find the location of your theme folder
  • Make a directory for the addon inside your theme files called library/php/acf-addons/
  • Copy the contents of this repo into the directory
cd `~/sites/wp-content/themes/twentytwelve/` 
mkdir -p library/php/acf-addons
mv ~/Downloads/acf-time-picker library/php/acf-addons/
  • Edit functions.php to include the ACF addon
if(function_exists("register_field")) {
  register_field('acf_time_picker', dirname(__FILE__) . '/library/php/acf-addons/acf-time-picker/main.php');
}

About

Advanced Custom Fields time picker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published