Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //ACF STYLING
- function my_acf_admin_head() {
- ?>
- <style type="text/css">
- .acf-flexible-content .layout .acf-fc-layout-handle {
- /*background-color: #00B8E4;*/
- background-color: #202428;
- color: #eee;
- }
- .acf-repeater.-row > table > tbody > tr > td,
- .acf-repeater.-block > table > tbody > tr > td {
- border-top: 20px solid #848484;
- }
- .acf-repeater .acf-row-handle {
- vertical-align: top !important;
- padding-top: 16px;
- }
- .acf-repeater .acf-row-handle span {
- font-size: 20px;
- font-weight: bold;
- color: #202428;
- }
- .imageUpload img {
- width: 75px;
- }
- .acf-repeater .acf-row-handle .acf-icon.-minus {
- top: 30px;
- }
- </style>
- <?php }
- //ACF IMPORT
- if( function_exists('acf_add_local_field_group') ):
- acf_add_local_field_group(array(
- 'key' => 'group_5bc4aaa31337b',
- 'title' => 'Jumbotron',
- 'fields' => array(
- array(
- 'key' => 'field_5bc4aaa65f051',
- 'label' => 'Jumbotron image',
- 'name' => 'jumbotron_image',
- 'type' => 'image',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'array',
- 'preview_size' => 'full',
- 'library' => 'all',
- 'min_width' => '',
- 'min_height' => '',
- 'min_size' => '',
- 'max_width' => '',
- 'max_height' => '',
- 'max_size' => '',
- 'mime_types' => '',
- ),
- array(
- 'key' => 'field_5bc4ac23364d0',
- 'label' => 'Jumbotron title top',
- 'name' => 'jumbotron_title_top',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_5bc4ac31364d1',
- 'label' => 'Jumbotron title bottom',
- 'name' => 'jumbotron_title_bottom',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_5bc8969a588f5',
- 'label' => 'Jumbotron Subtitle',
- 'name' => 'jumbotron_subtitle',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_5bc896a3588f6',
- 'label' => 'jumbotron phone number name',
- 'name' => 'jumbotron_phone_number_name',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_5bd6ed8d0a427',
- 'label' => 'jumbotron phone number',
- 'name' => 'jumbotron_phone_number',
- 'type' => 'number',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'min' => '',
- 'max' => '',
- 'step' => '',
- ),
- array(
- 'key' => 'field_5bd6ed970a428',
- 'label' => 'jumbotron email name',
- 'name' => 'jumbotron_email_name',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_5bd6ed9e0a429',
- 'label' => 'jumbotron email',
- 'name' => 'jumbotron_email',
- 'type' => 'email',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'page_template',
- 'operator' => '==',
- 'value' => 'views/template-standard.blade.php',
- ),
- ),
- array(
- array(
- 'param' => 'page_template',
- 'operator' => '==',
- 'value' => 'views/template-404.blade.php',
- ),
- ),
- array(
- array(
- 'param' => 'page_template',
- 'operator' => '==',
- 'value' => 'views/template-content.blade.php',
- ),
- ),
- ),
- 'menu_order' => 1,
- 'position' => 'normal',
- 'style' => 'default',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => array(
- 0 => 'permalink',
- 1 => 'the_content',
- 2 => 'excerpt',
- 3 => 'custom_fields',
- 4 => 'discussion',
- 5 => 'comments',
- 6 => 'revisions',
- 7 => 'slug',
- 8 => 'author',
- 9 => 'format',
- 10 => 'featured_image',
- 11 => 'categories',
- 12 => 'tags',
- 13 => 'send-trackbacks',
- ),
- 'active' => 1,
- 'description' => '',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_5bc4b40390204',
- 'title' => 'Blocks',
- 'fields' => array(
- array(
- 'key' => 'field_5bd70b7ce6a8e',
- 'label' => 'Enable blocks?',
- 'name' => 'blocks_choice',
- 'type' => 'true_false',
- 'instructions' => 'Whether or not to display blocks',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'message' => '',
- 'default_value' => 1,
- 'ui' => 1,
- 'ui_on_text' => 'On',
- 'ui_off_text' => 'Off',
- ),
- array(
- 'key' => 'field_5bd70b7ce6a9e',
- 'label' => 'Large block choice',
- 'name' => 'large_block_choice',
- 'type' => 'select',
- 'instructions' => 'whether the first or second block should be larger, only applies if there are two blocks on the page',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd70b7ce6a8e',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'choices' => array(
- 'first' => 'First block',
- 'second' => 'Second block',
- ),
- 'default_value' => array(
- 0 => 'First block',
- ),
- 'allow_null' => 0,
- 'multiple' => 0,
- 'ui' => 0,
- 'ajax' => 0,
- 'return_format' => 'value',
- 'placeholder' => '',
- ),
- array(
- 'key' => 'field_5bc4b40e1b04c',
- 'label' => 'Blocks',
- 'name' => 'blocks',
- 'type' => 'repeater',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd70b7ce6a8e',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => 'blockrows',
- ),
- 'collapsed' => 'field_5bd6e8974d7c5',
- 'min' => 0,
- 'max' => 3,
- 'layout' => 'block',
- 'button_label' => '',
- 'sub_fields' => array(
- array(
- 'key' => 'field_5bd6e8974d7c5',
- 'label' => 'Options',
- 'name' => 'options',
- 'type' => 'select',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'choices' => array(
- 'Image / Title / Paragraph' => 'Image / Title / Paragraph',
- 'Image / Title / Paragraph / CTA simple' => 'Image / Title / Paragraph / CTA simple',
- 'Title / Paragraph / CTA animated' => 'Title / Paragraph / CTA animated',
- 'Title / Logos with text / CTA simple' => 'Title / Logos with text / CTA simple',
- 'Title / Paragraph / Logos only' => 'Title / Paragraph / Logos only',
- 'Tltle / Contact form' => 'Tltle / Contact form',
- ),
- 'default_value' => array(
- ),
- 'allow_null' => 0,
- 'multiple' => 0,
- 'ui' => 0,
- 'ajax' => 0,
- 'return_format' => 'value',
- 'placeholder' => '',
- ),
- array(
- 'key' => 'field_5bd6e7e54d7ba',
- 'label' => 'image',
- 'name' => 'image',
- 'type' => 'image',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Image / Title / Paragraph',
- ),
- ),
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Image / Title / Paragraph / CTA simple',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'array',
- 'preview_size' => 'thumbnail',
- 'library' => 'all',
- 'min_width' => '',
- 'min_height' => '',
- 'min_size' => '',
- 'max_width' => '',
- 'max_height' => '',
- 'max_size' => '',
- 'mime_types' => '',
- ),
- array(
- 'key' => 'field_5bd6e7ee4d7bb',
- 'label' => 'title',
- 'name' => 'title',
- 'type' => 'textarea',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Image / Title / Paragraph',
- ),
- ),
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Image / Title / Paragraph / CTA simple',
- ),
- ),
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Title / Paragraph / CTA animated',
- ),
- ),
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Title / Logos with text / CTA simple',
- ),
- ),
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Title / Paragraph / Logos only',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'maxlength' => '',
- 'rows' => 2,
- 'new_lines' => 'br',
- ),
- array(
- 'key' => 'field_5bd6e81b4d7bc',
- 'label' => 'paragraph',
- 'name' => 'paragraph',
- 'type' => 'textarea',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Image / Title / Paragraph',
- ),
- ),
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Image / Title / Paragraph / CTA simple',
- ),
- ),
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Title / Paragraph / CTA animated',
- ),
- ),
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Title / Paragraph / Logos only',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'maxlength' => '',
- 'rows' => 8,
- 'new_lines' => 'br',
- ),
- array(
- 'key' => 'field_5bd6e8234d7bd',
- 'label' => 'CTA mailing list',
- 'name' => 'cta_mail',
- 'type' => 'true_false',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Image / Title / Paragraph / CTA simple',
- ),
- ),
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Title / Logos with text / CTA simple',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'message' => '',
- 'default_value' => 0,
- 'ui' => 0,
- 'ui_on_text' => '',
- 'ui_off_text' => '',
- ),
- array(
- 'key' => 'field_5be2c9e70db7b',
- 'label' => 'CTA contact us',
- 'name' => 'cta_contact',
- 'type' => 'true_false',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Image / Title / Paragraph / CTA simple',
- ),
- ),
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Title / Logos with text / CTA simple',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'message' => '',
- 'default_value' => 0,
- 'ui' => 0,
- 'ui_on_text' => '',
- 'ui_off_text' => '',
- ),
- array(
- 'key' => 'field_5bd6e8374d7bf',
- 'label' => 'logo_image_1',
- 'name' => 'logo_image_1',
- 'type' => 'image',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Title / Logos with text / CTA simple',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'array',
- 'preview_size' => 'thumbnail',
- 'library' => 'all',
- 'min_width' => '',
- 'min_height' => '',
- 'min_size' => '',
- 'max_width' => '',
- 'max_height' => '',
- 'max_size' => '',
- 'mime_types' => '',
- ),
- array(
- 'key' => 'field_5bd6e8724d7c0',
- 'label' => 'logo_text_1',
- 'name' => 'logo_text_1',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Title / Logos with text / CTA simple',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_5bd6e8784d7c1',
- 'label' => 'logo_image_2',
- 'name' => 'logo_image_2',
- 'type' => 'image',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Title / Logos with text / CTA simple',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'array',
- 'preview_size' => 'thumbnail',
- 'library' => 'all',
- 'min_width' => '',
- 'min_height' => '',
- 'min_size' => '',
- 'max_width' => '',
- 'max_height' => '',
- 'max_size' => '',
- 'mime_types' => '',
- ),
- array(
- 'key' => 'field_5bd6e87e4d7c2',
- 'label' => 'logo_text_2',
- 'name' => 'logo_text_2',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Title / Logos with text / CTA simple',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_5bd6e8824d7c3',
- 'label' => 'logo_image_3',
- 'name' => 'logo_image_3',
- 'type' => 'image',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Title / Logos with text / CTA simple',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'array',
- 'preview_size' => 'thumbnail',
- 'library' => 'all',
- 'min_width' => '',
- 'min_height' => '',
- 'min_size' => '',
- 'max_width' => '',
- 'max_height' => '',
- 'max_size' => '',
- 'mime_types' => '',
- ),
- array(
- 'key' => 'field_5bd6e88a4d7c4',
- 'label' => 'logo_text_3',
- 'name' => 'logo_text_3',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Title / Logos with text / CTA simple',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_5bd71917f14ee',
- 'label' => 'logo 1',
- 'name' => 'logo_1',
- 'type' => 'image',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Title / Paragraph / Logos only',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '25',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'array',
- 'preview_size' => 'thumbnail',
- 'library' => 'all',
- 'min_width' => '',
- 'min_height' => '',
- 'min_size' => '',
- 'max_width' => '',
- 'max_height' => '',
- 'max_size' => '',
- 'mime_types' => '',
- ),
- array(
- 'key' => 'field_5bd719d7c067b',
- 'label' => 'logo 2',
- 'name' => 'logo_2',
- 'type' => 'image',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Title / Paragraph / Logos only',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '25',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'array',
- 'preview_size' => 'thumbnail',
- 'library' => 'all',
- 'min_width' => '',
- 'min_height' => '',
- 'min_size' => '',
- 'max_width' => '',
- 'max_height' => '',
- 'max_size' => '',
- 'mime_types' => '',
- ),
- array(
- 'key' => 'field_5bd719e9c067c',
- 'label' => 'logo 3',
- 'name' => 'logo_3',
- 'type' => 'image',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Title / Paragraph / Logos only',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '25',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'array',
- 'preview_size' => 'thumbnail',
- 'library' => 'all',
- 'min_width' => '',
- 'min_height' => '',
- 'min_size' => '',
- 'max_width' => '',
- 'max_height' => '',
- 'max_size' => '',
- 'mime_types' => '',
- ),
- array(
- 'key' => 'field_5bd719fec067d',
- 'label' => 'logo 4',
- 'name' => 'logo_4',
- 'type' => 'image',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Title / Paragraph / Logos only',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '25',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'array',
- 'preview_size' => 'thumbnail',
- 'library' => 'all',
- 'min_width' => '',
- 'min_height' => '',
- 'min_size' => '',
- 'max_width' => '',
- 'max_height' => '',
- 'max_size' => '',
- 'mime_types' => '',
- ),
- array(
- 'key' => 'field_5bd8475629acf',
- 'label' => 'Contact form Title',
- 'name' => 'contact_form_title',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Tltle / Contact form',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_5bd868a947fa9',
- 'label' => 'Contact form code',
- 'name' => 'contact_form_code',
- 'type' => 'text',
- 'instructions' => 'Input the form shortcode here',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Tltle / Contact form',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '[contact-form-7 id="#" title="#"]',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_5be1816a44484',
- 'label' => 'CTA Animated',
- 'name' => 'cta_animated',
- 'type' => 'true_false',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd6e8974d7c5',
- 'operator' => '==',
- 'value' => 'Title / Paragraph / CTA animated',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'message' => '',
- 'default_value' => 0,
- 'ui' => 0,
- 'ui_on_text' => '',
- 'ui_off_text' => '',
- ),
- array(
- 'key' => 'field_5bf2c9c828eb7',
- 'label' => 'Button page link',
- 'name' => 'button_page_link',
- 'type' => 'true_false',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '30',
- 'class' => '',
- 'id' => '',
- ),
- 'message' => '',
- 'default_value' => 0,
- 'ui' => 0,
- 'ui_on_text' => '',
- 'ui_off_text' => '',
- ),
- array(
- 'key' => 'field_5bf2c9a528eb5',
- 'label' => 'Page link text',
- 'name' => 'page_link_text',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_5bf2c9bb28eb6',
- 'label' => 'Page link',
- 'name' => 'page_link',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- ),
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'page_template',
- 'operator' => '==',
- 'value' => 'views/template-standard.blade.php',
- ),
- ),
- ),
- 'menu_order' => 3,
- 'position' => 'normal',
- 'style' => 'default',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => 1,
- 'description' => '',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_5bd6efe5d569e',
- 'title' => 'Carousel',
- 'fields' => array(
- array(
- 'key' => 'field_5bd8721f30f47',
- 'label' => 'Enable carousel?',
- 'name' => 'carousel_choice',
- 'type' => 'true_false',
- 'instructions' => 'Whether or not to display the logo carousel',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'message' => '',
- 'default_value' => 1,
- 'ui' => 1,
- 'ui_on_text' => 'On',
- 'ui_off_text' => 'Off',
- ),
- array(
- 'key' => 'field_5bd6efefc60b7',
- 'label' => 'Carousel',
- 'name' => 'carousel',
- 'type' => 'repeater',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd8721f30f47',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'collapsed' => '',
- 'min' => 0,
- 'max' => 0,
- 'layout' => 'table',
- 'button_label' => 'Add logo',
- 'sub_fields' => array(
- array(
- 'key' => 'field_5bd6f01779380',
- 'label' => 'Image',
- 'name' => 'image',
- 'type' => 'image',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '10',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'array',
- 'preview_size' => 'thumbnail',
- 'library' => 'all',
- 'min_width' => '',
- 'min_height' => '',
- 'min_size' => '',
- 'max_width' => '',
- 'max_height' => '',
- 'max_size' => '',
- 'mime_types' => '',
- ),
- array(
- 'key' => 'field_5bd6f0b879381',
- 'label' => 'Link',
- 'name' => 'link',
- 'type' => 'url',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '45',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- ),
- array(
- 'key' => 'field_5bd71d3a20de0',
- 'label' => 'Alt',
- 'name' => 'alt',
- 'type' => 'text',
- 'instructions' => 'Voer hier de bedrijfsnaam in',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '45',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- ),
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'page_template',
- 'operator' => '==',
- 'value' => 'views/template-standard.blade.php',
- ),
- ),
- array(
- array(
- 'param' => 'page_template',
- 'operator' => '==',
- 'value' => 'default',
- ),
- ),
- ),
- 'menu_order' => 4,
- 'position' => 'normal',
- 'style' => 'default',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => 1,
- 'description' => '',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_5beaa4104c597',
- 'title' => 'Content',
- 'fields' => array(
- array(
- 'key' => 'field_5beaa41f99bfa',
- 'label' => 'Enable content?',
- 'name' => 'content_choice',
- 'type' => 'true_false',
- 'instructions' => 'Whether or not to display the large white centered field for text',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'message' => '',
- 'default_value' => 0,
- 'ui' => 1,
- 'ui_on_text' => 'On',
- 'ui_off_text' => 'Off',
- ),
- array(
- 'key' => 'field_5beac9846067d',
- 'label' => 'Enable Comparison sliders?',
- 'name' => 'comparison_choice',
- 'type' => 'true_false',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'message' => '',
- 'default_value' => 0,
- 'ui' => 1,
- 'ui_on_text' => 'On',
- 'ui_off_text' => 'Off',
- ),
- array(
- 'key' => 'field_5bec0c5edda05',
- 'label' => 'Comparison',
- 'name' => 'comparison',
- 'type' => 'repeater',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5beac9846067d',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'collapsed' => '',
- 'min' => 0,
- 'max' => 0,
- 'layout' => 'table',
- 'button_label' => '',
- 'sub_fields' => array(
- array(
- 'key' => 'field_5bec0c77dda06',
- 'label' => 'image before',
- 'name' => 'image_before',
- 'type' => 'image',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'url',
- 'preview_size' => 'thumbnail',
- 'library' => 'all',
- 'min_width' => '',
- 'min_height' => '',
- 'min_size' => '',
- 'max_width' => '',
- 'max_height' => '',
- 'max_size' => '',
- 'mime_types' => '',
- ),
- array(
- 'key' => 'field_5bec0c8adda07',
- 'label' => 'image after',
- 'name' => 'image_after',
- 'type' => 'image',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'url',
- 'preview_size' => 'thumbnail',
- 'library' => 'all',
- 'min_width' => '',
- 'min_height' => '',
- 'min_size' => '',
- 'max_width' => '',
- 'max_height' => '',
- 'max_size' => '',
- 'mime_types' => '',
- ),
- ),
- ),
- array(
- 'key' => 'field_5beaa44899bfb',
- 'label' => 'Paragraph',
- 'name' => 'content_paragraph',
- 'type' => 'textarea',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5beaa41f99bfa',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'maxlength' => '',
- 'rows' => 20,
- 'new_lines' => 'br',
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'page_template',
- 'operator' => '==',
- 'value' => 'views/template-standard.blade.php',
- ),
- ),
- ),
- 'menu_order' => 2,
- 'position' => 'normal',
- 'style' => 'default',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => 1,
- 'description' => '',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_5bc45e19e0f36',
- 'title' => 'Contact',
- 'fields' => array(
- array(
- 'key' => 'field_5bd872d7affec',
- 'label' => 'Enable contact?',
- 'name' => 'contact_choice',
- 'type' => 'true_false',
- 'instructions' => 'Whether or not to display the contact segment above the footer',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'message' => '',
- 'default_value' => 1,
- 'ui' => 1,
- 'ui_on_text' => 'On',
- 'ui_off_text' => 'Off',
- ),
- array(
- 'key' => 'field_5bc45e273b211',
- 'label' => 'Map',
- 'name' => 'map',
- 'type' => 'google_map',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd872d7affec',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'center_lat' => '51.326112',
- 'center_lng' => '6.088412',
- 'zoom' => '',
- 'height' => '',
- ),
- array(
- 'key' => 'field_5bc470f3f81a1',
- 'label' => 'Phone number',
- 'name' => 'phone_number',
- 'type' => 'number',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd872d7affec',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'min' => '',
- 'max' => '',
- 'step' => '',
- ),
- array(
- 'key' => 'field_5bdaeb1384a07',
- 'label' => 'Contact form title',
- 'name' => 'contact_form_title',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd872d7affec',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_5bc4710df81a2',
- 'label' => 'Adres',
- 'name' => 'adres',
- 'type' => 'textarea',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd872d7affec',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'maxlength' => '',
- 'rows' => 2,
- 'new_lines' => 'br',
- ),
- array(
- 'key' => 'field_5bdaeb0184a06',
- 'label' => 'Contact form shortcode',
- 'name' => 'contact_form_shortcode',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd872d7affec',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_5bc4711ff81a3',
- 'label' => 'Open hours',
- 'name' => 'open_hours',
- 'type' => 'textarea',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd872d7affec',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'maxlength' => '',
- 'rows' => 7,
- 'new_lines' => 'br',
- ),
- array(
- 'key' => 'field_5bdb1dfb08dbd',
- 'label' => 'Email',
- 'name' => 'email',
- 'type' => 'email',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd872d7affec',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- ),
- array(
- 'key' => 'field_5bdb1e3b08dbe',
- 'label' => 'facebook link',
- 'name' => 'facebook',
- 'type' => 'url',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd872d7affec',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'page_template',
- 'operator' => '==',
- 'value' => 'views/template-standard.blade.php',
- ),
- ),
- ),
- 'menu_order' => 5,
- 'position' => 'normal',
- 'style' => 'default',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => 1,
- 'description' => '',
- ));
- endif;
- if( function_exists('acf_add_local_field_group') ):
- acf_add_local_field_group(array(
- 'key' => 'group_5bc4aaa31337b',
- 'title' => 'Jumbotron',
- 'fields' => array(
- array(
- 'key' => 'field_5bc4aaa65f051',
- 'label' => 'Jumbotron image',
- 'name' => 'jumbotron_image',
- 'type' => 'image',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'array',
- 'preview_size' => 'full',
- 'library' => 'all',
- 'min_width' => '',
- 'min_height' => '',
- 'min_size' => '',
- 'max_width' => '',
- 'max_height' => '',
- 'max_size' => '',
- 'mime_types' => '',
- ),
- array(
- 'key' => 'field_5bc4ac23364d0',
- 'label' => 'Jumbotron title top',
- 'name' => 'jumbotron_title_top',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_5bc4ac31364d1',
- 'label' => 'Jumbotron title bottom',
- 'name' => 'jumbotron_title_bottom',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_5bc8969a588f5',
- 'label' => 'Jumbotron Subtitle',
- 'name' => 'jumbotron_subtitle',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_5bc896a3588f6',
- 'label' => 'jumbotron phone number name',
- 'name' => 'jumbotron_phone_number_name',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_5bd6ed8d0a427',
- 'label' => 'jumbotron phone number',
- 'name' => 'jumbotron_phone_number',
- 'type' => 'number',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'min' => '',
- 'max' => '',
- 'step' => '',
- ),
- array(
- 'key' => 'field_5bd6ed970a428',
- 'label' => 'jumbotron email name',
- 'name' => 'jumbotron_email_name',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_5bd6ed9e0a429',
- 'label' => 'jumbotron email',
- 'name' => 'jumbotron_email',
- 'type' => 'email',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'page_template',
- 'operator' => '==',
- 'value' => 'views/template-standard.blade.php',
- ),
- ),
- array(
- array(
- 'param' => 'page_template',
- 'operator' => '==',
- 'value' => 'views/template-404.blade.php',
- ),
- ),
- array(
- array(
- 'param' => 'page_template',
- 'operator' => '==',
- 'value' => 'views/template-content.blade.php',
- ),
- ),
- ),
- 'menu_order' => 1,
- 'position' => 'normal',
- 'style' => 'default',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => array(
- 0 => 'permalink',
- 1 => 'the_content',
- 2 => 'excerpt',
- 3 => 'custom_fields',
- 4 => 'discussion',
- 5 => 'comments',
- 6 => 'revisions',
- 7 => 'slug',
- 8 => 'author',
- 9 => 'format',
- 10 => 'featured_image',
- 11 => 'categories',
- 12 => 'tags',
- 13 => 'send-trackbacks',
- ),
- 'active' => 1,
- 'description' => '',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_5bd6efe5d569e',
- 'title' => 'Carousel',
- 'fields' => array(
- array(
- 'key' => 'field_5bd8721f30f47',
- 'label' => 'Carousel choice',
- 'name' => 'carousel_choice',
- 'type' => 'true_false',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'message' => '',
- 'default_value' => 1,
- 'ui' => 0,
- 'ui_on_text' => '',
- 'ui_off_text' => '',
- ),
- array(
- 'key' => 'field_5bd6efefc60b7',
- 'label' => 'Carousel',
- 'name' => 'carousel',
- 'type' => 'repeater',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd8721f30f47',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'collapsed' => '',
- 'min' => 0,
- 'max' => 0,
- 'layout' => 'table',
- 'button_label' => 'Add logo',
- 'sub_fields' => array(
- array(
- 'key' => 'field_5bd6f01779380',
- 'label' => 'Image',
- 'name' => 'image',
- 'type' => 'image',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '10',
- 'class' => '',
- 'id' => '',
- ),
- 'return_format' => 'array',
- 'preview_size' => 'thumbnail',
- 'library' => 'all',
- 'min_width' => '',
- 'min_height' => '',
- 'min_size' => '',
- 'max_width' => '',
- 'max_height' => '',
- 'max_size' => '',
- 'mime_types' => '',
- ),
- array(
- 'key' => 'field_5bd6f0b879381',
- 'label' => 'Link',
- 'name' => 'link',
- 'type' => 'url',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '45',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- ),
- array(
- 'key' => 'field_5bd71d3a20de0',
- 'label' => 'Alt',
- 'name' => 'alt',
- 'type' => 'text',
- 'instructions' => 'Voer hier de bedrijfsnaam in',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '45',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- ),
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'page_template',
- 'operator' => '==',
- 'value' => 'views/template-standard.blade.php',
- ),
- ),
- array(
- array(
- 'param' => 'page_template',
- 'operator' => '==',
- 'value' => 'default',
- ),
- ),
- ),
- 'menu_order' => 3,
- 'position' => 'normal',
- 'style' => 'default',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => 1,
- 'description' => '',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_5bd83dfbe9f27',
- 'title' => 'Content',
- 'fields' => array(
- array(
- 'key' => 'field_5bd83dfe41eea',
- 'label' => 'Paragraph',
- 'name' => 'content_paragraph',
- 'type' => 'textarea',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'maxlength' => '',
- 'rows' => 40,
- 'new_lines' => 'br',
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'page_template',
- 'operator' => '==',
- 'value' => 'views/template-content.blade.php',
- ),
- ),
- ),
- 'menu_order' => 4,
- 'position' => 'normal',
- 'style' => 'default',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => 1,
- 'description' => '',
- ));
- acf_add_local_field_group(array(
- 'key' => 'group_5bc45e19e0f36',
- 'title' => 'Contact',
- 'fields' => array(
- array(
- 'key' => 'field_5bd872d7affec',
- 'label' => 'Contact choice',
- 'name' => 'contact_choice',
- 'type' => 'true_false',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'message' => '',
- 'default_value' => 1,
- 'ui' => 0,
- 'ui_on_text' => '',
- 'ui_off_text' => '',
- ),
- array(
- 'key' => 'field_5bc45e273b211',
- 'label' => 'Map',
- 'name' => 'map',
- 'type' => 'google_map',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd872d7affec',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'center_lat' => '51.326112',
- 'center_lng' => '6.088412',
- 'zoom' => '',
- 'height' => '',
- ),
- array(
- 'key' => 'field_5bc470f3f81a1',
- 'label' => 'Phone number',
- 'name' => 'phone_number',
- 'type' => 'number',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd872d7affec',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'min' => '',
- 'max' => '',
- 'step' => '',
- ),
- array(
- 'key' => 'field_5bdaeb1384a07',
- 'label' => 'Contact form title',
- 'name' => 'contact_form_title',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_5bc4710df81a2',
- 'label' => 'Adres',
- 'name' => 'adres',
- 'type' => 'textarea',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd872d7affec',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'maxlength' => '',
- 'rows' => 2,
- 'new_lines' => 'br',
- ),
- array(
- 'key' => 'field_5bdaeb0184a06',
- 'label' => 'Contact form shortcode',
- 'name' => 'contact_form_shortcode',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- array(
- 'key' => 'field_5bc4711ff81a3',
- 'label' => 'Open hours',
- 'name' => 'open_hours',
- 'type' => 'textarea',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => array(
- array(
- array(
- 'field' => 'field_5bd872d7affec',
- 'operator' => '==',
- 'value' => '1',
- ),
- ),
- ),
- 'wrapper' => array(
- 'width' => '50',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'maxlength' => '',
- 'rows' => 7,
- 'new_lines' => 'br',
- ),
- array(
- 'key' => 'field_5bdb1dfb08dbd',
- 'label' => 'Email',
- 'name' => 'email',
- 'type' => 'email',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- ),
- array(
- 'key' => 'field_5bdb1e3b08dbe',
- 'label' => 'facebook link',
- 'name' => 'facebook',
- 'type' => 'url',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'page_template',
- 'operator' => '==',
- 'value' => 'views/template-standard.blade.php',
- ),
- ),
- ),
- 'menu_order' => 5,
- 'position' => 'normal',
- 'style' => 'default',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => 1,
- 'description' => '',
- ));
- endif;
- if( function_exists('acf_add_local_field_group') ):
- acf_add_local_field_group(array(
- 'key' => 'group_5bebe9aa800a7',
- 'title' => 'Contact_array',
- 'fields' => array(
- array(
- 'key' => 'field_5bebe9d6fd3d1',
- 'label' => 'Contact Array Text',
- 'name' => 'contact_array',
- 'type' => 'repeater',
- 'instructions' => 'De array met text die in- en outfade',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'collapsed' => '',
- 'min' => 0,
- 'max' => 0,
- 'layout' => 'table',
- 'button_label' => '',
- 'sub_fields' => array(
- array(
- 'key' => 'field_5bebea514c1ca',
- 'label' => 'array_text',
- 'name' => 'array_text',
- 'type' => 'text',
- 'instructions' => '',
- 'required' => 0,
- 'conditional_logic' => 0,
- 'wrapper' => array(
- 'width' => '',
- 'class' => '',
- 'id' => '',
- ),
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'maxlength' => '',
- ),
- ),
- ),
- ),
- 'location' => array(
- array(
- array(
- 'param' => 'page',
- 'operator' => '==',
- 'value' => '261',
- ),
- ),
- array(
- array(
- 'param' => 'page',
- 'operator' => '==',
- 'value' => '199',
- ),
- ),
- ),
- 'menu_order' => 6,
- 'position' => 'normal',
- 'style' => 'default',
- 'label_placement' => 'top',
- 'instruction_placement' => 'label',
- 'hide_on_screen' => '',
- 'active' => 1,
- 'description' => '',
- ));
- endif;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement