[json] test
Viewer
*** This page was generated with the meta tag "noindex, nofollow". This happened because you selected this option before saving or the system detected it as spam. This means that this page will never get into the search engines and the search bot will not crawl it. There is nothing to worry about, you can still share it with anyone.
- <?php
- /** ===================================================
- * This File contains all the misc fields that
- * apply to templates or theme options (not blocks)
- * ==================================================
- */
- // Standard Page Template Options
- acf_add_local_field_group(array(
- 'key' => 'group_5ee7dcbd45459',
- 'title' => 'Template Options',
- 'fields' => array(
- array(
- 'key' => 'field_5ee7dcd79ae05',
- 'label' => 'Display Title?',
- 'name' => 'display_title',
- 'type' => 'true_false',
- 'default_value' => 1,
- 'ui' => 1,
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'page',
- ),
- ),
- ),
- 'position' => 'side',
- 'style' => 'seamless',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_5ee7ae2rg34a43',
- 'title' => 'Template Options',
- 'fields' => array(
- array(
- 'key' => 'field_5ee7d4562345y',
- 'label' => 'Hide Featured Image?',
- 'name' => 'hide_featured_image',
- 'type' => 'true_false',
- 'default_value' => 0,
- 'ui' => 1,
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'post',
- ),
- ),
- ),
- 'position' => 'side',
- 'style' => 'seamless',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_60f9917b964c0',
- 'title' => 'Testimonial Settings',
- 'fields' => array(
- array(
- 'key' => 'field_60f99186640ba',
- 'label' => 'Name',
- 'name' => 'name',
- 'type' => 'text',
- 'instructions' => 'Leaving this blank, the testimonial title will be used in place of the name',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_60f991ae640bb',
- 'label' => 'Position',
- 'name' => 'position',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'testimonial',
- ),
- ),
- ),
- 'menu_order' => 0,
- 'position' => 'acf_after_title',
- 'style' => 'seamless',
- 'label_placement' => 'top',
- 'instruction_placement' => 'field',
- 'hide_on_screen' => '',
- 'active' => true,
- 'description' => '',
- ));
- // Menu Item options (Mega Menu)
- acf_add_local_field_group(array(
- 'key' => 'group_605b66dae36f1',
- 'title' => 'Menu Item Settings',
- 'fields' => array(
- array(
- 'key' => 'field_605b687f2bc7f',
- 'label' => '',
- 'name' => 'enable_mega_menu',
- 'type' => 'true_false',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => 'hide-main-acf-label',
- 'id' => '',
- ),
- 'message' => 'Enable Mega Menu?',
- 'default_value' => 0,
- 'ui' => 0,
- 'ui_on_text' => '',
- 'ui_off_text' => '',
- ),
- array(
- 'key' => 'field_605b67250d5f5',
- 'label' => 'Mega Menu Options',
- 'name' => 'megamenu_options',
- 'type' => 'group',
- 'instructions' => 'Mega Menu should only be enabled on first level menu items',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_605b687f2bc7f',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'layout' => 'block',
- 'sub_fields' => array(
- array(
- 'key' => 'field_605b67900d5f7',
- 'label' => 'Photo',
- 'name' => 'photo',
- 'type' => 'image',
- 'instructions' => 'The photo displays at the right side (end) of the dropdown',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'id',
- 'preview_size' => 'medium',
- 'library' => 'all',
- 'min_width' => 300,
- 'min_height' => '',
- 'min_size' => '',
- 'max_width' => 350,
- 'max_height' => 300,
- 'max_size' => '',
- 'mime_types' => '',
- ),
- array(
- 'key' => 'field_605b67e90d5f8',
- 'label' => 'Call To Action Button',
- 'name' => 'button',
- 'type' => 'link',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'array',
- ),
- ),
- ),
- array(
- 'key' => 'field_605cdc14f763e',
- 'label' => '',
- 'name' => 'enable_icon',
- 'type' => 'true_false',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'message' => 'Enable Icon?',
- 'default_value' => 0,
- 'ui' => 0,
- 'ui_on_text' => '',
- 'ui_off_text' => '',
- ),
- array(
- 'key' => 'field_605cdc42f763f',
- 'label' => 'Icon',
- 'name' => 'icon',
- 'type' => 'icons',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_605cdc14f763e',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'field_returns' => 'array',
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'nav_menu_item',
- 'operator' => '==',
- 'value' => 'location/main-nav-menu',
- ),
- ),
- ),
- 'menu_order' => 0,
- 'position' => 'normal',
- 'style' => 'default',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => true,
- 'description' => '',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_61006eb3d1b51',
- 'title' => 'Additional Post Settings',
- 'fields' => array(
- array(
- 'key' => 'field_61006ec770c99',
- 'label' => '',
- 'name' => 'featured',
- 'type' => 'true_false',
- 'instructions' => 'If Featured, the page will be highlighted (or placed at the beginning of the resource list block.)',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'message' => 'Featured?',
- 'default_value' => 0,
- 'ui' => 0,
- 'ui_on_text' => '',
- 'ui_off_text' => '',
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'post',
- ),
- ),
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'certifications',
- ),
- ),
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'mpdl-file',
- ),
- ),
- ),
- 'menu_order' => 0,
- 'position' => 'side',
- 'style' => 'default',
- 'label_placement' => 'top',
- 'instruction_placement' => 'field',
- 'hide_on_screen' => '',
- 'active' => true,
- 'description' => '',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_61030bddcc9a4',
- 'title' => 'Rule Additional Settings',
- 'fields' => array(
- array(
- 'key' => 'field_61030bf1dd9ed',
- 'label' => 'Custom Redirection',
- 'name' => 'custom_redirection',
- 'type' => 'text',
- 'instructions' => 'Redirect to this url if access denied.',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'memberpressrule',
- ),
- ),
- ),
- 'menu_order' => 0,
- 'position' => 'normal',
- 'style' => 'default',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => true,
- 'description' => '',
- ));
- // region Certification Program field groups
- acf_add_local_field_group(array(
- 'key' => 'group_610aaed24caae',
- 'title' => 'Program Settings',
- 'fields' => array(
- array(
- 'key' => 'field_610aaeec15b97',
- 'label' => 'Program Details',
- 'name' => 'program_details',
- 'type' => 'group',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'layout' => 'block',
- 'sub_fields' => array(
- array(
- 'key' => 'field_610ab30d15b98',
- 'label' => 'Formats',
- 'name' => 'formats',
- 'type' => 'wysiwyg',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'tabs' => 'all',
- 'toolbar' => 'basic',
- 'media_upload' => 1,
- 'delay' => 0,
- ),
- array(
- 'key' => 'field_610ab33c15b9a',
- 'label' => 'Investment',
- 'name' => 'investment',
- 'type' => 'wysiwyg',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'tabs' => 'all',
- 'toolbar' => 'basic',
- 'media_upload' => 1,
- 'delay' => 0,
- ),
- array(
- 'key' => 'field_610ab34915b9b',
- 'label' => 'Class Size',
- 'name' => 'class_size',
- 'type' => 'wysiwyg',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'tabs' => 'all',
- 'toolbar' => 'basic',
- 'media_upload' => 1,
- 'delay' => 0,
- ),
- array(
- 'key' => 'field_610ab36515b9d',
- 'label' => 'Additional Accordions',
- 'name' => 'additional_accordions',
- 'type' => 'repeater',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'collapsed' => 'field_610ab39415b9e',
- 'min' => 0,
- 'max' => 0,
- 'layout' => 'block',
- 'button_label' => '',
- 'sub_fields' => array(
- array(
- 'key' => 'field_610ab39415b9e',
- 'label' => 'Title',
- 'name' => 'title',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 1,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_610ab39e15b9f',
- 'label' => 'Content',
- 'name' => 'content',
- 'type' => 'wysiwyg',
- 'instructions' => '',
- 'required' => 1,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'tabs' => 'all',
- 'toolbar' => 'basic',
- 'media_upload' => 1,
- 'delay' => 0,
- ),
- ),
- ),
- ),
- ),
- array(
- 'key' => 'field_610ab3f2c89c3',
- 'label' => 'Testimonial Settings',
- 'name' => 'pull_testimonials',
- 'type' => 'true_false',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'message' => 'Pull latest testimonials automatically?',
- 'default_value' => 1,
- 'ui' => 0,
- 'ui_on_text' => '',
- 'ui_off_text' => '',
- ),
- array(
- 'key' => 'field_610ab3c1c89c2',
- 'label' => 'Testimonials',
- 'name' => 'testimonials',
- 'type' => 'post_object',
- 'instructions' => 'Select which Testimonials (if any) you would like to display at the bottom of the page.',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_610ab3f2c89c3',
- 'operator' => '!=',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'post_type' => array(
- 0 => 'testimonial',
- ),
- 'taxonomy' => '',
- 'allow_null' => 0,
- 'multiple' => 1,
- 'return_format' => 'id',
- 'ui' => 1,
- ),
- array(
- 'key' => 'field_61291c4c7d104',
- 'label' => 'Custom Testimonials',
- 'name' => 'custom_testimonials',
- 'type' => 'repeater',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_610ab3f2c89c3',
- 'operator' => '!=',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'collapsed' => '',
- 'min' => 0,
- 'max' => 0,
- 'layout' => 'block',
- 'button_label' => 'Add Custom Testimonial',
- 'sub_fields' => array(
- array(
- 'key' => 'field_61291c737d105',
- 'label' => 'Name',
- 'name' => 'name',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_61291c8c7d106',
- 'label' => 'Company / Position',
- 'name' => 'company',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_61291c9b7d107',
- 'label' => 'Testimonial',
- 'name' => 'testimonial',
- 'type' => 'textarea',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'maxlength' => '',
- 'rows' => '',
- 'new_lines' => '',
- ),
- ),
- ),
- array(
- 'key' => 'field_32t235hdrgfhert',
- 'label' => 'Limit Custom Testimonials?',
- 'name' => 'limit_custom_testimonials',
- 'type' => 'number',
- 'instructions' => 'Leave at zero to use all custom testimonials. Specify a limit to pull a random segment from list.',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => 0,
- ),
- array(
- 'key' => 'field_60b927790ea51',
- 'label' => 'Sections Before Archive',
- 'name' => 'sections_before',
- 'type' => 'repeater',
- 'instructions' => 'Add Reusable blocks to be included on this post after the header.
- <br>
- <a href="' . admin_url('edit.php?post_type=wp_block') . '">Manage reusable blocks</a>',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'collapsed' => '',
- 'min' => 0,
- 'max' => 0,
- 'layout' => 'row',
- 'button_label' => 'Add Block',
- 'sub_fields' => array(
- array(
- 'key' => 'field_60b927ae0ea52',
- 'label' => 'Reusable Block',
- 'name' => 'block',
- 'type' => 'post_object',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'post_type' => array(
- 0 => 'wp_block',
- ),
- 'taxonomy' => '',
- 'allow_null' => 0,
- 'multiple' => 0,
- 'return_format' => '',
- 'ui' => 1,
- ),
- ),
- ),
- array(
- 'key' => 'field_60b927d20ea53',
- 'label' => 'Sections After Archive',
- 'name' => 'sections_after',
- 'type' => 'repeater',
- 'instructions' => 'Add Reusable blocks to be included on this post before the footer.
- <br>
- <a href="' . admin_url('edit.php?post_type=wp_block') . '">Manage reusable blocks</a>',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'collapsed' => '',
- 'min' => 0,
- 'max' => 0,
- 'layout' => 'row',
- 'button_label' => 'Add Block',
- 'sub_fields' => array(
- array(
- 'key' => 'field_60b927d30ea54',
- 'label' => 'Reusable Block',
- 'name' => 'block',
- 'type' => 'post_object',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'post_type' => array(
- 0 => 'wp_block',
- ),
- 'taxonomy' => '',
- 'allow_null' => 0,
- 'multiple' => 0,
- 'return_format' => 'id',
- 'ui' => 1,
- ),
- ),
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'certifications',
- ),
- ),
- ),
- 'menu_order' => 0,
- 'position' => 'normal',
- 'style' => 'seamless',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => true,
- 'description' => '',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_610ab5b686ab6',
- 'title' => 'Program Sidebar Options',
- 'fields' => array(
- array(
- 'key' => 'field_610ab5cb4263c',
- 'label' => 'Program Literature',
- 'name' => 'program_literature',
- 'type' => 'repeater',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'collapsed' => '',
- 'min' => 0,
- 'max' => 0,
- 'layout' => 'block',
- 'button_label' => 'Add Literature',
- 'sub_fields' => array(
- array(
- 'key' => 'field_610ab5f14263d',
- 'label' => 'File',
- 'name' => 'file',
- 'type' => 'file',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'array',
- 'library' => 'all',
- 'min_size' => '',
- 'max_size' => '',
- 'mime_types' => '',
- ),
- array(
- 'key' => 'field_610ab5ff4263e',
- 'label' => 'Button Label',
- 'name' => 'button_label',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- ),
- ),
- array(
- 'key' => 'field_610afd1b8c065',
- 'label' => 'Event Lists',
- 'name' => 'event_lists',
- 'type' => 'repeater',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'collapsed' => 'field_610afd328c066',
- 'min' => 0,
- 'max' => 0,
- 'layout' => 'block',
- 'button_label' => 'Add Event List',
- 'sub_fields' => array(
- array(
- 'key' => 'field_610afd328c066',
- 'label' => 'Label',
- 'name' => 'label',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_610afd498c067',
- 'label' => 'Event Category',
- 'name' => 'event_category',
- 'type' => 'taxonomy',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'taxonomy' => 'tribe_events_cat',
- 'field_type' => 'checkbox',
- 'add_term' => 1,
- 'save_terms' => 0,
- 'load_terms' => 0,
- 'return_format' => 'id',
- 'multiple' => 0,
- 'allow_null' => 0,
- ),
- array(
- 'key' => 'field_611012c47ebce',
- 'label' => 'Event Tag',
- 'name' => 'event_tag',
- 'type' => 'taxonomy',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'taxonomy' => 'post_tag',
- 'field_type' => 'checkbox',
- 'add_term' => 1,
- 'save_terms' => 0,
- 'load_terms' => 0,
- 'return_format' => 'id',
- 'multiple' => 0,
- 'allow_null' => 0,
- ),
- ),
- ),
- array(
- 'key' => 'field_610afdeb4330a',
- 'label' => 'Stats',
- 'name' => 'stats',
- 'type' => 'repeater',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'collapsed' => '',
- 'min' => 0,
- 'max' => 0,
- 'layout' => 'block',
- 'button_label' => 'Add Stat Block',
- 'sub_fields' => array(
- array(
- 'key' => 'field_610afe1f4330b',
- 'label' => 'Percent',
- 'name' => 'percent',
- 'type' => 'number',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => 0,
- 'prepend' => '',
- 'append' => '%',
- 'min' => '',
- 'max' => '',
- 'step' => '',
- ),
- array(
- 'key' => 'field_610afe484330c',
- 'label' => 'Label',
- 'name' => 'label',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_610afe534330d',
- 'label' => 'Tooltip',
- 'name' => 'tooltip',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- ),
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'certifications',
- ),
- ),
- ),
- 'menu_order' => 0,
- 'position' => 'side',
- 'style' => 'seamless',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => true,
- 'description' => '',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_610ab69a2ec40',
- 'title' => 'Program Title Settings',
- 'fields' => array(
- array(
- 'key' => 'field_23456g64j4545m',
- 'label' => 'Archive Title',
- 'name' => 'archive_title',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_610ab6b908dc5',
- 'label' => 'Internal Navigation Title',
- 'name' => 'short_title',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'certifications',
- ),
- ),
- ),
- 'menu_order' => 0,
- 'position' => 'acf_after_title',
- 'style' => 'seamless',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => true,
- 'description' => '',
- ));
- // endregion Certification Program field groups
- // region Event fields
- acf_add_local_field_group(array(
- 'key' => 'group_610d826feda35',
- 'title' => 'Additional Event Settings',
- 'fields' => array(
- array(
- 'key' => 'field_610d871e14561',
- 'label' => 'Program Link',
- 'name' => 'program_link',
- 'type' => 'page_link',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'post_type' => array(
- 0 => 'certifications',
- ),
- 'taxonomy' => '',
- 'allow_null' => 0,
- 'allow_archives' => 0,
- 'multiple' => 0,
- ),
- array(
- 'key' => 'field_610d829a1455e',
- 'label' => 'Program Literature',
- 'name' => 'program_literature',
- 'type' => 'repeater',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'collapsed' => '',
- 'min' => 0,
- 'max' => 0,
- 'layout' => 'block',
- 'button_label' => '',
- 'sub_fields' => array(
- array(
- 'key' => 'field_610d83031455f',
- 'label' => 'Label',
- 'name' => 'label',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => 'Download Brochure',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_610d870b14560',
- 'label' => 'File',
- 'name' => 'file',
- 'type' => 'file',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'array',
- 'library' => 'all',
- 'min_size' => '',
- 'max_size' => '',
- 'mime_types' => '',
- ),
- ),
- ),
- array(
- 'key' => 'field_34ko4grj345i34',
- 'label' => 'Agenda Information',
- 'name' => 'agenda',
- 'type' => 'wysiwyg',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'tabs' => 'all',
- 'toolbar' => 'basic',
- 'media_upload' => 1,
- 'delay' => 0,
- ),
- array(
- 'key' => 'field_34ko4grj345i35',
- 'label' => '',
- 'name' => 'hide_date',
- 'type' => 'true_false',
- 'instructions' => 'Checking this option will hide the date range configured in the event itself. <br/> It\'s still recommended to set a date on the event in order to for it to display properly on the calendar pages. Use this if the dates and times are specified in the agenda.',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'message' => 'Hide Generated Dates?',
- 'default_value' => 0,
- 'ui' => 0,
- 'ui_on_text' => '',
- 'ui_off_text' => '',
- ),
- array(
- 'key' => 'field_610d879514562',
- 'label' => 'Additional Program Details',
- 'name' => 'program_details',
- 'type' => 'repeater',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'collapsed' => 'field_610d87b114563',
- 'min' => 0,
- 'max' => 0,
- 'layout' => 'block',
- 'button_label' => '',
- 'sub_fields' => array(
- array(
- 'key' => 'field_610d87b114563',
- 'label' => 'Title',
- 'name' => 'title',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_610d87f914564',
- 'label' => 'Content',
- 'name' => 'content',
- 'type' => 'wysiwyg',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'tabs' => 'all',
- 'toolbar' => 'basic',
- 'media_upload' => 1,
- 'delay' => 0,
- ),
- ),
- ),
- array(
- 'key' => 'field_610da814e34cf',
- 'label' => 'Sections Before Event',
- 'name' => 'sections_before',
- 'type' => 'repeater',
- 'instructions' => 'Add Reusable blocks to be included on this post after the header.
- <br>
- <a href="' . admin_url('edit.php?post_type=wp_block') . '">Manage reusable blocks</a>',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'collapsed' => '',
- 'min' => 0,
- 'max' => 0,
- 'layout' => 'block',
- 'button_label' => '',
- 'sub_fields' => array(
- array(
- 'key' => 'field_610da841e34d1',
- 'label' => 'Reusable Block',
- 'name' => 'block',
- 'type' => 'post_object',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'post_type' => 'wp_block',
- 'taxonomy' => '',
- 'allow_null' => 0,
- 'multiple' => 0,
- 'return_format' => 'id',
- 'ui' => 1,
- ),
- ),
- ),
- array(
- 'key' => 'field_610da82be34d0',
- 'label' => 'Sections After Event',
- 'name' => 'sections_after',
- 'type' => 'repeater',
- 'instructions' => 'Add Reusable blocks to be included on this post after the header.
- <br>
- <a href="' . admin_url('edit.php?post_type=wp_block') . '">Manage reusable blocks</a>',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'collapsed' => '',
- 'min' => 0,
- 'max' => 0,
- 'layout' => 'block',
- 'button_label' => '',
- 'sub_fields' => array(
- array(
- 'key' => 'field_610da871e34d2',
- 'label' => 'Reusable Block',
- 'name' => 'block',
- 'type' => 'post_object',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'post_type' => 'wp_block',
- 'taxonomy' => '',
- 'allow_null' => 0,
- 'multiple' => 0,
- 'return_format' => 'id',
- 'ui' => 1,
- ),
- ),
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'tribe_events',
- ),
- ),
- ),
- 'menu_order' => 0,
- 'position' => 'normal',
- 'style' => 'default',
- 'label_placement' => 'top',
- 'instruction_placement' => 'field',
- 'hide_on_screen' => '',
- 'active' => true,
- 'description' => '',
- ));
- // endregion Event Fields
- acf_add_local_field_group(array(
- 'key' => 'group_61117900ab893',
- 'title' => 'Facilitator Options',
- 'fields' => array(
- array(
- 'key' => 'field_61117e9892b87',
- 'label' => 'LinkedIn Profile',
- 'name' => 'linkedin',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_61117ea392b88',
- 'label' => 'Documents',
- 'name' => 'documents',
- 'type' => 'repeater',
- 'instructions' => 'Use this for bios, resumes, etc',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'collapsed' => '',
- 'min' => 0,
- 'max' => 0,
- 'layout' => 'block',
- 'button_label' => 'Add Document',
- 'sub_fields' => array(
- array(
- 'key' => 'field_61117fd592b89',
- 'label' => 'File',
- 'name' => 'file',
- 'type' => 'file',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'array',
- 'library' => 'all',
- 'min_size' => '',
- 'max_size' => '',
- 'mime_types' => '',
- ),
- array(
- 'key' => 'field_61117fdc92b8a',
- 'label' => 'Button Label',
- 'name' => 'button_label',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => 'Download Bio',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- ),
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'facilitator',
- ),
- ),
- ),
- 'menu_order' => 0,
- 'position' => 'side',
- 'style' => 'seamless',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => true,
- 'description' => '',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_61119194169e0',
- 'title' => 'Facilitator Title Settings',
- 'fields' => array(
- array(
- 'key' => 'field_611191a0e6d68',
- 'label' => 'Facilitator Role',
- 'name' => 'role',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => 'Kirkpatrick Certified Facilitator',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'facilitator',
- ),
- ),
- ),
- 'menu_order' => 0,
- 'position' => 'acf_after_title',
- 'style' => 'seamless',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => true,
- 'description' => '',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_6112a0001b12f',
- 'title' => 'Class Settings',
- 'fields' => array(
- array(
- 'key' => 'field_6112a07f05feb',
- 'label' => 'Formats',
- 'name' => 'formats',
- 'type' => 'wysiwyg',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'tabs' => 'all',
- 'toolbar' => 'basic',
- 'media_upload' => 1,
- 'delay' => 0,
- ),
- array(
- 'key' => 'field_6112a02c05fe8',
- 'label' => 'Brochures',
- 'name' => 'brochures',
- 'type' => 'repeater',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'collapsed' => '',
- 'min' => 0,
- 'max' => 0,
- 'layout' => 'block',
- 'button_label' => 'Add Document',
- 'sub_fields' => array(
- array(
- 'key' => 'field_6112a05105fe9',
- 'label' => 'File',
- 'name' => 'file',
- 'type' => 'file',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'array',
- 'library' => 'all',
- 'min_size' => '',
- 'max_size' => '',
- 'mime_types' => '',
- ),
- array(
- 'key' => 'field_6112a05e05fea',
- 'label' => 'Button Label',
- 'name' => 'button_label',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => 'Download Brochure',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- ),
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'classes',
- ),
- ),
- ),
- 'menu_order' => 0,
- 'position' => 'normal',
- 'style' => 'seamless',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => true,
- 'description' => '',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_6114358fadea8',
- 'title' => 'Event sidebar settings',
- 'fields' => array(
- array(
- 'key' => 'field_611435a908e37',
- 'label' => 'Eventbrite Iframe',
- 'name' => 'eventbrite_iframe',
- 'type' => 'textarea',
- 'instructions' => 'Paste the eventbrite iframe here, this will replace built in tickets.',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'maxlength' => '',
- 'rows' => '',
- 'new_lines' => '',
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'tribe_events',
- ),
- ),
- ),
- 'menu_order' => 0,
- 'position' => 'side',
- 'style' => 'seamless',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => true,
- 'description' => '',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_6130f9377e74f',
- 'title' => 'Product Overrides',
- 'fields' => array(
- array(
- 'key' => 'field_6130f944653ec',
- 'label' => '',
- 'name' => 'third_party_fulfillment',
- 'type' => 'true_false',
- 'instructions' => 'This option will disable the add-to-cart option on this product and replace it with a button linking to a vendor.',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'message' => 'Third Party Fulfillment?',
- 'default_value' => 0,
- 'ui' => 0,
- 'ui_on_text' => '',
- 'ui_off_text' => '',
- ),
- array(
- 'key' => 'field_6130f9fd653ed',
- 'label' => 'Primary Vendor URL',
- 'name' => 'primary_vendor_url',
- 'type' => 'text',
- 'instructions' => 'Additional vendors can be added in the section further down the page.',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_6130f944653ec',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_6130fd9014ff6',
- 'label' => 'Add to Cart Button Label',
- 'name' => 'add_to_cart_button_label',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_6130f944653ec',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => 'Order Now',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_6130fade653ee',
- 'label' => '',
- 'name' => 'third_party_product',
- 'type' => 'true_false',
- 'instructions' => 'Enabling this will redirect the entire product page to a third party URL',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'message' => 'Third Party Product?',
- 'default_value' => 0,
- 'ui' => 0,
- 'ui_on_text' => '',
- 'ui_off_text' => '',
- ),
- array(
- 'key' => 'field_6130fb17653ef',
- 'label' => 'Third Party URL',
- 'name' => 'third_party_url',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_6130fade653ee',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'product',
- ),
- ),
- ),
- 'menu_order' => 0,
- 'position' => 'acf_after_title',
- 'style' => 'default',
- 'label_placement' => 'top',
- 'instruction_placement' => 'field',
- 'hide_on_screen' => '',
- 'active' => true,
- 'description' => '',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_6131073ede3f0',
- 'title' => 'Product Preview',
- 'fields' => array(
- array(
- 'key' => 'field_6131077d83810',
- 'label' => 'Preview File',
- 'name' => 'preview_file',
- 'type' => 'file',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'array',
- 'library' => 'all',
- 'min_size' => '',
- 'max_size' => '',
- 'mime_types' => 'pdf, mp3',
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'product',
- ),
- ),
- ),
- 'menu_order' => 0,
- 'position' => 'side',
- 'style' => 'default',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => true,
- 'description' => '',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_6130f7bbb47cc',
- 'title' => 'Product Settings',
- 'fields' => array(
- array(
- 'key' => 'field_6130f7cb7249b',
- 'label' => 'Additional Vendors',
- 'name' => 'additional_vendors',
- 'type' => 'repeater',
- 'instructions' => 'Use this to add a list of third party vendors to be added in addition to the add to cart button.',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'collapsed' => '',
- 'min' => 0,
- 'max' => 0,
- 'layout' => 'block',
- 'button_label' => 'Add Additional Vendor',
- 'sub_fields' => array(
- array(
- 'key' => 'field_6130f7f87249c',
- 'label' => 'Label',
- 'name' => 'label',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_6130f81d7249d',
- 'label' => 'Link',
- 'name' => 'link',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_6130f8377249e',
- 'label' => 'Icon',
- 'name' => 'icon',
- 'type' => 'icons',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'field_returns' => 'slug',
- 'field_spritesheet' => 'icons-vendors',
- ),
- ),
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'product',
- ),
- ),
- ),
- 'menu_order' => 2,
- 'position' => 'acf_after_title',
- 'style' => 'default',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => true,
- 'description' => '',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_6131287ca3909',
- 'title' => 'Product Tabs',
- 'fields' => array(
- array(
- 'key' => 'field_6131288c8610b',
- 'label' => 'Additional Product Tabs',
- 'name' => 'additional_product_tabs',
- 'type' => 'repeater',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'collapsed' => '',
- 'min' => 0,
- 'max' => 0,
- 'layout' => 'block',
- 'button_label' => 'Add Product Tab',
- 'sub_fields' => array(
- array(
- 'key' => 'field_6131289d8610c',
- 'label' => 'Title',
- 'name' => 'title',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_613128a78610d',
- 'label' => 'Content',
- 'name' => 'content',
- 'type' => 'wysiwyg',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'tabs' => 'all',
- 'toolbar' => 'full',
- 'media_upload' => 1,
- 'delay' => 0,
- ),
- ),
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'product',
- ),
- ),
- ),
- 'menu_order' => 0,
- 'position' => 'normal',
- 'style' => 'default',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => true,
- 'description' => '',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_613f948cd1077',
- 'title' => 'Affiliate Info',
- 'fields' => array(
- array(
- 'key' => 'field_613f94bbd53f3',
- 'label' => 'Affiliate Website',
- 'name' => 'affiliate_website',
- 'type' => 'link',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'array',
- ),
- array(
- 'key' => 'field_613f958b4cdf4',
- 'label' => 'Affiliate Region',
- 'name' => 'affiliate_region',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'customers',
- ),
- ),
- ),
- 'menu_order' => 0,
- 'position' => 'normal',
- 'style' => 'default',
- 'label_placement' => 'top',
- 'instruction_placement' => 'field',
- 'hide_on_screen' => '',
- 'active' => true,
- 'description' => '',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_61536d8e70fd0',
- 'title' => 'Extra Widgets',
- 'fields' => array(
- array(
- 'key' => 'field_61536d9e6d33f',
- 'label' => 'Extra Widgets',
- 'name' => 'extra_widgets',
- 'type' => 'repeater',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'collapsed' => '',
- 'min' => 0,
- 'max' => 0,
- 'layout' => 'block',
- 'button_label' => '',
- 'sub_fields' => array(
- array(
- 'key' => 'field_61536dbd6d340',
- 'label' => 'Title',
- 'name' => 'title',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_61536dc26d341',
- 'label' => 'Content',
- 'name' => 'content',
- 'type' => 'wysiwyg',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'tabs' => 'all',
- 'toolbar' => 'full',
- 'media_upload' => 1,
- 'delay' => 0,
- ),
- array(
- 'key' => 'field_61536dce6d342',
- 'label' => 'Background',
- 'name' => 'background',
- 'type' => 'color-palette',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'field_returns' => 'slug',
- ),
- ),
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'certifications',
- ),
- ),
- ),
- 'menu_order' => 0,
- 'position' => 'side',
- 'style' => 'seamless',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => true,
- 'description' => '',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_6182aabaea540',
- 'title' => 'Memberpress Custom Redirection',
- 'fields' => array(
- array(
- 'key' => 'field_6182acb669d06',
- 'label' => 'Login Success Redirection',
- 'name' => 'mp_login_success_redirection',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'page',
- ),
- ),
- ),
- 'menu_order' => 0,
- 'position' => 'normal',
- 'style' => 'default',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => true,
- 'description' => '',
- ));
Editor
You can edit this paste and save as new: