Skip to content
lewismcarey edited this page Jan 15, 2013 · 3 revisions

Home | Installation | Data Returned | Usage | FAQs

  1. Download or clone the User-Field-ACF-Add-on repo to your theme: https://github.com/lewismcarey/User-Field-ACF-Add-on/blob/master/users_field.php. Note: You can place this directly in your themes folder or create an add-on subdirectory (perhaps called ACF)

  2. Register the field - register_field($name, $path). Where $path is the direct path to your theme (or optional add-on subdirectory)

You register the field by adding the following code to your functions.php file:

    if(function_exists('register_field')) { 
        register_field(‘Users_field', dirname(__File__) . '/your-ACF-add-on-subdirectory/users_field.php');
    }
Clone this wiki locally