/home/smartbloks/.trash/docly-core/inc/metaboxes.php
<?php
if( function_exists('acf_add_local_field_group') ):
acf_add_local_field_group(array(
'key' => 'group_5ead4ea38b97c',
'title' => 'Action Button',
'fields' => array(
array(
'key' => 'field_5f2cc54a220cc',
'label' => 'Button Style',
'name' => 'button_style',
'type' => 'button_group',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'fill' => 'Fill Button',
'outline' => 'Outline Button',
),
'allow_null' => 0,
'default_value' => '',
'layout' => 'horizontal',
'return_format' => 'value',
),
array(
'key' => 'field_5ead51ca559d3',
'label' => 'Custom or Default',
'name' => 'is_btn_custom',
'type' => 'button_group',
'instructions' => 'The default button Title and URL comes from the Theme Settings > Header > Action Buttons',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'default' => 'Default',
'custom' => 'Custom',
),
'allow_null' => 0,
'default_value' => 'default',
'layout' => 'horizontal',
'return_format' => 'value',
),
array(
'key' => 'field_5f2ce9d0eb4af',
'label' => 'Link',
'name' => 'action_btn_link',
'type' => 'link',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5ead51ca559d3',
'operator' => '==',
'value' => 'custom',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'return_format' => 'array',
),
array(
'key' => 'field_5f2d2b4dd303a',
'label' => 'Background Color',
'name' => 'btn_background_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5ead51ca559d3',
'operator' => '==',
'value' => 'custom',
),
),
),
'wrapper' => array(
'width' => '33.3',
'class' => '',
'id' => '',
),
'default_value' => '',
),
array(
'key' => 'field_5f2d2d32cc3ae',
'label' => 'Text Color',
'name' => 'btn_text_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5ead51ca559d3',
'operator' => '==',
'value' => 'custom',
),
),
),
'wrapper' => array(
'width' => '33.3',
'class' => '',
'id' => '',
),
'default_value' => '',
),
array(
'key' => 'field_5f2d2d5acc3af',
'label' => 'Border Color',
'name' => 'btn_border_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5ead51ca559d3',
'operator' => '==',
'value' => 'custom',
),
),
),
'wrapper' => array(
'width' => '33.3',
'class' => '',
'id' => '',
),
'default_value' => '',
),
array(
'key' => 'field_5f2d2e9fcc3b0',
'label' => 'Hover Background Color',
'name' => 'hover_btn_background_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5ead51ca559d3',
'operator' => '==',
'value' => 'custom',
),
),
),
'wrapper' => array(
'width' => '33.3',
'class' => '',
'id' => '',
),
'default_value' => '',
),
array(
'key' => 'field_5f2d2eb8cc3b1',
'label' => 'Hover Text Color',
'name' => 'hover_btn_text_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5ead51ca559d3',
'operator' => '==',
'value' => 'custom',
),
),
),
'wrapper' => array(
'width' => '33.3',
'class' => '',
'id' => '',
),
'default_value' => '',
),
array(
'key' => 'field_5f2d2ee6cc3b2',
'label' => 'Hover Border Color',
'name' => 'hover_btn_border_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5ead51ca559d3',
'operator' => '==',
'value' => 'custom',
),
),
),
'wrapper' => array(
'width' => '33.3',
'class' => '',
'id' => '',
),
'default_value' => '',
),
),
'location' => array(
array(
array(
'param' => 'post_type',
'operator' => '==',
'value' => 'none',
),
),
),
'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_5eac41061f4f2',
'title' => 'Banner',
'fields' => array(
array(
'key' => 'field_5f2cd54180fa3',
'label' => 'Banner',
'name' => 'is_banner',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 1,
'ui' => 1,
'ui_on_text' => 'Show',
'ui_off_text' => 'Hide',
),
array(
'key' => 'field_5f2cd56580fa4',
'label' => 'Ornament',
'name' => 'is_banner_ornament',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5f2cd54180fa3',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 1,
'ui' => 1,
'ui_on_text' => '',
'ui_off_text' => '',
),
array(
'key' => 'field_5f2cd5b780fa5',
'label' => 'Left Ornament',
'name' => 'banner_left_ornament',
'type' => 'image',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5f2cd56580fa4',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '50',
'class' => '',
'id' => '',
),
'return_format' => 'array',
'preview_size' => 'medium',
'library' => 'all',
'min_width' => '',
'min_height' => '',
'min_size' => '',
'max_width' => '',
'max_height' => '',
'max_size' => '',
'mime_types' => '',
),
array(
'key' => 'field_5f2cd5f580fa6',
'label' => 'Right Ornament',
'name' => 'banner_right_ornament',
'type' => 'image',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5f2cd56580fa4',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '50',
'class' => '',
'id' => '',
),
'return_format' => 'array',
'preview_size' => 'medium',
'library' => 'all',
'min_width' => '',
'min_height' => '',
'min_size' => '',
'max_width' => '',
'max_height' => '',
'max_size' => '',
'mime_types' => '',
),
),
'location' => array(
array(
array(
'param' => 'post_type',
'operator' => '==',
'value' => 'none',
),
),
),
'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_5f88b56e0ec3c',
'title' => 'Category Color',
'fields' => array(
array(
'key' => 'field_5f88b5bcc2ba3',
'label' => 'Normal Color',
'name' => 'cat_normal_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
),
array(
'key' => 'field_5f8c7f1b5770d',
'label' => 'Hover / Active Colors',
'name' => 'hover',
'type' => 'group',
'instructions' => 'Category colors on hover and active mode for category tab blog',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'layout' => 'table',
'sub_fields' => array(
array(
'key' => 'field_5f8c7f505770e',
'label' => 'Text Color',
'name' => 'text_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
),
array(
'key' => 'field_5f8c7f7a5770f',
'label' => 'Background Color',
'name' => 'background_color',
'type' => 'extended-color-picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'color_palette' => '',
'hide_palette' => 0,
),
array(
'key' => 'field_5f8c7f8b57710',
'label' => 'Border Top Color',
'name' => 'border_top_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
),
),
),
),
'location' => array(
array(
array(
'param' => 'taxonomy',
'operator' => '==',
'value' => 'category',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => true,
'description' => '',
'modified' => 1603044570,
));
acf_add_local_field_group(array(
'key' => 'group_5f2cd61a20a16',
'title' => 'Footer',
'fields' => array(
array(
'key' => 'field_5f2cd6286a5f9',
'label' => 'Footer Visibility',
'name' => 'footer_visibility',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 1,
'ui' => 1,
'ui_on_text' => 'Shown',
'ui_off_text' => 'Hidden',
),
array(
'key' => 'field_5f2cd64d6a5fa',
'label' => 'Padding Top',
'name' => 'footer_pt',
'type' => 'number',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5f2cd6286a5f9',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '25',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'min' => '',
'max' => '',
'step' => '',
),
array(
'key' => 'field_5f2cd6816a5fc',
'label' => 'Padding Right',
'name' => 'padding_right',
'type' => 'number',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5f2cd6286a5f9',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '25',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'min' => '',
'max' => '',
'step' => '',
),
array(
'key' => 'field_5f2cd68b6a5fd',
'label' => 'Padding Bottom',
'name' => 'padding_bottom',
'type' => 'number',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5f2cd6286a5f9',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '25',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'min' => '',
'max' => '',
'step' => '',
),
array(
'key' => 'field_5f2cd6966a5fe',
'label' => 'Padding Left',
'name' => 'padding_left',
'type' => 'number',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5f2cd6286a5f9',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '25',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'min' => '',
'max' => '',
'step' => '',
),
),
'location' => array(
array(
array(
'param' => 'post_type',
'operator' => '==',
'value' => 'post',
),
),
),
'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_5eac5bbccc311',
'title' => 'Header',
'fields' => array(
array(
'key' => 'field_5f42d77910dab',
'label' => 'Sticky Header',
'name' => 'is_sticky_header',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '50',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => '',
'ui_off_text' => '',
),
array(
'key' => 'field_5f2cd6ce48707',
'label' => 'Header Type',
'name' => 'header_type',
'type' => 'button_group',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '50',
'class' => '',
'id' => '',
),
'choices' => array(
'black' => 'Black',
'white' => 'White',
),
'allow_null' => 0,
'default_value' => '',
'layout' => 'horizontal',
'return_format' => 'value',
),
array(
'key' => 'field_5f2cd6c048706',
'label' => 'Use Sticky Logo',
'name' => 'use_sticky_logo',
'type' => 'true_false',
'instructions' => 'Use only the default sticky logo instead of two logos.',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '50',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 1,
'ui' => 1,
'ui_on_text' => '',
'ui_off_text' => '',
),
array(
'key' => 'field_5f2cd6f648708',
'label' => 'Menu Item Color',
'name' => 'menu_item_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '50',
'class' => '',
'id' => '',
),
'default_value' => '',
),
),
'location' => array(
array(
array(
'param' => 'post_type',
'operator' => '==',
'value' => 'none',
),
),
),
'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_5f42b1549cad0',
'title' => 'OnePage Configurations',
'fields' => array(
array(
'key' => 'field_5f42b16856850',
'label' => 'Doc ID',
'name' => 'doc_id',
'type' => 'text',
'instructions' => 'How to find the ID https://is.gd/TeczAk',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_607349ccd01ec',
'label' => 'Right Sidebar Content',
'name' => 'right_sidebar_content',
'type' => 'wysiwyg',
'instructions' => 'You can input here content that will appear on the right sidebar of this Onepage Doc.',
'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' => 'page',
),
array(
'param' => 'page_template',
'operator' => '==',
'value' => 'page-onepage.php',
),
),
),
'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_5e975bbf223f3',
'title' => 'Options :: Doc',
'fields' => array(
array(
'key' => 'field_5f2cd7735e30c',
'label' => 'Page Settings',
'name' => '',
'type' => 'tab',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'placement' => 'left',
'endpoint' => 0,
),
array(
'key' => 'field_5f2cd7895e30d',
'label' => 'Page Width',
'name' => 'doc_width',
'type' => 'select',
'instructions' => 'The default Doc Page Width comes from Theme Settings > Doc Settings > Layout.',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '50',
'class' => '',
'id' => '',
),
'choices' => array(
'default' => 'Default',
'boxed' => 'Boxed',
'full-width' => 'Full-width',
),
'default_value' => array(
0 => 'default',
),
'allow_null' => 0,
'multiple' => 0,
'ui' => 0,
'return_format' => 'value',
'ajax' => 0,
'placeholder' => '',
),
array(
'key' => 'field_5f6ba24553751',
'label' => 'Doc Layout',
'name' => 'doc_layout',
'type' => 'select',
'instructions' => 'The default Doc Layout comes from Theme Settings > Doc Settings > Layout.',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '50',
'class' => '',
'id' => '',
),
'choices' => array(
'default' => 'Default',
'both_sidebar' => 'Left and Right Sidebar',
'left_sidebar' => 'Only Left Sidebar',
),
'default_value' => array(
0 => 'default',
),
'allow_null' => 0,
'multiple' => 0,
'ui' => 0,
'return_format' => 'value',
'ajax' => 0,
'placeholder' => '',
),
array(
'key' => 'field_5f2cd8455e310',
'label' => 'Tooltips',
'name' => 'is_tooltips',
'type' => 'true_false',
'instructions' => 'Has this page Tooltips shortcodes? If you mark this to "Yes", a tab named "Tooltips" will be appeared for adding your tooltips.',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '50',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => '',
'ui_off_text' => '',
),
array(
'key' => 'field_5f2cd8695e311',
'label' => 'Footnotes',
'name' => 'is_footnotes',
'type' => 'true_false',
'instructions' => 'Has this page Footnotes shortcodes? If you mark this to "Yes", a tab named "Footnotes" will be appeared for adding your footnotes.',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '50',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => '',
'ui_off_text' => '',
),
array(
'key' => 'field_5f2cd8885e312',
'label' => 'Header Settings',
'name' => '',
'type' => 'tab',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'placement' => 'left',
'endpoint' => 0,
),
array(
'key' => 'field_5f2cd8e25e314',
'label' => 'Sticky Header',
'name' => 'is_sticky_header',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '50',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => '',
'ui_off_text' => '',
),
array(
'key' => 'field_5f2cd89d5e313',
'label' => 'Header Type',
'name' => 'header_type',
'type' => 'button_group',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '50',
'class' => '',
'id' => '',
),
'choices' => array(
'black' => 'Black',
'white' => 'White',
),
'allow_null' => 0,
'default_value' => 'white',
'layout' => 'horizontal',
'return_format' => 'value',
),
array(
'key' => 'field_5f2cd91a5e316',
'label' => 'Use Sticky Logo',
'name' => 'use_sticky_logo',
'type' => 'true_false',
'instructions' => 'Use only the default sticky logo instead of two logos.',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '50',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => '',
'ui_off_text' => '',
),
array(
'key' => 'field_5f2cd8f85e315',
'label' => 'Search Banner',
'name' => 'is_search_banner',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '50',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => 'Show',
'ui_off_text' => 'Hide',
),
array(
'key' => 'field_5f2cd92e5e317',
'label' => 'Background Color',
'name' => 'background_color',
'type' => 'color_picker',
'instructions' => 'The header background-color',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '50',
'class' => '',
'id' => '',
),
'default_value' => '',
),
array(
'key' => 'field_5f2cd94a5e319',
'label' => 'Menu Item Color',
'name' => 'menu_item_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '50',
'class' => '',
'id' => '',
),
'default_value' => '',
),
array(
'key' => 'field_5f2cdb0b5e31a',
'label' => 'Action Button',
'name' => '',
'type' => 'tab',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'placement' => 'left',
'endpoint' => 0,
),
array(
'key' => 'field_5f2cdb905e31b',
'label' => 'Action Button',
'name' => 'action_button',
'type' => 'clone',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'clone' => array(
0 => 'group_5ead4ea38b97c',
),
'display' => 'seamless',
'layout' => 'block',
'prefix_label' => 0,
'prefix_name' => 0,
),
array(
'key' => 'field_5f2cdbb75e31c',
'label' => 'Footnotes',
'name' => '',
'type' => 'tab',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5f2cd8695e311',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'placement' => 'left',
'endpoint' => 0,
),
array(
'key' => 'field_5f2cdbdb5e31d',
'label' => 'Footnotes Title',
'name' => 'footnotes_title',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '50',
'class' => '',
'id' => '',
),
'default_value' => 'Footnotes',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5f2cdc215e31e',
'label' => 'Footnotes Column',
'name' => 'footnotes_column',
'type' => 'number',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '50',
'class' => '',
'id' => '',
),
'default_value' => 1,
'placeholder' => '',
'prepend' => '',
'append' => '',
'min' => 1,
'max' => 4,
'step' => '',
),
array(
'key' => 'field_5f2cdc495e31f',
'label' => 'Footnotes',
'name' => 'footnotes',
'type' => 'repeater',
'instructions' => 'Add here the footnotes of your references.
Use [reference number=""] shortcode to insert reference into your paragraph.',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'acfe_permissions' => '',
'acfe_repeater_stylised_button' => 0,
'collapsed' => '',
'min' => 0,
'max' => 0,
'layout' => 'table',
'button_label' => 'Add Footnote',
'sub_fields' => array(
array(
'key' => 'field_5f2cdc635e320',
'label' => 'Title',
'name' => 'title',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '40',
'class' => '',
'id' => '',
),
'acfe_permissions' => '',
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5f2cdc725e321',
'label' => 'Reference Number',
'name' => 'reference_number',
'type' => 'number',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '10',
'class' => '',
'id' => '',
),
'acfe_permissions' => '',
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'min' => '',
'max' => '',
'step' => '',
),
array(
'key' => 'field_5f2cdc885e322',
'label' => 'Reference',
'name' => 'reference',
'type' => 'wysiwyg',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '50',
'class' => '',
'id' => '',
),
'acfe_permissions' => '',
'default_value' => '',
'tabs' => 'all',
'toolbar' => 'full',
'media_upload' => 0,
'delay' => 0,
),
),
),
array(
'key' => 'field_5f2cdca55e323',
'label' => 'Tooltips',
'name' => '',
'type' => 'tab',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5f2cd8455e310',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'placement' => 'top',
'endpoint' => 0,
),
array(
'key' => 'field_5f2cdcb95e324',
'label' => 'Tooltips',
'name' => 'tooltips',
'type' => 'repeater',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'collapsed' => '',
'min' => 0,
'max' => 0,
'layout' => 'table',
'button_label' => 'Add Tooltip',
'sub_fields' => array(
array(
'key' => 'field_5f2cdccc5e325',
'label' => 'Tooltip ID',
'name' => 'tooltip_id',
'type' => 'text',
'instructions' => 'Every tooltip ID of this page should be unique.',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5f2cdeb35e326',
'label' => 'Tooltip Content',
'name' => 'tooltip_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_5f2cdedb5e327',
'label' => 'Featured Image',
'name' => 'featured_image',
'type' => 'image',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'return_format' => 'array',
'preview_size' => 'medium',
'library' => 'all',
'min_width' => '',
'min_height' => '',
'min_size' => '',
'max_width' => '',
'max_height' => '',
'max_size' => '',
'mime_types' => '',
),
),
),
),
'location' => array(
array(
array(
'param' => 'post_type',
'operator' => '==',
'value' => 'docs',
),
),
),
'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_5eac41e5865c2',
'title' => 'Options :: Page',
'fields' => array(
array(
'key' => 'field_5f2cdf91c769d',
'label' => 'Banner',
'name' => '',
'type' => 'tab',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'placement' => 'left',
'endpoint' => 0,
),
array(
'key' => 'field_5f2cdfa1c769e',
'label' => 'Banner',
'name' => 'banner',
'type' => 'clone',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'clone' => array(
0 => 'group_5eac41061f4f2',
),
'display' => 'seamless',
'layout' => 'block',
'prefix_label' => 0,
'prefix_name' => 0,
),
array(
'key' => 'field_5f2ce0b1c769f',
'label' => 'Header',
'name' => '',
'type' => 'tab',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'placement' => 'left',
'endpoint' => 0,
),
array(
'key' => 'field_5f2ce0cdc76a0',
'label' => 'Header',
'name' => 'header',
'type' => 'clone',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'clone' => array(
0 => 'group_5eac5bbccc311',
),
'display' => 'seamless',
'layout' => 'block',
'prefix_label' => 0,
'prefix_name' => 0,
),
array(
'key' => 'field_5f45871197d62',
'label' => 'Page Settings',
'name' => '',
'type' => 'tab',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'placement' => 'left',
'endpoint' => 0,
),
array(
'key' => 'field_5f45871f97d63',
'label' => 'Page Settings',
'name' => 'page_settings',
'type' => 'clone',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'clone' => array(
0 => 'group_5f4585b114170',
),
'display' => 'seamless',
'layout' => 'block',
'prefix_label' => 0,
'prefix_name' => 0,
),
array(
'key' => 'field_5ead503c2a715',
'label' => 'Action Button',
'name' => '',
'type' => 'tab',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'placement' => 'left',
'endpoint' => 0,
),
array(
'key' => 'field_5ead50252a714',
'label' => 'Action Button',
'name' => 'action_button',
'type' => 'clone',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'clone' => array(
0 => 'group_5ead4ea38b97c',
),
'display' => 'seamless',
'layout' => 'block',
'prefix_label' => 0,
'prefix_name' => 0,
),
array(
'key' => 'field_5f2ce0f4c76a1',
'label' => 'Footer',
'name' => '',
'type' => 'tab',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'placement' => 'left',
'endpoint' => 0,
),
array(
'key' => 'field_5f2ce106c76a2',
'label' => 'Footer',
'name' => 'footer',
'type' => 'clone',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'clone' => array(
0 => 'group_5f2cd61a20a16',
),
'display' => 'seamless',
'layout' => 'block',
'prefix_label' => 0,
'prefix_name' => 0,
),
),
'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' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5f4585b114170',
'title' => 'Page Settings',
'fields' => array(
array(
'key' => 'field_5f4585bfde473',
'label' => 'Padding Top',
'name' => 'page_padding_top',
'type' => 'number',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '25',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => 'px',
'min' => '',
'max' => '',
'step' => '',
),
array(
'key' => 'field_5f4585e1de474',
'label' => 'Padding Right',
'name' => 'page_padding_right',
'type' => 'number',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '25',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => 'px',
'min' => '',
'max' => '',
'step' => '',
),
array(
'key' => 'field_5f4585ebde475',
'label' => 'Padding Bottom',
'name' => 'page_padding_bottom',
'type' => 'number',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '25',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => 'px',
'min' => '',
'max' => '',
'step' => '',
),
array(
'key' => 'field_5f4585f2de476',
'label' => 'Padding Left',
'name' => 'page_padding_left',
'type' => 'number',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '25',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => 'px',
'min' => '',
'max' => '',
'step' => '',
),
array(
'key' => 'field_5f47285b9029a',
'label' => 'Page Layout',
'name' => 'doc_width',
'type' => 'select',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'default' => 'Default',
'boxed' => 'Boxed',
'full-width' => 'Full-width',
),
'default_value' => false,
'allow_null' => 0,
'multiple' => 0,
'ui' => 0,
'return_format' => 'value',
'ajax' => 0,
'placeholder' => '',
),
),
'location' => array(
array(
array(
'param' => 'post_type',
'operator' => '==',
'value' => 'none',
),
),
),
'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_5f319c4fe34bc',
'title' => 'Sign up / Sign in Page Options',
'fields' => array(
array(
'key' => 'field_5f319e3055cea',
'label' => 'Left Column',
'name' => '',
'type' => 'tab',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'placement' => 'left',
'endpoint' => 0,
),
array(
'key' => 'field_5f319d8755ce6',
'label' => 'Title',
'name' => 'left_title',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => 'We are design changers do what matters.',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5f319ca378045',
'label' => 'Top Ornament Image',
'name' => 'top_ornament',
'type' => 'image',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'return_format' => 'array',
'preview_size' => 'medium',
'library' => 'all',
'min_width' => '',
'min_height' => '',
'min_size' => '',
'max_width' => '',
'max_height' => '',
'max_size' => '',
'mime_types' => '',
),
array(
'key' => 'field_5f319cf778046',
'label' => 'Bottom Ornament Image',
'name' => 'bottom_ornament',
'type' => 'image',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'return_format' => 'array',
'preview_size' => 'medium',
'library' => 'all',
'min_width' => '',
'min_height' => '',
'min_size' => '',
'max_width' => '',
'max_height' => '',
'max_size' => '',
'mime_types' => '',
),
array(
'key' => 'field_5f319d1478047',
'label' => 'Featured Image',
'name' => 'featured_image',
'type' => 'image',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'return_format' => 'array',
'preview_size' => 'medium',
'library' => 'all',
'min_width' => '',
'min_height' => '',
'min_size' => '',
'max_width' => '',
'max_height' => '',
'max_size' => '',
'mime_types' => '',
),
array(
'key' => 'field_5f319e1a55ce9',
'label' => 'Right Column',
'name' => '',
'type' => 'tab',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'placement' => 'left',
'endpoint' => 0,
),
array(
'key' => 'field_5f319db555ce7',
'label' => 'Right Title',
'name' => 'right_title',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => 'Create your Account',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5f319e5855ceb',
'label' => 'Subtitle',
'name' => 'right_subtitle',
'type' => 'wysiwyg',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => 'Already have an account? Sign in',
'tabs' => 'all',
'toolbar' => 'full',
'media_upload' => 0,
'delay' => 0,
),
array(
'key' => 'field_5f319e8655cec',
'label' => 'Submit Button Label',
'name' => 'submit_button_label',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => 'Create an account',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5f31ad210e6d3',
'label' => 'Agree Checkbox',
'name' => '',
'type' => 'tab',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'placement' => 'left',
'endpoint' => 0,
),
array(
'key' => 'field_5f31ad3e0e6d4',
'label' => 'Agree Checkbox',
'name' => 'agree_checkbox',
'type' => 'true_false',
'instructions' => 'This is only for the Signup page.',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => '',
'ui_off_text' => '',
),
array(
'key' => 'field_5f31adae0e6d5',
'label' => 'Agreement Label',
'name' => 'agreement_label',
'type' => 'wysiwyg',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => 'I accept the politic of confidentiality',
'tabs' => 'all',
'toolbar' => 'full',
'media_upload' => 0,
'delay' => 0,
),
array(
'key' => 'field_5f31af270e6d6',
'label' => 'Alert Message',
'name' => 'alert_message',
'type' => 'textarea',
'instructions' => 'The alert message will throw if the checkbox isn\'t checked before submitting the form.',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => 'Please indicate that you have read and agree to the Terms and Conditions and Privacy Policy',
'placeholder' => '',
'maxlength' => '',
'rows' => '',
'new_lines' => '',
),
),
'location' => array(
array(
array(
'param' => 'page_template',
'operator' => '==',
'value' => 'page-signup.php',
),
),
array(
array(
'param' => 'page_template',
'operator' => '==',
'value' => 'page-signin.php',
),
),
),
'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_5eac7cd8434f1',
'title' => 'Widget :: MailChimp Subscribe',
'fields' => array(
array(
'key' => 'field_5f2ce441c6b77',
'label' => 'Title',
'name' => 'title',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => 'Subscribe to our newsletter',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5f2ce454c6b78',
'label' => 'Logo',
'name' => 'logo',
'type' => 'image',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'return_format' => 'array',
'preview_size' => 'medium',
'library' => 'all',
'min_width' => '',
'min_height' => '',
'min_size' => '',
'max_width' => '',
'max_height' => '',
'max_size' => '',
'mime_types' => '',
),
array(
'key' => 'field_5f2ce469c6b79',
'label' => 'MailChimp Action URL',
'name' => 'form_action_url',
'type' => 'text',
'instructions' => 'Please follow this guide- https://goo.gl/k5a2tA to find your Mailchimp form action URL',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5f2ce482c6b7a',
'label' => 'Submit Button Title',
'name' => 'submit_button_title',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => 'Subscribe',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5f2ce497c6b7b',
'label' => 'Social Links',
'name' => 'social_links',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => 'Show',
'ui_off_text' => 'Hide',
),
),
'location' => array(
array(
array(
'param' => 'widget',
'operator' => '==',
'value' => 'subscribe',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => true,
'description' => '',
));
endif;