if(function_exists("register_field_group")) { register_field_group(array ( 'id' => 'acf_block', 'title' => 'Block', 'fields' => array ( array ( 'key' => 'field_54f66262d797f', 'label' => 'Block', 'name' => 'block', 'type' => 'flexible_content', 'required' => 1, 'layouts' => array ( array ( 'label' => 'Call to Action', 'name' => 'call_to_action', 'display' => 'table', 'min' => '', 'max' => '', 'sub_fields' => array ( array ( 'key' => 'field_54f6653ce8d36', 'label' => 'Skin', 'name' => 'skin', 'type' => 'select', 'column_width' => 10, 'choices' => array ( 'dark' => 'dark', 'light' => 'light', 'main' => 'main', 'second' => 'second', ), 'default_value' => '', 'allow_null' => 0, 'multiple' => 0, ), array ( 'key' => 'field_54f6e0f308b08', 'label' => 'Background Image', 'name' => 'background_image', 'type' => 'image', 'column_width' => '', 'save_format' => 'url', 'preview_size' => 'thumbnail', 'library' => 'all', ), array ( 'key' => 'field_54f6e25606fb2', 'label' => 'Message', 'name' => 'message', 'type' => 'textarea', 'required' => 1, 'column_width' => '', 'default_value' => '', 'placeholder' => '', 'maxlength' => '', 'rows' => '', 'formatting' => 'html', ), array ( 'key' => 'field_54f707e402962', 'label' => 'Show Button', 'name' => 'show_button', 'type' => 'true_false', 'column_width' => '', 'message' => '', 'default_value' => 0, ), array ( 'key' => 'field_54f6e15c08b09', 'label' => 'Button Text', 'name' => 'button_text', 'type' => 'text', 'conditional_logic' => array ( 'status' => 1, 'rules' => array ( array ( 'field' => 'field_54f707e402962', 'operator' => '==', 'value' => '1', ), ), 'allorany' => 'all', ), 'column_width' => '', 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'none', 'maxlength' => '', ), array ( 'key' => 'field_54f6e1da08b0a', 'label' => 'Button Link', 'name' => 'button_link', 'type' => 'text', 'conditional_logic' => array ( 'status' => 1, 'rules' => array ( array ( 'field' => 'field_54f707e402962', 'operator' => '==', 'value' => '1', ), ), 'allorany' => 'all', ), 'column_width' => '', 'default_value' => '', 'placeholder' => '', 'prepend' => 'http://', 'append' => '', 'formatting' => 'none', 'maxlength' => '', ), ), ), array ( 'label' => 'Services', 'name' => 'services', 'display' => 'row', 'min' => '', 'max' => '', 'sub_fields' => array ( array ( 'key' => 'field_54f6e8223cca9', 'label' => 'Layout', 'name' => 'layout', 'type' => 'select', 'required' => 1, 'column_width' => '', 'choices' => array ( 3 => 3, 4 => 4, 5 => 5, 6 => 6, ), 'default_value' => '', 'allow_null' => 0, 'multiple' => 0, ), array ( 'key' => 'field_54f6e8223ccaa', 'label' => 'Skin', 'name' => 'skin', 'type' => 'select', 'column_width' => 10, 'choices' => array ( 'dark' => 'dark', 'light' => 'light', 'main' => 'main', 'second' => 'second', ), 'default_value' => '', 'allow_null' => 0, 'multiple' => 0, ), array ( 'key' => 'field_54f6e8223ccab', 'label' => 'Background Image', 'name' => 'background_image', 'type' => 'image', 'column_width' => '', 'save_format' => 'url', 'preview_size' => 'thumbnail', 'library' => 'all', ), array ( 'key' => 'field_54f6e8223ccac', 'label' => 'Heading', 'name' => 'heading', 'type' => 'text', 'column_width' => '', 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'none', 'maxlength' => '', ), array ( 'key' => 'field_54f77bccc5d78', 'label' => 'Show Sub Heading', 'name' => 'show_sub', 'type' => 'true_false', 'column_width' => '', 'message' => '', 'default_value' => 0, ), array ( 'key' => 'field_54f77bacc5d77', 'label' => 'Sub Heading', 'name' => 'sub_heading', 'type' => 'text', 'conditional_logic' => array ( 'status' => 1, 'rules' => array ( array ( 'field' => 'field_54f77bccc5d78', 'operator' => '==', 'value' => '1', ), ), 'allorany' => 'all', ), 'column_width' => '', 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'none', 'maxlength' => '', ), array ( 'key' => 'field_54f6efac046b7', 'label' => 'Show Bullets', 'name' => 'show_bullets', 'type' => 'true_false', 'column_width' => '', 'message' => '', 'default_value' => 0, ), array ( 'key' => 'field_54f704c90170a', 'label' => 'Show Content', 'name' => 'show_content', 'type' => 'true_false', 'column_width' => '', 'message' => '', 'default_value' => 0, ), array ( 'key' => 'field_54f6ea20b8b83', 'label' => 'Service Block', 'name' => 'service_block', 'type' => 'repeater', 'column_width' => '', 'sub_fields' => array ( array ( 'key' => 'field_54f6ee198c09c', 'label' => 'Service', 'name' => 'service', 'type' => 'post_object', 'required' => 1, 'column_width' => '', 'post_type' => array ( 0 => 'all', ), 'taxonomy' => array ( 0 => 'all', ), 'allow_null' => 0, 'multiple' => 0, ), array ( 'key' => 'field_54f7016c2825b', 'label' => 'Content', 'name' => 'content', 'type' => 'textarea', 'conditional_logic' => array ( 'status' => 1, 'rules' => array ( array ( 'field' => 'field_54f704c90170a', 'operator' => '==', 'value' => '1', ), ), 'allorany' => 'all', ), 'column_width' => '', 'default_value' => '', 'placeholder' => '', 'maxlength' => '', 'rows' => 3, 'formatting' => 'br', ), array ( 'key' => 'field_54f7010d28259', 'label' => 'Bullets', 'name' => 'bullets', 'type' => 'repeater', 'conditional_logic' => array ( 'status' => 1, 'rules' => array ( array ( 'field' => 'field_54f6efac046b7', 'operator' => '==', 'value' => '1', ), ), 'allorany' => 'all', ), 'column_width' => '', 'sub_fields' => array ( array ( 'key' => 'field_54f7013b2825a', 'label' => 'Bullet', 'name' => 'bullet', 'type' => 'text', 'column_width' => '', 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'none', 'maxlength' => '', ), ), 'row_min' => '', 'row_limit' => '', 'layout' => 'table', 'button_label' => 'Add Row', ), ), 'row_min' => '', 'row_limit' => 8, 'layout' => 'row', 'button_label' => 'Add Row', ), ), ), array ( 'label' => 'Content', 'name' => 'content', 'display' => 'row', 'min' => '', 'max' => '', 'sub_fields' => array ( array ( 'key' => 'field_54f6f1e2e92f5', 'label' => 'Skin', 'name' => 'skin', 'type' => 'select', 'column_width' => 10, 'choices' => array ( 'dark' => 'dark', 'light' => 'light', 'main' => 'main', 'second' => 'second', ), 'default_value' => '', 'allow_null' => 0, 'multiple' => 0, ), array ( 'key' => 'field_54f9864a7c666', 'label' => 'Custom Class', 'name' => 'custom_class', 'type' => 'text', 'column_width' => '', 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'none', 'maxlength' => '', ), array ( 'key' => 'field_54f6f1e2e92f6', 'label' => 'Background Image', 'name' => 'background_image', 'type' => 'image', 'column_width' => '', 'save_format' => 'url', 'preview_size' => 'thumbnail', 'library' => 'all', ), array ( 'key' => 'field_54f8a668c3cd3', 'label' => 'Show Heading', 'name' => 'show_head', 'type' => 'true_false', 'column_width' => '', 'message' => '', 'default_value' => 0, ), array ( 'key' => 'field_54f6f1e2e92f7', 'label' => 'Heading', 'name' => 'heading', 'type' => 'text', 'conditional_logic' => array ( 'status' => 1, 'rules' => array ( array ( 'field' => 'field_54f8a668c3cd3', 'operator' => '==', 'value' => '1', ), ), 'allorany' => 'all', ), 'column_width' => '', 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'none', 'maxlength' => '', ), array ( 'key' => 'field_54f70c2e67288', 'label' => 'Show Sub Heading', 'name' => 'show_sub', 'type' => 'true_false', 'column_width' => '', 'message' => '', 'default_value' => 0, ), array ( 'key' => 'field_54f70c4f67289', 'label' => 'Sub Heading', 'name' => 'sub_heading', 'type' => 'text', 'conditional_logic' => array ( 'status' => 1, 'rules' => array ( array ( 'field' => 'field_54f70c2e67288', 'operator' => '==', 'value' => '1', ), ), 'allorany' => 'all', ), 'column_width' => '', 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'html', 'maxlength' => '', ), array ( 'key' => 'field_54f6f375e92fd', 'label' => 'Columns', 'name' => 'columns', 'type' => 'radio', 'column_width' => '', 'choices' => array ( 1 => 1, 2 => 2, 3 => 3, ), 'other_choice' => 0, 'save_other_choice' => 0, 'default_value' => 1, 'layout' => 'horizontal', ), array ( 'key' => 'field_54f6f3ebe92fe', 'label' => 'Column 1', 'name' => 'column1', 'type' => 'wysiwyg', 'column_width' => '', 'default_value' => '', 'toolbar' => 'full', 'media_upload' => 'yes', ), array ( 'key' => 'field_54f98833c9fa3', 'label' => 'Asymmetric Grid', 'name' => 'grid1', 'type' => 'select', 'conditional_logic' => array ( 'status' => 1, 'rules' => array ( array ( 'field' => 'field_54f6f375e92fd', 'operator' => '==', 'value' => '2', ), array ( 'field' => 'field_54f6f375e92fd', 'operator' => '==', 'value' => '3', ), ), 'allorany' => 'any', ), 'column_width' => '', 'choices' => array ( 'one-third' => '1/3', 'two-third' => '2/3', 'one-fourth' => '1/4', 'two-fourth' => '2/4', 'three-fourth' => '3/4', ), 'default_value' => '', 'allow_null' => 1, 'multiple' => 0, ), array ( 'key' => 'field_54f6f482e9300', 'label' => 'Column 2', 'name' => 'column2', 'type' => 'wysiwyg', 'conditional_logic' => array ( 'status' => 1, 'rules' => array ( array ( 'field' => 'field_54f6f375e92fd', 'operator' => '==', 'value' => '2', ), array ( 'field' => 'field_54f6f375e92fd', 'operator' => '==', 'value' => '3', ), ), 'allorany' => 'any', ), 'column_width' => '', 'default_value' => '', 'toolbar' => 'full', 'media_upload' => 'yes', ), array ( 'key' => 'field_54f98a3d051da', 'label' => 'Asymmetric Grid', 'name' => 'grid2', 'type' => 'select', 'conditional_logic' => array ( 'status' => 1, 'rules' => array ( array ( 'field' => 'field_54f6f375e92fd', 'operator' => '==', 'value' => '2', ), array ( 'field' => 'field_54f6f375e92fd', 'operator' => '==', 'value' => '3', ), ), 'allorany' => 'any', ), 'column_width' => '', 'choices' => array ( 'one-third' => '1/3', 'two-third' => '2/3', 'one-fourth' => '1/4', 'two-fourth' => '2/4', 'three-fourth' => '3/4', ), 'default_value' => '', 'allow_null' => 1, 'multiple' => 0, ), array ( 'key' => 'field_54f6f4cfe9303', 'label' => 'Column 3', 'name' => 'column3', 'type' => 'wysiwyg', 'conditional_logic' => array ( 'status' => 1, 'rules' => array ( array ( 'field' => 'field_54f6f375e92fd', 'operator' => '==', 'value' => '3', ), ), 'allorany' => 'all', ), 'column_width' => '', 'default_value' => '', 'toolbar' => 'full', 'media_upload' => 'yes', ), array ( 'key' => 'field_54f98a5d051db', 'label' => 'Asymmetric Grid', 'name' => 'grid3', 'type' => 'select', 'conditional_logic' => array ( 'status' => 1, 'rules' => array ( array ( 'field' => 'field_54f6f375e92fd', 'operator' => '==', 'value' => '3', ), ), 'allorany' => 'all', ), 'column_width' => '', 'choices' => array ( 'one-third' => '1/3', 'two-third' => '2/3', 'one-fourth' => '1/4', 'two-fourth' => '2/4', 'three-fourth' => '3/4', ), 'default_value' => '', 'allow_null' => 1, 'multiple' => 0, ), ), ), array ( 'label' => 'Contact Form', 'name' => 'contact', 'display' => 'row', 'min' => '', 'max' => '', 'sub_fields' => array ( array ( 'key' => 'field_54f8ae211cbc5', 'label' => 'Skin', 'name' => 'skin', 'type' => 'select', 'column_width' => 10, 'choices' => array ( 'dark' => 'dark', 'light' => 'light', 'main' => 'main', 'second' => 'second', ), 'default_value' => '', 'allow_null' => 0, 'multiple' => 0, ), array ( 'key' => 'field_54f8ae211cbc6', 'label' => 'Background Image', 'name' => 'background_image', 'type' => 'image', 'column_width' => '', 'save_format' => 'url', 'preview_size' => 'thumbnail', 'library' => 'all', ), array ( 'key' => 'field_54f8ae211cbc7', 'label' => 'Show Heading', 'name' => 'show_head', 'type' => 'true_false', 'column_width' => '', 'message' => '', 'default_value' => 0, ), array ( 'key' => 'field_54f8ae211cbc8', 'label' => 'Heading', 'name' => 'heading', 'type' => 'text', 'conditional_logic' => array ( 'status' => 1, 'rules' => array ( array ( 'field' => 'field_54f8ae211cbc7', 'operator' => '==', 'value' => '1', ), ), 'allorany' => 'all', ), 'column_width' => '', 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'none', 'maxlength' => '', ), array ( 'key' => 'field_54f8ae211cbc9', 'label' => 'Show Sub Heading', 'name' => 'show_sub', 'type' => 'true_false', 'column_width' => '', 'message' => '', 'default_value' => 0, ), array ( 'key' => 'field_54f8ae211cbca', 'label' => 'Sub Heading', 'name' => 'sub_heading', 'type' => 'text', 'conditional_logic' => array ( 'status' => 1, 'rules' => array ( array ( 'field' => 'field_54f8ae211cbc9', 'operator' => '==', 'value' => '1', ), ), 'allorany' => 'all', ), 'column_width' => '', 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'html', 'maxlength' => '', ), array ( 'key' => 'field_54f8ae3d1cbcf', 'label' => 'Contact Form', 'name' => 'contact_form', 'type' => 'acf_cf7', 'required' => 1, 'column_width' => '', 'allow_null' => 0, 'multiple' => 0, 'disable' => array ( 0 => 0, ), ), ), ), array ( 'label' => 'Testimonials', 'name' => 'testimonials', 'display' => 'row', 'min' => '', 'max' => '', 'sub_fields' => array ( array ( 'key' => 'field_54fc5dc79988e', 'label' => 'Skin', 'name' => 'skin', 'type' => 'select', 'column_width' => 10, 'choices' => array ( 'dark' => 'dark', 'light' => 'light', 'main' => 'main', 'second' => 'second', ), 'default_value' => '', 'allow_null' => 0, 'multiple' => 0, ), array ( 'key' => 'field_54fc5dc79988f', 'label' => 'Background Image', 'name' => 'background_image', 'type' => 'image', 'column_width' => '', 'save_format' => 'url', 'preview_size' => 'thumbnail', 'library' => 'all', ), array ( 'key' => 'field_54fc5dc799890', 'label' => 'Show Heading', 'name' => 'show_head', 'type' => 'true_false', 'column_width' => '', 'message' => '', 'default_value' => 0, ), array ( 'key' => 'field_54fc5dc799891', 'label' => 'Heading', 'name' => 'heading', 'type' => 'text', 'conditional_logic' => array ( 'status' => 1, 'rules' => array ( array ( 'field' => 'field_54f8ae211cbc7', 'operator' => '==', 'value' => '1', ), ), 'allorany' => 'all', ), 'column_width' => '', 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'none', 'maxlength' => '', ), array ( 'key' => 'field_54fc5dc799892', 'label' => 'Show Sub Heading', 'name' => 'show_sub', 'type' => 'true_false', 'column_width' => '', 'message' => '', 'default_value' => 0, ), array ( 'key' => 'field_54fc5dc799893', 'label' => 'Sub Heading', 'name' => 'sub_heading', 'type' => 'text', 'conditional_logic' => array ( 'status' => 1, 'rules' => array ( array ( 'field' => 'field_54f8ae211cbc9', 'operator' => '==', 'value' => '1', ), ), 'allorany' => 'all', ), 'column_width' => '', 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'html', 'maxlength' => '', ), ), ), array ( 'label' => 'Gallery', 'name' => 'gallery', 'display' => 'row', 'min' => '', 'max' => '', 'sub_fields' => array ( array ( 'key' => 'field_54fc4cefd1609', 'label' => 'Skin', 'name' => 'skin', 'type' => 'select', 'column_width' => 10, 'choices' => array ( 'dark' => 'dark', 'light' => 'light', 'main' => 'main', 'second' => 'second', ), 'default_value' => '', 'allow_null' => 0, 'multiple' => 0, ), array ( 'key' => 'field_54fc4cefd160a', 'label' => 'Background Image', 'name' => '', 'type' => 'text', 'column_width' => '', 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'html', 'maxlength' => '', ), array ( 'key' => 'field_54fc5e58e1fd1', 'label' => 'Something', 'name' => 'something', 'type' => 'text', 'column_width' => '', 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'html', 'maxlength' => '', ), ), ), ), 'min' => '', 'max' => '', 'button_label' => 'Add Row', ), ), 'location' => array ( array ( array ( 'param' => 'page_template', 'operator' => '==', 'value' => 'new.php', 'order_no' => 0, 'group_no' => 0, ), ), ), 'options' => array ( 'position' => 'normal', 'layout' => 'no_box', 'hide_on_screen' => array ( ), ), 'menu_order' => 0, )); }