<?php
if(function_exists("register_field_group"))
{	
  
  	  
   $sliders=array('none'=>'-None-');
    if(class_exists('RevSlider')){
      $slider=new RevSlider();
      foreach($slider->getAllSliderAliases() as $alias)
        $sliders[$alias]=$alias;
    }
  
    //acf_slide-zone
    register_field_group(array (
        'id' => 'acf_slide-zone',
        'title' => 'Slide Zone',
        'fields' => array (
            array (
                'key' => 'field_535885e6d92a9',
                'label' => 'Repeat Slide',
                'name' => 'rpt-slide-zone',
                'type' => 'repeater',
                'sub_fields' => array (
                    array (
                        'key' => 'field_53588619d92ab',
                        'label' => 'Slide Name to Load',
                        'name' => 'slide_name',
                        'type' => 'select',
                        'choices' => $sliders,
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                ),
                'row_min' => 1,
                'row_limit' => '',
                'layout' => 'row',
                'button_label' => 'Add Slide',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'page',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-blog.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-whmcs.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-sidebar.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'default',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'discussion',
                2 => 'comments',
                3 => 'revisions',
                4 => 'slug',
                5 => 'author',
                6 => 'format',
                7 => 'categories',
                8 => 'tags',
                9 => 'send-trackbacks',
            ),
        ),
        'menu_order' => 0,
    ));  
    //acf_content-info-zone
    register_field_group(array (
        'id' => 'acf_content-info-zone',
        'title' => 'Content Info Zone',
        'fields' => array (
            array (
                'key' => 'field_53216744e6d79',
                'label' => 'Repeat',
                'name' => 'rpt-content-info-zone',
                'type' => 'repeater',
                'sub_fields' => array (
                    array (
                        'key' => 'field_53216769e6d7a',
                        'label' => 'Position Zone',
                        'name' => 'weight_content-info-zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => 0,
                        'placeholder' => 'Determines the order of the zones (Integer)',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => 2,
                    ),
                    array (
                        'key' => 'field_5382835a88d52',
                        'label' => 'Background Style Zone',
                        'name' => 'back',
                        'type' => 'select',
                        'choices' => array (
                            1 => 'Highlighted',
                            2 => 'Color',
                            3 => 'Image',
                            4 => 'Video',
                            5 => 'Skin Base',
                        ),
                        'default_value' => '2',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5382835a88d53',
                        'label' => 'Background Color Zone',
                        'name' => 'color_bg',
                        'type' => 'color_picker',
                        'default_value' => '',
                    ),
                    array (
                        'key' => 'field_53502b464nk59',
                        'label' => 'Background Image Zone',
                        'name' => 'image_bg',
                        'type' => 'image',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b434fur5',
                        'label' => 'Background Video Zone',
                        'name' => 'video_bg',
                        'type' => 'file',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'full',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b43l8n37',
                        'label' => 'Animation Zone',
                        'name' => 'animation_zone',
                        'type' => 'select',
                        'choices' => array (
                            '' => 'No Animation',
                            'bounceIn' => 'bounceIn',
                            'bounceInDown' => 'bounceInDown',
                            'bounceInLeft' => 'bounceInLeft',
                            'bounceInRight' => 'bounceInRight',
                            'bounceInUp' => 'bounceInUp',
                            'fadeIn' => 'fadeIn',
                            'fadeInDown' => 'fadeInDown',
                            'fadeInLeft' => 'fadeInLeft',
                            'fadeInRight' => 'fadeInRight',
                            'fadeInUp' => 'fadeInUp',
                            'flip' => 'flip',
                            'flipInX' => 'flipInX',
                            'flipInY' => 'flipInY',
                            'lightSpeedIn' => 'lightSpeedIn',
                            'rotateIn' => 'rotateIn',
                            'rotateInDownLeft' => 'rotateInDownLeft',
                            'rotateInDownRight' => 'rotateInDownRight',
                            'rotateInUpLeft' => 'rotateInUpLeft',
                            'rotateInUpRight' => 'rotateInUpRight',
                            'rollIn' => 'rollIn',
                            'zoomInDown' => 'zoomInDown',
                            'zoomInLeft' => 'zoomInLeft',
                            'zoomInRight' => 'zoomInRight',
                            'zoomInUp' => 'zoomInUp',
                        ),
                        'default_value' => '',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_532167c5e6d7b',
                        'label' => 'Content',
                        'name' => 'content',
                        'type' => 'wysiwyg',
                        'column_width' => '',
                        'default_value' => '',
                        'toolbar' => 'full',
                        'media_upload' => 'yes',
                    ),
                ),
                'row_min' => 1,
                'row_limit' => '',
                'layout' => 'row',
                'button_label' => 'Add Row',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'page',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-whmcs.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-blog.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-sidebar.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'default',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'comments',
                2 => 'revisions',
                3 => 'categories',
                4 => 'tags',
            ),
        ),
        'menu_order' => 0,
    ));
  
   //acf_page-header
    register_field_group(array (
        'id' => 'acf_page-header',
        'title' => 'Title Header Options',
        'fields' => array (            
            array (
                'key' => 'field_52efac893ed85',
                'label' => 'Title Background Image',
                'name' => 'image_header',
                'type' => 'image',
                'save_format' => 'url',
                'preview_size' => 'full',
                'library' => 'all',
            ),
          	array (
                'key' => 'field_5328346aowma2',
                'label' => 'Visibility',
                'name' => 'show_page_header',
                'type' => 'select',
                'choices' => array (
                    1 => 'Show',
                    2 => 'Hide',
                ),
                'other_choice' => 0,
                'save_other_choice' => 0,
                'default_value' => '1',
                'layout' => 'horizontal',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'page',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
          	array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'portfolio',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'post',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'side',
            'layout' => 'default',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'comments',
                2 => 'revisions',
                3 => 'tags',
            ),
        ),
        'menu_order' => 0,
    ));
 
  	//acf_add-sidebar
    register_field_group(array (
        'id' => 'acf_add-sidebar',
        'title' => 'Add Sidebar',
        'fields' => array (
            array (
                'key' => 'field_5328346a911fb',
                'label' => 'Position',
                'name' => 'position',
                'type' => 'select',
                'choices' => array (
                    1 => 'Left',
                    2 => 'Hide',
                    3 => 'Right',
                ),
                'other_choice' => 0,
                'save_other_choice' => 0,
                'default_value' => '1',
                'layout' => 'horizontal',
            ),
            array (
                'key' => 'field_532834a7911fc',
                'label' => 'Sidebar Name',
                'name' => 'sidebar_name',
                'type' => 'text',
                'default_value' => '',
                'placeholder' => '',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'page_template',
                    'operator' => '==',
                    'value' => 'template-sidebar.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
            array(
                array (
                    'param' => 'page_template',
                    'operator' => '==',
                    'value' => 'template-blog.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
            array(
                array (
                    'param' => 'page_template',
                    'operator' => '==',
                    'value' => 'template-whmcs.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'side',
            'layout' => 'default',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'comments',
                2 => 'revisions',
                3 => 'categories',
                4 => 'tags',
            ),
        ),
        'menu_order' => 0,
    ));
  
    //acf_blog-icon
    register_field_group(array (
        'id' => 'acf_blog-icon',
        'title' => 'Blog Icon',
        'fields' => array (
            array (
                'key' => 'field_53344310574ba',
                'label' => 'Icons',
                'name' => 'icons',
                'type' => 'repeater',
                'sub_fields' => array (
                    array (
                        'key' => 'field_53344329574bb',
                        'label' => 'Post Icon',
                        'name' => 'post_icon',
                        'type' => 'icon',
                        'column_width' => 50,
                        'default_value' => '',
                    ),
                ),
                'row_min' => 1,
                'row_limit' => 1,
                'layout' => 'table',
                'button_label' => 'Add I',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'post',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-blog.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-sidebar.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'no_box',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'revisions',
            ),
        ),
        'menu_order' => 0,
    ));
    //acf_accordion-zone
    register_field_group(array (
        'id' => 'acf_accordion-zone',
        'title' => 'Accordion Zone',
        'fields' => array (
            array (
                'key' => 'field_536701aeab50a',
                'label' => 'Repeater Accordion Zone',
                'name' => 'rpt-accordion-zone',
                'type' => 'repeater',
                'sub_fields' => array (
                    array (
                        'key' => 'field_536701cdab50b',
                        'label' => 'Position Zone',
                        'name' => 'weight_accordion-zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => 0,
                        'placeholder' => 'Determines the order of the zones (Integer)',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => 2,
                    ),
                    array (
                        'key' => 'field_5382835a88d54',
                        'label' => 'Background Style Zone',
                        'name' => 'back',
                        'type' => 'select',
                        'choices' => array (
                            1 => 'Highlighted',
                            2 => 'Color',
                            3 => 'Image',
                            4 => 'Video',
                            5 => 'Skin Base',
                        ),
                        'default_value' => '2',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5382835a88d55',
                        'label' => 'Background Color Zone',
                        'name' => 'color_bg',
                        'type' => 'color_picker',
                        'default_value' => '',
                    ),
                    array (
                        'key' => 'field_53502b464cb10',
                        'label' => 'Background Image Zone',
                        'name' => 'image_bg',
                        'type' => 'image',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b4349b10',
                        'label' => 'Background Video Zone',
                        'name' => 'video_bg',
                        'type' => 'file',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'full',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b4349c34',
                        'label' => 'Animation Zone',
                        'name' => 'animation_zone',
                        'type' => 'select',
                        'choices' => array (
                            '' => 'No Animation',
                            'bounceIn' => 'bounceIn',
                            'bounceInDown' => 'bounceInDown',
                            'bounceInLeft' => 'bounceInLeft',
                            'bounceInRight' => 'bounceInRight',
                            'bounceInUp' => 'bounceInUp',
                            'fadeIn' => 'fadeIn',
                            'fadeInDown' => 'fadeInDown',
                            'fadeInLeft' => 'fadeInLeft',
                            'fadeInRight' => 'fadeInRight',
                            'fadeInUp' => 'fadeInUp',
                            'flip' => 'flip',
                            'flipInX' => 'flipInX',
                            'flipInY' => 'flipInY',
                            'lightSpeedIn' => 'lightSpeedIn',
                            'rotateIn' => 'rotateIn',
                            'rotateInDownLeft' => 'rotateInDownLeft',
                            'rotateInDownRight' => 'rotateInDownRight',
                            'rotateInUpLeft' => 'rotateInUpLeft',
                            'rotateInUpRight' => 'rotateInUpRight',
                            'rollIn' => 'rollIn',
                            'zoomInDown' => 'zoomInDown',
                            'zoomInLeft' => 'zoomInLeft',
                            'zoomInRight' => 'zoomInRight',
                            'zoomInUp' => 'zoomInUp',
                        ),
                        'default_value' => '',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_53670226ab50f',
                        'label' => 'Video Link',
                        'name' => 'video_link',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                    array (
                        'key' => 'field_536701e5ab50c',
                        'label' => 'Accordion Info',
                        'name' => 'accordion_info',
                        'type' => 'repeater',
                        'column_width' => '',
                        'sub_fields' => array (
                            array (
                                'key' => 'field_536701e5ab512',
                                'label' => 'Title Accordion [Optional]',
                                'name' => 'title_acc',
                                'type' => 'text',
                                'column_width' => '',
                                'default_value' => '',
                                'placeholder' => '',
                                'prepend' => '',
                                'append' => '',
                                'formatting' => 'html',
                                'maxlength' => '',
                            ),
                            array (
                                'key' => 'field_53670209ab50d',
                                'label' => 'Title [Optional]',
                                'name' => 'title',
                                'type' => 'text',
                                'column_width' => '',
                                'default_value' => '',
                                'placeholder' => '',
                                'prepend' => '',
                                'append' => '',
                                'formatting' => 'html',
                                'maxlength' => '',
                            ),
                            array (
                                'key' => 'field_53670210ab50e',
                                'label' => 'Desc [Optional]',
                                'name' => 'desc',
                                'placeholder' => '',
                                'type' => 'wysiwyg',
                                'column_width' => '',
                                'default_value' => '',
                                'toolbar' => 'full',
                                'media_upload' => 'yes',
                            ),
                            array (
                                'key' => 'field_536701e5ab50f',
                                'label' => 'Vignette [Optional]',
                                'name' => 'vignette',
                                'type' => 'repeater',
                                'column_width' => '',
                                'sub_fields' => array (
                                    array (
                                        'key' => 'field_53670209ab510',
                                        'label' => 'Value',
                                        'name' => 'value',
                                        'type' => 'text',
                                        'column_width' => '',
                                        'default_value' => '',
                                        'placeholder' => '',
                                        'prepend' => '',
                                        'append' => '',
                                        'formatting' => 'html',
                                        'maxlength' => '',
                                    ),    
                                ),
                                'row_min' => '',
                                'row_limit' => '',
                                'layout' => 'table',
                                'button_label' => 'Add Row',
                            ),
                        ),
                        'row_min' => 1,
                        'row_limit' => '',
                        'layout' => 'row',
                        'button_label' => 'Add Row',
                    ),
                ),
                'row_min' => 1,
                'row_limit' => '',
                'layout' => 'row',
                'button_label' => 'Add Row',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'page',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-blog.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-whmcs.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-sidebar.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'default',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'discussion',
                2 => 'comments',
                3 => 'revisions',
                4 => 'categories',
                5 => 'tags',
            ),
        ),
        'menu_order' => 0,
    ));
    //acf_add-facility-zone
    register_field_group(array (
        'id' => 'acf_add-facility-zone',
        'title' => 'Add Facility Zone',
        'fields' => array (
            array (
                'key' => 'field_5366f9ef9b4af',
                'label' => 'Repeat Facility Zone',
                'name' => 'rpt-add-facility-zone',
                'type' => 'repeater',
                'sub_fields' => array (
                    array (
                        'key' => 'field_5366fa119b4b0',
                        'label' => 'Position Zone',
                        'name' => 'weight_add-facility-zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => 0,
                        'placeholder' => 'Determines the order of the zones (Integer)',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => 2,
                    ),
                    array (
                        'key' => 'field_5382835a88d56',
                        'label' => 'Background Style Zone',
                        'name' => 'back',
                        'type' => 'select',
                        'choices' => array (
                            1 => 'Highlighted',
                            2 => 'Color',
                            3 => 'Image',
                            4 => 'Video',
                            5 => 'Skin Base',
                        ),
                        'default_value' => '2',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5382834t88d57',
                        'label' => 'Background Color',
                        'name' => 'color_bg',
                        'type' => 'color_picker',
                        'default_value' => '',
                    ),
                    array (
                        'key' => 'field_53502b46fr410',
                        'label' => 'Background Image Zone',
                        'name' => 'image_bg',
                        'type' => 'image',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b4gu4b10',
                        'label' => 'Background Video Zone',
                        'name' => 'video_bg',
                        'type' => 'file',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'full',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b43k39c7',
                        'label' => 'Animation Zone',
                        'name' => 'animation_zone',
                        'type' => 'select',
                        'choices' => array (
                            '' => 'No Animation',
                            'bounceIn' => 'bounceIn',
                            'bounceInDown' => 'bounceInDown',
                            'bounceInLeft' => 'bounceInLeft',
                            'bounceInRight' => 'bounceInRight',
                            'bounceInUp' => 'bounceInUp',
                            'fadeIn' => 'fadeIn',
                            'fadeInDown' => 'fadeInDown',
                            'fadeInLeft' => 'fadeInLeft',
                            'fadeInRight' => 'fadeInRight',
                            'fadeInUp' => 'fadeInUp',
                            'flip' => 'flip',
                            'flipInX' => 'flipInX',
                            'flipInY' => 'flipInY',
                            'lightSpeedIn' => 'lightSpeedIn',
                            'rotateIn' => 'rotateIn',
                            'rotateInDownLeft' => 'rotateInDownLeft',
                            'rotateInDownRight' => 'rotateInDownRight',
                            'rotateInUpLeft' => 'rotateInUpLeft',
                            'rotateInUpRight' => 'rotateInUpRight',
                            'rollIn' => 'rollIn',
                            'zoomInDown' => 'zoomInDown',
                            'zoomInLeft' => 'zoomInLeft',
                            'zoomInRight' => 'zoomInRight',
                            'zoomInUp' => 'zoomInUp',
                        ),
                        'default_value' => '',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5366fa2e9b4b1',
                        'label' => 'Title Zone',
                        'name' => 'title_zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                    array (
                        'key' => 'field_5366fa379b4b2',
                        'label' => 'Facility to show',
                        'name' => 'facility_show',
                        'type' => 'post_object',
                        'column_width' => '',
                        'post_type' => array (
                            0 => 'facility',
                        ),
                        'taxonomy' => array (
                            0 => 'all',
                        ),
                        'allow_null' => 0,
                        'multiple' => 1,
                    ),
                ),
                'row_min' => 1,
                'row_limit' => '',
                'layout' => 'row',
                'button_label' => 'Add Row',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'page',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-blog.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-whmcs.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-sidebar.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
            
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'default',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'discussion',
                2 => 'comments',
                3 => 'revisions',
                4 => 'categories',
                5 => 'tags',
            ),
        ),
        'menu_order' => 0,
    ));
    //acf_contact-zone
    register_field_group(array (
        'id' => 'acf_contact-zone',
        'title' => 'Contact Zone',
        'fields' => array (
            array (
                'key' => 'field_533dcf1d39552',
                'label' => 'Repeat Contact Zone',
                'name' => 'rpt-contact-zone',
                'type' => 'repeater',
                'sub_fields' => array(
                    array (
                        'key' => 'field_533dcf1d39553',
                        'label' => 'Position Zone',
                        'name' => 'weight_contact-zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => 0,
                        'placeholder' => 'Determines the order of the zones (Integer)',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => 2,
                    ),
                    array (
                        'key' => 'field_5382835a88d58',
                        'label' => 'Background Style Zone',
                        'name' => 'back',
                        'type' => 'select',
                        'choices' => array (
                            1 => 'Highlighted',
                            2 => 'Color',
                            3 => 'Image',
                            4 => 'Video',
                            5 => 'Skin Base',
                        ),
                        'default_value' => '2',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5382835a88d59',
                        'label' => 'Background Color Zone',
                        'name' => 'color_bg',
                        'type' => 'color_picker',
                        'default_value' => '',
                    ),
                    array (
                        'key' => 'field_53502b464lou3',
                        'label' => 'Background Image Zone',
                        'name' => 'image_bg',
                        'type' => 'image',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b434ke6n',
                        'label' => 'Background Video Zone',
                        'name' => 'video_bg',
                        'type' => 'file',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b43no6t2',
                        'label' => 'Animation Zone',
                        'name' => 'animation_zone',
                        'type' => 'select',
                        'choices' => array (
                            '' => 'No Animation',
                            'bounceIn' => 'bounceIn',
                            'bounceInDown' => 'bounceInDown',
                            'bounceInLeft' => 'bounceInLeft',
                            'bounceInRight' => 'bounceInRight',
                            'bounceInUp' => 'bounceInUp',
                            'fadeIn' => 'fadeIn',
                            'fadeInDown' => 'fadeInDown',
                            'fadeInLeft' => 'fadeInLeft',
                            'fadeInRight' => 'fadeInRight',
                            'fadeInUp' => 'fadeInUp',
                            'flip' => 'flip',
                            'flipInX' => 'flipInX',
                            'flipInY' => 'flipInY',
                            'lightSpeedIn' => 'lightSpeedIn',
                            'rotateIn' => 'rotateIn',
                            'rotateInDownLeft' => 'rotateInDownLeft',
                            'rotateInDownRight' => 'rotateInDownRight',
                            'rotateInUpLeft' => 'rotateInUpLeft',
                            'rotateInUpRight' => 'rotateInUpRight',
                            'rollIn' => 'rollIn',
                            'zoomInDown' => 'zoomInDown',
                            'zoomInLeft' => 'zoomInLeft',
                            'zoomInRight' => 'zoomInRight',
                            'zoomInUp' => 'zoomInUp',
                        ),
                        'default_value' => '',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_533dcf1d3954f',
                        'label' => 'Form Title',
                        'name' => 'form_title',
                        'type' => 'text',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                    array (
                        'key' => 'field_533dcf1d39550',
                        'label' => 'Map Name (shortcode)',
                        'name' => 'map_name',
                        'type' => 'wysiwyg',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                    array (
                        'key' => 'field_533dcf1d39551',
                        'label' => 'Form Id (shrotcode)',
                        'name' => 'form_id',
                        'type' => 'wysiwyg',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                ),
                'row_min' => 1,
                'row_limit' => '',
                'layout' => 'row',
                'button_label' => 'Add Row',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'page',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-whmcs.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-blog.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-sidebar.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'default',
            'hide_on_screen' => array (

                1 => 'discussion',
                2 => 'comments',
                3 => 'revisions',
                4 => 'categories',
                5 => 'tags',
            ),
        ),
        'menu_order' => 0,
    ));
    //acf_add-features-zone
    register_field_group(array (
        'id' => 'acf_add-features-zone',
        'title' => 'Add Features Zone',
        'fields' => array (
            array (
                'key' => 'field_5366f5614dbf8',
                'label' => 'Repeat features',
                'name' => 'rpt-add-features-zone',
                'type' => 'repeater',
                'sub_fields' => array (
                    array (
                        'key' => 'field_5366f5794dbf9',
                        'label' => 'Position Zone',
                        'name' => 'weight_add-features-zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => 0,
                        'placeholder' => 'Determines the order of the zones (Integer)',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => 2,
                    ),
                    array (
                        'key' => 'field_5382835a88d5a',
                        'label' => 'Background Style Zone',
                        'name' => 'back',
                        'type' => 'select',
                        'choices' => array (
                            1 => 'Highlighted',
                            2 => 'Color',
                            3 => 'Image',
                            4 => 'Video',
                            5 => 'Skin Base',
                        ),
                        'default_value' => '2',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5382835a88sw2',
                        'label' => 'Background Color',
                        'name' => 'color_bg',
                        'type' => 'color_picker',
                        'default_value' => ' ',
                    ),
                    array (
                        'key' => 'field_53502b464csw4',
                        'label' => 'Background Image Zone',
                        'name' => 'image_bg',
                        'type' => 'image',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b4349sw6',
                        'label' => 'Background Video Zone',
                        'name' => 'video_bg',
                        'type' => 'file',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'full',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b434n7d3',
                        'label' => 'Animation Zone',
                        'name' => 'animation_zone',
                        'type' => 'select',
                        'choices' => array (
                            '' => 'No Animation',
                            'bounceIn' => 'bounceIn',
                            'bounceInDown' => 'bounceInDown',
                            'bounceInLeft' => 'bounceInLeft',
                            'bounceInRight' => 'bounceInRight',
                            'bounceInUp' => 'bounceInUp',
                            'fadeIn' => 'fadeIn',
                            'fadeInDown' => 'fadeInDown',
                            'fadeInLeft' => 'fadeInLeft',
                            'fadeInRight' => 'fadeInRight',
                            'fadeInUp' => 'fadeInUp',
                            'flip' => 'flip',
                            'flipInX' => 'flipInX',
                            'flipInY' => 'flipInY',
                            'lightSpeedIn' => 'lightSpeedIn',
                            'rotateIn' => 'rotateIn',
                            'rotateInDownLeft' => 'rotateInDownLeft',
                            'rotateInDownRight' => 'rotateInDownRight',
                            'rotateInUpLeft' => 'rotateInUpLeft',
                            'rotateInUpRight' => 'rotateInUpRight',
                            'rollIn' => 'rollIn',
                            'zoomInDown' => 'zoomInDown',
                            'zoomInLeft' => 'zoomInLeft',
                            'zoomInRight' => 'zoomInRight',
                            'zoomInUp' => 'zoomInUp',
                        ),
                        'default_value' => '',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5366f59a4dbfb',
                        'label' => 'Title',
                        'name' => 'title_zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                    array (
                        'key' => 'field_5366f59a4dbfa',
                        'label' => 'Features to Show',
                        'name' => 'features_to_show',
                        'type' => 'post_object',
                        'column_width' => '',
                        'post_type' => array (
                            0 => 'feature',
                        ),
                        'taxonomy' => array (
                            0 => 'all',
                        ),
                        'allow_null' => 0,
                        'multiple' => 1,
                    ),
                ),
                'row_min' => 1,
                'row_limit' => '',
                'layout' => 'row',
                'button_label' => 'Add Row',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'page',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-blog.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-whmcs.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-sidebar.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'default',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'discussion',
                2 => 'comments',
                3 => 'revisions',
                4 => 'categories',
                5 => 'tags',
            ),
        ),
        'menu_order' => 0,
    ));
    //acf_add-sponsor-zone
    register_field_group(array (
        'id' => 'acf_add-sponsor-zone',
        'title' => 'Add Sponsor Zone',
        'fields' => array (
            array (
                'key' => 'field_5366f5614dbfb',
                'label' => 'Repeat Sponsor',
                'name' => 'rpt-add-sponsor-zone',
                'type' => 'repeater',
                'sub_fields' => array (
                    array (
                        'key' => 'field_5366f5794dbfc',
                        'label' => 'Position Zone',
                        'name' => 'weight_add-sponsor-zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => 0,
                        'placeholder' => 'Determines the order of the zones (Integer)',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => 2,
                    ),
                    array (
                        'key' => 'field_5382835a88d5c',
                        'label' => 'Background Style Zone',
                        'name' => 'back',
                        'type' => 'select',
                        'choices' => array (
                            1 => 'Highlighted',
                            2 => 'Color',
                            3 => 'Image',
                            4 => 'Video',
                            5 => 'Skin Base',
                        ),
                        'default_value' => '2',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5382835a88d5d',
                        'label' => 'Background Color Zone',
                        'name' => 'color_bg',
                        'type' => 'color_picker',
                        'default_value' => '#f0f0f0',
                    ),
                    array (
                        'key' => 'field_53502b464d4t6',
                        'label' => 'Background Image Zone',
                        'name' => 'image_bg',
                        'type' => 'image',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b434crt6',
                        'label' => 'Background Video Zone',
                        'name' => 'video_bg',
                        'type' => 'file',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'full',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b434d8w1',
                        'label' => 'Animation Zone',
                        'name' => 'animation_zone',
                        'type' => 'select',
                        'choices' => array (
                            '' => 'No Animation',
                            'bounceIn' => 'bounceIn',
                            'bounceInDown' => 'bounceInDown',
                            'bounceInLeft' => 'bounceInLeft',
                            'bounceInRight' => 'bounceInRight',
                            'bounceInUp' => 'bounceInUp',
                            'fadeIn' => 'fadeIn',
                            'fadeInDown' => 'fadeInDown',
                            'fadeInLeft' => 'fadeInLeft',
                            'fadeInRight' => 'fadeInRight',
                            'fadeInUp' => 'fadeInUp',
                            'flip' => 'flip',
                            'flipInX' => 'flipInX',
                            'flipInY' => 'flipInY',
                            'lightSpeedIn' => 'lightSpeedIn',
                            'rotateIn' => 'rotateIn',
                            'rotateInDownLeft' => 'rotateInDownLeft',
                            'rotateInDownRight' => 'rotateInDownRight',
                            'rotateInUpLeft' => 'rotateInUpLeft',
                            'rotateInUpRight' => 'rotateInUpRight',
                            'rollIn' => 'rollIn',
                            'zoomInDown' => 'zoomInDown',
                            'zoomInLeft' => 'zoomInLeft',
                            'zoomInRight' => 'zoomInRight',
                            'zoomInUp' => 'zoomInUp',
                        ),
                        'default_value' => '',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5366f59a4dbfd',
                        'label' => 'Sponsors to Show',
                        'name' => 'sponsors_to_show',
                        'type' => 'post_object',
                        'column_width' => '',
                        'post_type' => array (
                            0 => 'sponsor',
                        ),
                        'taxonomy' => array (
                            0 => 'all',
                        ),
                        'allow_null' => 0,
                        'multiple' => 1,
                    ),
                ),
                'row_min' => 1,
                'row_limit' => '',
                'layout' => 'row',
                'button_label' => 'Add Row',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'page',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'default',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'discussion',
                2 => 'comments',
                3 => 'revisions',
                4 => 'categories',
                5 => 'tags',
            ),
        ),
        'menu_order' => 0,
    ));
    //acf_add-plan-zone
    register_field_group(array (
        'id' => 'acf_add-plan-zone',
        'title' => 'Add Plan Zone',
        'fields' => array (
            array (
                'key' => 'field_5366fbe485d82',
                'label' => 'Repeat Plan Zone',
                'name' => 'rpt-add-plan-zone',
                'type' => 'repeater',
                'sub_fields' => array (
                    array (
                        'key' => 'field_5366fc0085d83',
                        'label' => 'Position Zone',
                        'name' => 'weight_add-plan-zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => 0,
                        'placeholder' => 'Determines the order of the zones (Integer)',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => 2,
                    ),
                    array (
                        'key' => 'field_5382835a88d5e',
                        'label' => 'Background Style',
                        'name' => 'back',
                        'type' => 'select',
                        'choices' => array (
                            1 => 'Highlighted',
                            2 => 'Color',
                            3 => 'Image',
                            4 => 'Video',
                            5 => 'Skin Base',
                        ),
                        'default_value' => '2',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5382835a88d5f',
                        'label' => 'Background Color',
                        'name' => 'color_bg',
                        'type' => 'color_picker',
                        'default_value' => '',
                    ),
                    array (
                        'key' => 'field_53502b464cz23',
                        'label' => 'Background Image Zone',
                        'name' => 'image_bg',
                        'type' => 'image',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b4349x54',
                        'label' => 'Background Video Zone',
                        'name' => 'video_bg',
                        'type' => 'file',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b43du3m6',
                        'label' => 'Animation Zone',
                        'name' => 'animation_zone',
                        'type' => 'select',
                        'choices' => array (
                            '' => 'No Animation',
                            'bounceIn' => 'bounceIn',
                            'bounceInDown' => 'bounceInDown',
                            'bounceInLeft' => 'bounceInLeft',
                            'bounceInRight' => 'bounceInRight',
                            'bounceInUp' => 'bounceInUp',
                            'fadeIn' => 'fadeIn',
                            'fadeInDown' => 'fadeInDown',
                            'fadeInLeft' => 'fadeInLeft',
                            'fadeInRight' => 'fadeInRight',
                            'fadeInUp' => 'fadeInUp',
                            'flip' => 'flip',
                            'flipInX' => 'flipInX',
                            'flipInY' => 'flipInY',
                            'lightSpeedIn' => 'lightSpeedIn',
                            'rotateIn' => 'rotateIn',
                            'rotateInDownLeft' => 'rotateInDownLeft',
                            'rotateInDownRight' => 'rotateInDownRight',
                            'rotateInUpLeft' => 'rotateInUpLeft',
                            'rotateInUpRight' => 'rotateInUpRight',
                            'rollIn' => 'rollIn',
                            'zoomInDown' => 'zoomInDown',
                            'zoomInLeft' => 'zoomInLeft',
                            'zoomInRight' => 'zoomInRight',
                            'zoomInUp' => 'zoomInUp',
                        ),
                        'default_value' => '',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5366fc1d85d84',
                        'label' => 'Title Zone',
                        'name' => 'title_zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                    array (
                        'key' => 'field_5366fc2585d85',
                        'label' => 'Plan to show',
                        'name' => 'plan_show',
                        'type' => 'post_object',
                        'column_width' => '',
                        'post_type' => array (
                            0 => 'plans',
                        ),
                        'taxonomy' => array (
                            0 => 'all',
                        ),
                        'allow_null' => 0,
                        'multiple' => 1,
                    ),
                    array (
                        'key' => 'field_5382835a2hy8l',
                        'label' => 'Plans for row',
                        'name' => 'plan_row',
                        'type' => 'select',
                        'choices' => array (
                            1 => 'One',
                            2 => 'Two',
                            3 => 'Three',
                            4 => 'Four',
                            5 => 'Six',
                        ),
                        'default_value' => '4',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5366fc5385d86',
                        'label' => 'Show Resalt Plan',
                        'name' => 'show_resalt_plan',
                        'type' => 'checkbox',
                        'column_width' => '',
                        'choices' => array (
                            1 => 'Show Resalt Plans',
                        ),
                        'default_value' => '1 : Show Resalt Plans',
                        'layout' => 'vertical',
                    ),
                ),
                'row_min' => 1,
                'row_limit' => '',
                'layout' => 'row',
                'button_label' => 'Add Row',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'page',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-blog.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-whmcs.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-sidebar.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'default',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'discussion',
                2 => 'comments',
                3 => 'revisions',
                4 => 'categories',
                5 => 'tags',
            ),
        ),
        'menu_order' => 0,
    ));
    //acf_add-stories-zone
    register_field_group(array (
        'id' => 'acf_add-stories-zone',
        'title' => 'Add Stories Zone',
        'fields' => array (
            array (
                'key' => 'field_5366f659cce49',
                'label' => 'Repeat Story Zone',
                'name' => 'rpt-add-stories-zone',
                'type' => 'repeater',
                'sub_fields' => array (
                    array (
                        'key' => 'field_5366f67ecce4a',
                        'label' => 'Position Zone',
                        'name' => 'weight_add-stories-zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => 0,
                        'placeholder' => 'Determines the order of the zones (Integer)',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => 2,
                    ),
                    array (
                        'key' => 'field_5382835a88d60',
                        'label' => 'Background Style Zone',
                        'name' => 'back',
                        'type' => 'select',
                        'choices' => array (
                            1 => 'Highlighted',
                            2 => 'Color',
                            3 => 'Image',
                            4 => 'Video',
                            5 => 'Skin Base',
                        ),
                        'default_value' => '2',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5382835a88d61',
                        'label' => 'Background Color Zone',
                        'name' => 'color_bg',
                        'type' => 'color_picker',
                        'default_value' => '',
                    ), 
                    array (
                        'key' => 'field_53502b464ca13',
                        'label' => 'Background Image Zone',
                        'name' => 'image_bg',
                        'type' => 'image',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b4349zr4',
                        'label' => 'Background Video Zone',
                        'name' => 'video_bg',
                        'type' => 'file',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b43a2l39',
                        'label' => 'Animation Zone',
                        'name' => 'animation_zone',
                        'type' => 'select',
                        'choices' => array (
                            '' => 'No Animation',
                            'bounceIn' => 'bounceIn',
                            'bounceInDown' => 'bounceInDown',
                            'bounceInLeft' => 'bounceInLeft',
                            'bounceInRight' => 'bounceInRight',
                            'bounceInUp' => 'bounceInUp',
                            'fadeIn' => 'fadeIn',
                            'fadeInDown' => 'fadeInDown',
                            'fadeInLeft' => 'fadeInLeft',
                            'fadeInRight' => 'fadeInRight',
                            'fadeInUp' => 'fadeInUp',
                            'flip' => 'flip',
                            'flipInX' => 'flipInX',
                            'flipInY' => 'flipInY',
                            'lightSpeedIn' => 'lightSpeedIn',
                            'rotateIn' => 'rotateIn',
                            'rotateInDownLeft' => 'rotateInDownLeft',
                            'rotateInDownRight' => 'rotateInDownRight',
                            'rotateInUpLeft' => 'rotateInUpLeft',
                            'rotateInUpRight' => 'rotateInUpRight',
                            'rollIn' => 'rollIn',
                            'zoomInDown' => 'zoomInDown',
                            'zoomInLeft' => 'zoomInLeft',
                            'zoomInRight' => 'zoomInRight',
                            'zoomInUp' => 'zoomInUp',
                        ),
                        'default_value' => '',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5366f694cce4c',
                        'label' => 'Title Zone',
                        'name' => 'title_zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                    array (
                        'key' => 'field_5366f694cce4b',
                        'label' => 'Stories to show',
                        'name' => 'stories_show',
                        'type' => 'post_object',
                        'column_width' => '',
                        'post_type' => array (
                            0 => 'storie',
                        ),
                        'taxonomy' => array (
                            0 => 'all',
                        ),
                        'allow_null' => 0,
                        'multiple' => 1,
                    ),
                ),
                'row_min' => 1,
                'row_limit' => '',
                'layout' => 'row',
                'button_label' => 'Add Row',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'page',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-blog.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-whmcs.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-sidebar.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'default',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'discussion',
                2 => 'comments',
                3 => 'revisions',
                4 => 'categories',
                5 => 'tags',
            ),
        ),
        'menu_order' => 0,
    ));
    //acf_add-team-zone
    register_field_group(array (
        'id' => 'acf_add-team-zone',
        'title' => 'Add Team Zone',
        'fields' => array (
            array (
                'key' => 'field_5366f81344132',
                'label' => 'Repeat Team Zone',
                'name' => 'rpt-add-team-zone',
                'type' => 'repeater',
                'sub_fields' => array (
                    array (
                        'key' => 'field_5366f82c44133',
                        'label' => 'Position Zone',
                        'name' => 'weight_add-team-zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => 'Determines the order of the zones (Integer)',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => 2,
                    ),
                    array (
                        'key' => 'field_5382835a88d62',
                        'label' => 'Background Style Zone',
                        'name' => 'back',
                        'type' => 'select',
                        'choices' => array (
                            1 => 'Highlighted',
                            2 => 'Color',
                            3 => 'Image',
                            4 => 'Video',
                            5 => 'Skin Base',
                        ),
                        'default_value' => '2',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5382835a88d63',
                        'label' => 'Background Color Zone',
                        'name' => 'color_bg',
                        'type' => 'color_picker',
                        'default_value' => ' ',
                    ),
                    array (
                        'key' => 'field_53502b464c95t',
                        'label' => 'Background Image Zone',
                        'name' => 'image_bg',
                        'type' => 'image',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b4349g43',
                        'label' => 'Background Video Zone',
                        'name' => 'video_bg',
                        'type' => 'file',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b43kc3i7',
                        'label' => 'Animation Zone',
                        'name' => 'animation_zone',
                        'type' => 'select',
                        'choices' => array (
                            '' => 'No Animation',
                            'bounceIn' => 'bounceIn',
                            'bounceInDown' => 'bounceInDown',
                            'bounceInLeft' => 'bounceInLeft',
                            'bounceInRight' => 'bounceInRight',
                            'bounceInUp' => 'bounceInUp',
                            'fadeIn' => 'fadeIn',
                            'fadeInDown' => 'fadeInDown',
                            'fadeInLeft' => 'fadeInLeft',
                            'fadeInRight' => 'fadeInRight',
                            'fadeInUp' => 'fadeInUp',
                            'flip' => 'flip',
                            'flipInX' => 'flipInX',
                            'flipInY' => 'flipInY',
                            'lightSpeedIn' => 'lightSpeedIn',
                            'rotateIn' => 'rotateIn',
                            'rotateInDownLeft' => 'rotateInDownLeft',
                            'rotateInDownRight' => 'rotateInDownRight',
                            'rotateInUpLeft' => 'rotateInUpLeft',
                            'rotateInUpRight' => 'rotateInUpRight',
                            'rollIn' => 'rollIn',
                            'zoomInDown' => 'zoomInDown',
                            'zoomInLeft' => 'zoomInLeft',
                            'zoomInRight' => 'zoomInRight',
                            'zoomInUp' => 'zoomInUp',
                        ),
                        'default_value' => '',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5366f84e44135',
                        'label' => 'Title Zone',
                        'name' => 'title_zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                    array (
                        'key' => 'field_5366f84e44134',
                        'label' => 'Team member to show',
                        'name' => 'team_show',
                        'type' => 'post_object',
                        'column_width' => '',
                        'post_type' => array (
                            0 => 'team',
                        ),
                        'taxonomy' => array (
                            0 => 'all',
                        ),
                        'allow_null' => 0,
                        'multiple' => 1,
                    ),
                    array (
                        'key' => 'field_5382835ap8n51',
                        'label' => 'Members for row',
                        'name' => 'team_row',
                        'type' => 'select',
                        'choices' => array (
                            1 => 'One',
                            2 => 'Two',
                            3 => 'Three',
                            4 => 'Four',
                            5 => 'Six',
                        ),
                        'default_value' => '4',
                        'layout' => 'horizontal',
                    ),
                ),
                'row_min' => 1,
                'row_limit' => '',
                'layout' => 'row',
                'button_label' => 'Add Row',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'page',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-blog.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-whmcs.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-sidebar.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'default',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'discussion',
                2 => 'comments',
                3 => 'revisions',
                4 => 'categories',
                5 => 'tags',
            ),
        ),
        'menu_order' => 0,
    ));
    //acf_alternative-comun-zone
    register_field_group(array (
        'id' => 'acf_alternative-comun-zone',
        'title' => 'Alternative Comun Zone',
        'fields' => array (
            array (
                'key' => 'field_5366fe5e8642c',
                'label' => 'Repeat Alternative Comun Zone',
                'name' => 'rpt-alternative-comun-zone',
                'type' => 'repeater',
                'sub_fields' => array (
                    array (
                        'key' => 'field_5366fe948642d',
                        'label' => 'Position Zone',
                        'name' => 'weight_alternative-comun-zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => 0,
                        'placeholder' => 'Determines the order of the zones (Integer)',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => 2,
                    ),
                    array (
                        'key' => 'field_5382835a88d64',
                        'label' => 'Background Style Zone',
                        'name' => 'back',
                        'type' => 'select',
                        'choices' => array (
                            1 => 'Highlighted',
                            2 => 'Color',
                            3 => 'Image',
                            4 => 'Video',
                            5 => 'Skin Base',
                        ),
                        'default_value' => '2',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5382835a88d65',
                        'label' => 'Background Color Zone',
                        'name' => 'color_bg',
                        'type' => 'color_picker',
                        'default_value' => '',
                    ),
                    array (
                        'key' => 'field_53502b464lu64',
                        'label' => 'Background Image Zone',
                        'name' => 'image_bg',
                        'type' => 'image',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b4349e4t',
                        'label' => 'Background Video Zone',
                        'name' => 'video_bg',
                        'type' => 'file',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'full',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b43q2a8g',
                        'label' => 'Animation Zone',
                        'name' => 'animation_zone',
                        'type' => 'select',
                        'choices' => array (
                            '' => 'No Animation',
                            'bounceIn' => 'bounceIn',
                            'bounceInDown' => 'bounceInDown',
                            'bounceInLeft' => 'bounceInLeft',
                            'bounceInRight' => 'bounceInRight',
                            'bounceInUp' => 'bounceInUp',
                            'fadeIn' => 'fadeIn',
                            'fadeInDown' => 'fadeInDown',
                            'fadeInLeft' => 'fadeInLeft',
                            'fadeInRight' => 'fadeInRight',
                            'fadeInUp' => 'fadeInUp',
                            'flip' => 'flip',
                            'flipInX' => 'flipInX',
                            'flipInY' => 'flipInY',
                            'lightSpeedIn' => 'lightSpeedIn',
                            'rotateIn' => 'rotateIn',
                            'rotateInDownLeft' => 'rotateInDownLeft',
                            'rotateInDownRight' => 'rotateInDownRight',
                            'rotateInUpLeft' => 'rotateInUpLeft',
                            'rotateInUpRight' => 'rotateInUpRight',
                            'rollIn' => 'rollIn',
                            'zoomInDown' => 'zoomInDown',
                            'zoomInLeft' => 'zoomInLeft',
                            'zoomInRight' => 'zoomInRight',
                            'zoomInUp' => 'zoomInUp',
                        ),
                        'default_value' => '',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5366feb08642e',
                        'label' => 'Title',
                        'name' => 'title',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                    array (
                        'key' => 'field_5366feca8642f',
                        'label' => 'Subtitle',
                        'name' => 'subtitle',
                        'type' => 'wysiwyg',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'maxlength' => '',
                        'rows' => '',
                        'formatting' => 'br',
                    ),
                    array (
                        'key' => 'field_5366fed486430',
                        'label' => 'Description',
                        'name' => 'description',
                        'type' => 'wysiwyg',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'maxlength' => '',
                        'rows' => '',
                        'formatting' => 'br',
                    ),
                    array (
                        'key' => 'field_5366fedd86431',
                        'label' => 'Image',
                        'name' => 'image',
                        'type' => 'image',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                  	array (
                        'key' => 'field_5366feb03ujm8',
                        'label' => 'Title Alt Image',
                        'name' => 'alt_image',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                    array (
                        'key' => 'field_5366feeb86432',
                        'label' => 'Image Position',
                        'name' => 'pos_img',
                        'type' => 'select',
                        'column_width' => '',
                        'choices' => array (
                            1 => 'Right',
                            2 => 'Left',
                        ),
                        'other_choice' => 0,
                        'save_other_choice' => 0,
                        'default_value' => 1,
                        'layout' => 'horizontal',
                    ),
                ),
                'row_min' => 1,
                'row_limit' => '',
                'layout' => 'row',
                'button_label' => 'Add Row',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'page',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-blog.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-whmcs.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-sidebar.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'default',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'discussion',
                2 => 'comments',
                3 => 'revisions',
                4 => 'categories',
                5 => 'tags',
            ),
        ),
        'menu_order' => 0,
    ));
    //acf_comun-zone
    register_field_group(array (
        'id' => 'acf_comun-zone',
        'title' => 'Comun Zone',
        'fields' => array (
            array (
                'key' => 'field_5366fcd9e1aa6',
                'label' => 'Repeat Comun Zone',
                'name' => 'rpt-comun-zone',
                'type' => 'repeater',
                'sub_fields' => array (
                    array (
                        'key' => 'field_5366fcf4e1aa7',
                        'label' => 'Position Zone',
                        'name' => 'weight_comun-zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => 0,
                        'placeholder' => 'Determines the order of the zones (Integer)',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => 2,
                    ),
                    array (
                        'key' => 'field_5382835a88d51',
                        'label' => 'Background Style Zone',
                        'name' => 'back',
                        'type' => 'select',
                        'choices' => array (
                            1 => 'Highlighted',
                            2 => 'Color',
                            3 => 'Image',
                            4 => 'Video',
                            5 => 'Skin Base',
                        ),
                        'default_value' => '2',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5384bebecc7b4',
                        'label' => 'Background Color Zone',
                        'name' => 'color_bg',
                        'type' => 'color_picker',
                        'default_value' => '',
                    ),
                    array (
                        'key' => 'field_53502b464t54d',
                        'label' => 'Background Image Zone',
                        'name' => 'image_bg',
                        'type' => 'image',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b434hy65',
                        'label' => 'Background Video Zone',
                        'name' => 'video_bg',
                        'type' => 'file',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'full',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b43kr84x',
                        'label' => 'Animation Zone',
                        'name' => 'animation_zone',
                        'type' => 'select',
                        'choices' => array (
                            '' => 'No Animation',
                            'bounceIn' => 'bounceIn',
                            'bounceInDown' => 'bounceInDown',
                            'bounceInLeft' => 'bounceInLeft',
                            'bounceInRight' => 'bounceInRight',
                            'bounceInUp' => 'bounceInUp',
                            'fadeIn' => 'fadeIn',
                            'fadeInDown' => 'fadeInDown',
                            'fadeInLeft' => 'fadeInLeft',
                            'fadeInRight' => 'fadeInRight',
                            'fadeInUp' => 'fadeInUp',
                            'flip' => 'flip',
                            'flipInX' => 'flipInX',
                            'flipInY' => 'flipInY',
                            'lightSpeedIn' => 'lightSpeedIn',
                            'rotateIn' => 'rotateIn',
                            'rotateInDownLeft' => 'rotateInDownLeft',
                            'rotateInDownRight' => 'rotateInDownRight',
                            'rotateInUpLeft' => 'rotateInUpLeft',
                            'rotateInUpRight' => 'rotateInUpRight',
                            'rollIn' => 'rollIn',
                            'zoomInDown' => 'zoomInDown',
                            'zoomInLeft' => 'zoomInLeft',
                            'zoomInRight' => 'zoomInRight',
                            'zoomInUp' => 'zoomInUp',
                        ),
                        'default_value' => '',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5366fd1ee1aa8',
                        'label' => 'Title Zone',
                        'name' => 'title_zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                    array (
                        'key' => 'field_5366fd41e1aa9',
                        'label' => 'Title',
                        'name' => 'title',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                    array (
                        'key' => 'field_5366fd58e1aaa',
                        'label' => 'Description',
                        'name' => 'description',
                        'type' => 'textarea',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'maxlength' => '',
                        'rows' => '',
                        'formatting' => 'br',
                    ),
                    array (
                        'key' => 'field_5366fd66e1aab',
                        'label' => 'Image',
                        'name' => 'image',
                        'type' => 'image',
                        'column_width' => '',
                        'save_format' => 'object',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                  	array (
                        'key' => 'field_5366feb0fl92n',
                        'label' => 'Title Alt Image',
                        'name' => 'alt_image',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                    array (
                        'key' => 'field_5366fd6fe1aac',
                        'label' => 'Image Position',
                        'name' => 'position',
                        'type' => 'select',
                        'column_width' => '',
                        'choices' => array (
                            1 => 'Right',
                            2 => 'Left',
                        ),
                        'other_choice' => 0,
                        'save_other_choice' => 0,
                        'default_value' => 1,
                        'layout' => 'horizontal',
                    ),
                ),
                'row_min' => 1,
                'row_limit' => '',
                'layout' => 'row',
                'button_label' => 'Add Row',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'page',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-blog.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-whmcs.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-sidebar.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'default',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'discussion',
                2 => 'comments',
                3 => 'revisions',
                4 => 'categories',
                5 => 'tags',
            ),
        ),
        'menu_order' => 0,
    ));
    //acf_facility
    register_field_group(array (
        'id' => 'acf_facility',
        'title' => 'Facility',
        'fields' => array (
            array (
                'key' => 'field_5366far26195',
                'label' => 'Facility Position',
                'name' => 'weight',
                'type' => 'text',
                'default_value' => '',
                'placeholder' => 'Integer, determines the order of the Facility',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '2',
            ),
            array (
                'key' => 'field_5366f9c49802d',
                'label' => 'Title',
                'name' => 'title',
                'type' => 'text',
                'default_value' => '',
                'placeholder' => '',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '',
            ),
            array (
                'key' => 'field_5366fe11cc11f',
                'label' => 'Link',
                'name' => 'link',
                'type' => 'text',
                'column_width' => '',
                'default_value' => '',
                'placeholder' => '',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '',
            ),
          	array (
              'key' => 'field_53502b43pwyba',
              'label' => 'Target Link',
              'name' => 'target_facilitie',
              'type' => 'select',
              'choices' => array (
                '_self' => 'Self',
                '_blank' => 'Blank',
              ),
              'default_value' => 'Self',
              'layout' => 'horizontal',
            ),
            array (
                'key' => 'field_5366f8b39802c',
                'label' => 'Image',
                'name' => 'image',
                'type' => 'image',
                'save_format' => 'url',
                'preview_size' => 'thumbnail',
                'library' => 'all',
            ),
          	array (
              'key' => 'field_5366feb0nsu4b',
              'label' => 'Title Alt Image',
              'name' => 'alt_image',
              'type' => 'text',
              'column_width' => '',
              'default_value' => '',
              'placeholder' => '',
              'prepend' => '',
              'append' => '',
              'formatting' => 'html',
              'maxlength' => '',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'facility',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'no_box',
            'hide_on_screen' => array (
                0 => 'the_content',
                1 => 'custom_fields',
                2 => 'discussion',
                3 => 'comments',
                4 => 'revisions',
                5 => 'slug',
                6 => 'author',
                7 => 'format',
                8 => 'categories',
                9 => 'tags',
                10 => 'send-trackbacks',
            ),
        ),
        'menu_order' => 0,
    ));
    //acf_features
    register_field_group(array (
        'id' => 'acf_features',
        'title' => 'Features',
        'fields' => array (
            array (
                'key' => 'field_5366fa8c97275',
                'label' => 'Feature Position',
                'name' => 'weight',
                'type' => 'text',
                'default_value' => '',
                'placeholder' => 'Integer, determines the order of the features',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '2',
            ),
            array (
                'key' => 'field_5366f161fb051',
                'label' => 'Title',
                'name' => 'title',
                'type' => 'text',
                'column_width' => '',
                'default_value' => '',
                'placeholder' => '',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '',
            ),
            array (
                'key' => 'field_5366fe1r840ef',
                'label' => 'Link',
                'name' => 'link',
                'type' => 'text',
                'column_width' => '',
                'default_value' => '',
                'placeholder' => '',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '',
            ),
          	array (
              'key' => 'field_53502b43poiu2',
              'label' => 'Target Link',
              'name' => 'target_features',
              'type' => 'select',
              'choices' => array (
                '_self' => 'Self',
                '_blank' => 'Blank',
              ),
              'default_value' => 'Self',
              'layout' => 'horizontal',
            ),
            array (
                'key' => 'field_5366f16afb052',
                'label' => 'Subtitle',
                'name' => 'subtitle',
                'type' => 'text',
                'column_width' => '',
                'default_value' => '',
                'placeholder' => '',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '',
            ),
            array (
                'key' => 'field_5366f170fb053',
                'label' => 'Description',
                'name' => 'description',
                'type' => 'wysiwyg',
                'column_width' => '',
                'default_value' => '',
                'toolbar' => 'full',
                'media_upload' => 'yes',
            ),
            array (
                'key' => 'field_5366f17dfb054',
                'label' => 'Image',
                'name' => 'image',
                'type' => 'image',
                'column_width' => '',
                'save_format' => 'url',
                'preview_size' => 'thumbnail',
                'library' => 'all',
            ),
          	array (
              'key' => 'field_5366feb0o9n3b',
              'label' => 'Title Alt Image',
              'name' => 'alt_image',
              'type' => 'text',
              'column_width' => '',
              'default_value' => '',
              'placeholder' => '',
              'prepend' => '',
              'append' => '',
              'formatting' => 'html',
              'maxlength' => '',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'feature',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'no_box',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'discussion',
                2 => 'comments',
                3 => 'revisions',
                4 => 'categories',
                5 => 'tags',
                6 => 'the_content',
            ),
        ),
        'menu_order' => 0,
    ));
    //acf_location-zone
    register_field_group(array (
        'id' => 'acf_location-zone',
        'title' => 'Location Zone',
        'fields' => array (
            array (
                'key' => 'field_5366f503bb225',
                'label' => 'Repeat Location',
                'name' => 'rpt-location-zone',
                'type' => 'repeater',
                'sub_fields' => array(
                    array (
                        'key' => 'field_5366f503bb226',
                        'label' => 'Position Zone',
                        'name' => 'weight_location-zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => 0,
                        'placeholder' => 'Determines the order of the zones (Integer)',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => 2,
                    ),
                    array (
                        'key' => 'field_5382835a88d66',
                        'label' => 'Background Style Zone',
                        'name' => 'back',
                        'type' => 'select',
                        'choices' => array (
                            1 => 'Highlighted',
                            2 => 'Color',
                            3 => 'Image',
                            4 => 'Video',
                            5 => 'Skin Base',
                        ),
                        'default_value' => '2',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5382835a88d67',
                        'label' => 'Background Color Zone',
                        'name' => 'color_bg',
                        'type' => 'color_picker',
                        'default_value' => '',
                    ),
                    array (
                        'key' => 'field_53502b464dr41',
                        'label' => 'Background Image Zone',
                        'name' => 'image_bg',
                        'type' => 'image',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b434yt46',
                        'label' => 'Background Video Zone',
                        'name' => 'video_bg',
                        'type' => 'file',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b43n39f2',
                        'label' => 'Animation Zone',
                        'name' => 'animation_zone',
                        'type' => 'select',
                        'choices' => array (
                            '' => 'No Animation',
                            'bounceIn' => 'bounceIn',
                            'bounceInDown' => 'bounceInDown',
                            'bounceInLeft' => 'bounceInLeft',
                            'bounceInRight' => 'bounceInRight',
                            'bounceInUp' => 'bounceInUp',
                            'fadeIn' => 'fadeIn',
                            'fadeInDown' => 'fadeInDown',
                            'fadeInLeft' => 'fadeInLeft',
                            'fadeInRight' => 'fadeInRight',
                            'fadeInUp' => 'fadeInUp',
                            'flip' => 'flip',
                            'flipInX' => 'flipInX',
                            'flipInY' => 'flipInY',
                            'lightSpeedIn' => 'lightSpeedIn',
                            'rotateIn' => 'rotateIn',
                            'rotateInDownLeft' => 'rotateInDownLeft',
                            'rotateInDownRight' => 'rotateInDownRight',
                            'rotateInUpLeft' => 'rotateInUpLeft',
                            'rotateInUpRight' => 'rotateInUpRight',
                            'rollIn' => 'rollIn',
                            'zoomInDown' => 'zoomInDown',
                            'zoomInLeft' => 'zoomInLeft',
                            'zoomInRight' => 'zoomInRight',
                            'zoomInUp' => 'zoomInUp',
                        ),
                        'default_value' => '',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5366f503bb225',
                        'label' => 'Locations',
                        'name' => 'locations',
                        'type' => 'repeater',
                        'sub_fields' => array(
                            array (
                                'key' => 'field_5366f484bb21f',
                                'label' => 'Location Title',
                                'name' => 'title',
                                'type' => 'text',
                                'default_value' => '',
                                'placeholder' => '',
                                'prepend' => '',
                                'append' => '',
                                'formatting' => 'html',
                                'maxlength' => '',
                            ),
                            array (
                                'key' => 'field_5366f4aabb220',
                                'label' => 'Description',
                                'name' => 'description',
                                'type' => 'textarea',
                                'default_value' => '',
                                'placeholder' => '',
                                'maxlength' => '',
                                'rows' => '',
                                'formatting' => 'br',
                            ),
                            array (
                                'key' => 'field_5366f4b3bb221',
                                'label' => 'Images',
                                'name' => 'images',
                                'type' => 'image',
                                'save_format' => 'url',
                                'preview_size' => 'thumbnail',
                                'library' => 'all',
                            ),
                          	array (
                                'key' => 'field_5366feb09opsn',
                                'label' => 'Title Alt Image',
                                'name' => 'alt_image',
                                'type' => 'text',
                                'column_width' => '',
                                'default_value' => '',
                                'placeholder' => '',
                                'prepend' => '',
                                'append' => '',
                                'formatting' => 'html',
                                'maxlength' => '',
                            ),
                            array (
                                'key' => 'field_5366f503bb224',
                                'label' => 'info',
                                'name' => 'info',
                                'type' => 'repeater',
                                'sub_fields' => array (
                                    array (
                                        'key' => 'field_5366f515bb225',
                                        'label' => 'Value',
                                        'name' => 'value',
                                        'type' => 'text',
                                        'column_width' => '',
                                        'default_value' => '',
                                        'placeholder' => '',
                                        'prepend' => '',
                                        'append' => '',
                                        'formatting' => 'html',
                                        'maxlength' => '',
                                    ),
                                ),
                                'row_min' => 1,
                                'row_limit' => '',
                                'layout' => 'row',
                                'button_label' => 'Add Row',
                            ),
                        ),
                        'row_min' => 1,
                        'row_limit' => '',
                        'layout' => 'row',
                        'button_label' => 'Add Row',
                    ),
                ),
                'row_min' => 1,
                'row_limit' => '',
                'layout' => 'row',
                'button_label' => 'Add Row',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'page',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-blog.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-whmcs.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-sidebar.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'default',
            'hide_on_screen' => array (
                0 => 'the_content',
                1 => 'custom_fields',
                2 => 'discussion',
                3 => 'comments',
                4 => 'revisions',
                5 => 'slug',
                6 => 'author',
                7 => 'format',
                8 => 'featured_image',
                9 => 'categories',
                10 => 'tags',
                11 => 'send-trackbacks',
            ),
        ),
        'menu_order' => 0,
    ));
    //acf_plan
    register_field_group(array (
        'id' => 'acf_plan',
        'title' => 'Plan',
        'fields' => array (
            array (
                'key' => 'field_5366fa8c97195',
                'label' => 'Table Position',
                'name' => 'weight',
                'type' => 'text',
                'default_value' => '',
                'placeholder' => 'Integer, determines the order of the tables',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '2',
            ),
          	 array (
                'key' => 'field_52efac89ck8uq',
                'label' => 'Image Head (Optional)',
                'name' => 'image_head',
                'type' => 'image',
                'save_format' => 'url',
                'preview_size' => 'thumbnail',
                'library' => 'all',
            ),
          	array (
                'key' => 'field_5366feb0icndi',
                'label' => 'Title Alt Image',
                'name' => 'alt_image',
                'type' => 'text',
                'column_width' => '',
                'default_value' => 'Alt image',
                'placeholder' => '',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '',
            ),
          	array (
               'key' => 'field_53502b43fun3y',
               'label' => 'Position Image',
               'name' => 'image_head_position',
               'type' => 'select',
               'choices' => array (
                 '' => 'None',
                 '1' => 'To Position',
                 '2' => 'Bottom Position',
               ),
               'default_value' => '',
               'layout' => 'None',
             ),
            array (
                'key' => 'field_5366fa8c87891',
                'label' => 'Title',
                'name' => 'title',
                'type' => 'text',
                'default_value' => '',
                'placeholder' => 'Table Name',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '',
            ),
            array (
                'key' => 'field_5366fb0887892',
                'label' => 'Price',
                'name' => 'price',
                'type' => 'text',
                'default_value' => '',
                'placeholder' => '',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '',
            ),
            array (
                'key' => 'field_5366fba087899',
                'label' => 'Frequency',
                'name' => 'freq',
                'type' => 'text',
                'default_value' => '',
                'placeholder' => '',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '',
            ),
            array (
                'key' => 'field_5366fb3987893',
                'label' => 'Other Price & Frequency',
                'name' => 'other_price',
                'type' => 'text',
                'default_value' => '',
                'placeholder' => '',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '',
            ),
            array (
                'key' => 'field_5366fb5787894',
                'label' => 'Values',
                'name' => 'values',
                'type' => 'repeater',
                'sub_fields' => array (
                    array (
                        'key' => 'field_5366fb8287895',
                        'label' => 'value',
                        'name' => 'value',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                ),
                'row_min' => 1,
                'row_limit' => '',
                'layout' => 'row',
                'button_label' => 'Add Row',
            ),
            array (
                'key' => 'field_5366fb9287896',
                'label' => 'Button title',
                'name' => 'btn_title',
                'type' => 'text',
                'default_value' => '',
                'placeholder' => '',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '',
            ),
            array (
                'key' => 'field_5366fba087897',
                'label' => 'Button Link',
                'name' => 'btn_link',
                'type' => 'text',
                'default_value' => '',
                'placeholder' => '',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '',
            ),
            array (
                'key' => 'field_5366fba087898',
                'label' => 'Resalt Plan',
                'name' => 'resalt_plan',
                'type' => 'checkbox',
                'column_width' => '',
                'choices' => array (
                    1 => 'Resalt Plans',
                ),
                'default_value' => '',
                'layout' => 'vertical',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'plans',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'no_box',
            'hide_on_screen' => array (
                0 => 'the_content',
                1 => 'custom_fields',
                2 => 'discussion',
                3 => 'comments',
                4 => 'revisions',
                5 => 'slug',
                6 => 'author',
                7 => 'format',
                8 => 'categories',
                9 => 'tags',
                10 => 'send-trackbacks',
            ),
        ),
        'menu_order' => 0,
    ));
    //acf_product-desc-zone
    register_field_group(array (
        'id' => 'acf_product-desc-zone',
        'title' => 'Product Desc Zone',
        'fields' => array (
            array (
                'key' => 'field_5366fff2aa179',
                'label' => 'Repeat Product Desc Zone',
                'name' => 'rpt-product-desc-zone',
                'type' => 'repeater',
                'sub_fields' => array (
                    array (
                        'key' => 'field_5367000eaa17a',
                        'label' => 'Position Zone',
                        'name' => 'weight_product-desc-zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => 0,
                        'placeholder' => 'Determines the order of the zones (Integer)',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => 2,
                    ),
                    array (
                        'key' => 'field_5382835a88d68',
                        'label' => 'Background Style Zone',
                        'name' => 'back',
                        'type' => 'select',
                        'choices' => array (
                            1 => 'Highlighted',
                            2 => 'Color',
                            3 => 'Image',
                            4 => 'Video',
                            5 => 'Skin Base',
                        ),
                        'default_value' => '2',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5382835a88d69',
                        'label' => 'Background Color Zone',
                        'name' => 'color_bg',
                        'type' => 'color_picker',
                        'default_value' => '',
                    ),
                    array (
                        'key' => 'field_53502b464c3r5',
                        'label' => 'Background Image Zone',
                        'name' => 'image_bg',
                        'type' => 'image',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b434ih48',
                        'label' => 'Background Video Zone',
                        'name' => 'video_bg',
                        'type' => 'file',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'full',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b43cul85',
                        'label' => 'Animation Zone',
                        'name' => 'animation_zone',
                        'type' => 'select',
                        'choices' => array (
                            '' => 'No Animation',
                            'bounceIn' => 'bounceIn',
                            'bounceInDown' => 'bounceInDown',
                            'bounceInLeft' => 'bounceInLeft',
                            'bounceInRight' => 'bounceInRight',
                            'bounceInUp' => 'bounceInUp',
                            'fadeIn' => 'fadeIn',
                            'fadeInDown' => 'fadeInDown',
                            'fadeInLeft' => 'fadeInLeft',
                            'fadeInRight' => 'fadeInRight',
                            'fadeInUp' => 'fadeInUp',
                            'flip' => 'flip',
                            'flipInX' => 'flipInX',
                            'flipInY' => 'flipInY',
                            'lightSpeedIn' => 'lightSpeedIn',
                            'rotateIn' => 'rotateIn',
                            'rotateInDownLeft' => 'rotateInDownLeft',
                            'rotateInDownRight' => 'rotateInDownRight',
                            'rotateInUpLeft' => 'rotateInUpLeft',
                            'rotateInUpRight' => 'rotateInUpRight',
                            'rollIn' => 'rollIn',
                            'zoomInDown' => 'zoomInDown',
                            'zoomInLeft' => 'zoomInLeft',
                            'zoomInRight' => 'zoomInRight',
                            'zoomInUp' => 'zoomInUp',
                        ),
                        'default_value' => '',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5367008baa17c',
                        'label' => 'Right Title',
                        'name' => 'right_title',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                    array (
                        'key' => 'field_5367002eaa17b',
                        'label' => 'Right Info',
                        'name' => 'right_info',
                        'type' => 'repeater',
                        'column_width' => '',
                        'sub_fields' => array (
                            array (
                                'key' => 'field_536700a4aa17d',
                                'label' => 'Title',
                                'name' => 'title',
                                'type' => 'text',
                                'column_width' => '',
                                'default_value' => '',
                                'placeholder' => '',
                                'prepend' => '',
                                'append' => '',
                                'formatting' => 'html',
                                'maxlength' => '',
                            ),
                            array (
                                'key' => 'field_536700d3aa17e',
                                'label' => 'Desc',
                                'name' => 'desc',
                                'type' => 'textarea',
                                'column_width' => '',
                                'default_value' => '',
                                'placeholder' => '',
                                'maxlength' => '',
                                'rows' => '',
                                'formatting' => 'br',
                            ),
                        ),
                        'row_min' => 1,
                        'row_limit' => '',
                        'layout' => 'row',
                        'button_label' => 'Add Row',
                    ),
                    array (
                        'key' => 'field_53670103aa17f',
                        'label' => 'Left Title',
                        'name' => 'left_title',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                    array (
                        'key' => 'field_53670120aa180',
                        'label' => 'Left Info',
                        'name' => 'left_info',
                        'type' => 'repeater',
                        'column_width' => '',
                        'sub_fields' => array (
                            array (
                                'key' => 'field_53670143aa181',
                                'label' => 'Title',
                                'name' => 'title',
                                'type' => 'text',
                                'column_width' => '',
                                'default_value' => '',
                                'placeholder' => '',
                                'prepend' => '',
                                'append' => '',
                                'formatting' => 'html',
                                'maxlength' => '',
                            ),
                            array (
                                'key' => 'field_5367014caa182',
                                'label' => 'Desc',
                                'name' => 'desc',
                                'type' => 'textarea',
                                'column_width' => '',
                                'default_value' => '',
                                'placeholder' => '',
                                'maxlength' => '',
                                'rows' => '',
                                'formatting' => 'br',
                            ),
                        ),
                        'row_min' => 1,
                        'row_limit' => '',
                        'layout' => 'row',
                        'button_label' => 'Add Row',
                    ),
                ),
                'row_min' => 1,
                'row_limit' => '',
                'layout' => 'row',
                'button_label' => 'Add Row',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'page',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-blog.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-whmcs.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-sidebar.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'default',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'discussion',
                2 => 'comments',
                3 => 'revisions',
                4 => 'categories',
                5 => 'tags',
            ),
        ),
        'menu_order' => 0,
    ));
    //acf_sponsor
    register_field_group(array (
        'id' => 'acf_sponsor-zone',
        'title' => 'Sponsor Zone',
        'fields' => array (
            array (
                'key' => 'field_5366fal977195',
                'label' => 'Sponsor Position',
                'name' => 'weight',
                'type' => 'text',
                'default_value' => '',
                'placeholder' => 'Integer, determines the order of the Sponsors',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '2',
            ),
            array (
                'key' => 'field_5366fdf1cc0ed',
                'label' => 'Tooltips',
                'name' => 'tooltips',
                'type' => 'text',
                'column_width' => '',
                'default_value' => '',
                'placeholder' => '',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '',
            ),
            array (
                'key' => 'field_5366fe11cc0ef',
                'label' => 'Link',
                'name' => 'link',
                'type' => 'text',
                'column_width' => '',
                'default_value' => '',
                'placeholder' => '',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '',
            ),
          	array (
              'key' => 'field_53502b4375gb1',
              'label' => 'Target Link',
              'name' => 'target_sponsors',
              'type' => 'select',
              'choices' => array (
                '_self' => 'Self',
                '_blank' => 'Blank',
              ),
              'default_value' => 'Self',
              'layout' => 'horizontal',
            ),
            array (
                'key' => 'field_5366fe03cc0ee',
                'label' => 'Image',
                'name' => 'image',
                'type' => 'image',
                'column_width' => '',
                'save_format' => 'url',
                'preview_size' => 'thumbnail',
                'library' => 'all',
            ),
            array (
                'key' => 'field_5366feb0oiubv',
                'label' => 'Title Alt Image',
                'name' => 'alt_image',
                'type' => 'text',
                'column_width' => '',
                'default_value' => '',
                'placeholder' => '',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'sponsor',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'no_box',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'discussion',
                2 => 'comments',
                3 => 'revisions',
                4 => 'categories',
                5 => 'tags',
                6 => 'the_content',
            ),
        ),
        'menu_order' => 0,
    ));
    //acf_story
    register_field_group(array (
        'id' => 'acf_story',
        'title' => 'Story',
        'fields' => array (
            array (
                'key' => 'field_5366fauy7195',
                'label' => 'Story Position',
                'name' => 'weight',
                'type' => 'text',
                'default_value' => '',
                'placeholder' => 'Integer, determines the order of the Story',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '2',
            ),
            array (
                'key' => 'field_5366f5e4c783b',
                'label' => 'Name',
                'name' => 'name',
                'type' => 'text',
                'default_value' => '',
                'placeholder' => '',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '',
            ),
            array (
                'key' => 'field_5366fe1r8ht53',
                'label' => 'Link',
                'name' => 'link',
                'type' => 'text',
                'column_width' => '',
                'default_value' => '',
                'placeholder' => '',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '',
            ),
          	array (
              'key' => 'field_53502b43omaze',
              'label' => 'Target Link',
              'name' => 'target_storie',
              'type' => 'select',
              'choices' => array (
                '_self' => 'Self',
                '_blank' => 'Blank',
              ),
              'default_value' => 'Self',
              'layout' => 'horizontal',
            ),
            array (
                'key' => 'field_5366f609c783d',
                'label' => 'Story',
                'name' => 'story',
                'type' => 'textarea',
                'default_value' => '',
                'placeholder' => '',
                'maxlength' => '',
                'rows' => '',
                'formatting' => 'br',
            ),
            array (
                'key' => 'field_5366f5f8c783c',
                'label' => 'Photo',
                'name' => 'photo',
                'type' => 'image',
                'save_format' => 'url',
                'preview_size' => 'thumbnail',
                'library' => 'all',
            ),
          	array (
              'key' => 'field_5366feb0iab3u',
              'label' => 'Title Alt Image',
              'name' => 'alt_image',
              'type' => 'text',
              'column_width' => '',
              'default_value' => '',
              'placeholder' => '',
              'prepend' => '',
              'append' => '',
              'formatting' => 'html',
              'maxlength' => '',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'storie',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'no_box',
            'hide_on_screen' => array (
                0 => 'the_content',
                1 => 'custom_fields',
                2 => 'discussion',
                3 => 'comments',
                4 => 'revisions',
                5 => 'slug',
                6 => 'author',
                7 => 'format',
                8 => 'featured_image',
                9 => 'categories',
                10 => 'tags',
                11 => 'send-trackbacks',
            ),
        ),
        'menu_order' => 0,
    ));
    //acf_team
    register_field_group(array (
        'id' => 'acf_team',
        'title' => 'Team',
        'fields' => array (
            array (
                'key' => 'field_5366f76ac6028',
                'label' => 'General Info',
                'name' => '',
                'type' => 'tab',
            ),
            array (
                'key' => 'field_5366fd4697195',
                'label' => 'Member Position',
                'name' => 'weight',
                'type' => 'text',
                'default_value' => '',
                'placeholder' => 'Integer, determines the order of the members',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '2',
            ),
            array (
                'key' => 'field_5366f71bc6024',
                'label' => 'Name',
                'name' => 'name',
                'type' => 'text',
                'default_value' => '',
                'placeholder' => '',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '',
            ),
            array (
                'key' => 'field_5366f738c6025',
                'label' => 'Ocupation',
                'name' => 'ocupation',
                'type' => 'text',
                'default_value' => '',
                'placeholder' => '',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '',
            ),
            array (
                'key' => 'field_5366f74cc6026',
                'label' => 'Description',
                'name' => 'description',
                'type' => 'wysiwyg',
                'default_value' => '',
                'placeholder' => '',
                'maxlength' => '',
                'rows' => '',
                'formatting' => 'br',
            ),
            array (
                'key' => 'field_5366f759c6027',
                'label' => 'Photo',
                'name' => 'photo',
                'type' => 'image',
                'save_format' => 'url',
                'preview_size' => 'thumbnail',
                'library' => 'all',
            ),
          	array (
              'key' => 'field_5366feb0iomn2',
              'label' => 'Title Alt Image',
              'name' => 'alt_image',
              'type' => 'text',
              'column_width' => '',
              'default_value' => '',
              'placeholder' => '',
              'prepend' => '',
              'append' => '',
              'formatting' => 'html',
              'maxlength' => '',
            ),
          	array (
                'key' => 'field_5366f7ba9om2n',
                'label' => 'Image Link',
                'name' => 'team_link',
                'type' => 'text',
                'default_value' => '',
                'placeholder' => '',
                'prepend' => '',
                'append' => '',
                'formatting' => 'html',
                'maxlength' => '',
              ),
            array (
              'key' => 'field_53502b43udinw',
              'label' => 'Target Link',
              'name' => 'target_team',
              'type' => 'select',
              'choices' => array (
                '_self' => 'Self',
                '_blank' => 'Blank',
              ),
              'default_value' => 'Self',
              'layout' => 'horizontal',
            ),
            array (
                'key' => 'field_5366f77acl8n1',
                'label' => 'Social Info',
                'name' => '',
                'type' => 'tab',
            ),
            array (
                'key' => 'field_5366f78ec602a',
                'label' => 'Social Link',
                'name' => 'social_link',
                'type' => 'repeater',
                'sub_fields' => array (
                    array (
                        'key' => 'field_5366f79dc602b',
                        'label' => 'Icon',
                        'name' => 'icon',
                        'type' => 'icon',
                        'column_width' => '30%',
                        'default_value' => '',
                    ),
                  	array (
                        'key' => 'field_5366f7bao9n2v',
                        'label' => 'Tooltip Info',
                        'name' => 'tooltip_team',
                        'type' => 'text',
                        'column_width' => '30%',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                    array (
                        'key' => 'field_5366f7bac602c',
                        'label' => 'Url Link',
                        'name' => 'link',
                        'type' => 'text',
                        'column_width' => '20%',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                  	array (
                        'key' => 'field_53502b43oin2b',
                        'label' => 'Target Link',
                        'name' => 'target_social_team',
                      	'column_width' => '20%',
                        'type' => 'select',
                        'choices' => array (
                            '_self' => 'Self',
                            '_blank' => 'Blank',
                        ),
                        'default_value' => 'Self',
                        'layout' => 'horizontal',
                    ),
                ),
                'row_min' => 1,
                'row_limit' => '',
                'layout' => 'table',
                'button_label' => 'Add Row',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'team',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'no_box',
            'hide_on_screen' => array (
                0 => 'the_content',
                1 => 'custom_fields',
                2 => 'discussion',
                3 => 'comments',
                4 => 'revisions',
                5 => 'slug',
                6 => 'author',
                7 => 'format',
                8 => 'featured_image',
                9 => 'categories',
                10 => 'tags',
                11 => 'send-trackbacks',
            ),
        ),
        'menu_order' => 0,
    ));
    //acf_tab-news-zone
    register_field_group(array (
        'id' => 'acf_tab-news-zone',
        'title' => 'Tab News Zone',
        'fields' => array (
            array (
                'key' => 'field_5366f59a4dbfb',
                'label' => 'Repeat Zone',
                'name' => 'rpt-tab-news-zone',
                'type' => 'repeater',
                'sub_fields' => array (
                    array (
                        'key' => 'field_5366f59a4dbfc',
                        'label' => 'Position Zone',
                        'name' => 'weight_tab-news-zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => 0,
                        'placeholder' => 'Determines the order of the zones (Integer)',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => 2,
                    ),
                    array (
                        'key' => 'field_5382835a88d6a',
                        'label' => 'Background Style Zone',
                        'name' => 'back',
                        'type' => 'select',
                        'choices' => array (
                            1 => 'Highlighted',
                            2 => 'Color',
                            3 => 'Image',
                            4 => 'Video',
                            5 => 'Skin Base',
                        ),
                        'default_value' => '2',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5382835a88d6b',
                        'label' => 'Background Color Zone',
                        'name' => 'color_bg',
                        'type' => 'color_picker',
                        'default_value' => '',
                    ),
                    array (
                        'key' => 'field_53502b464jd48',
                        'label' => 'Background Image Zone',
                        'name' => 'image_bg',
                        'type' => 'image',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b434fu46',
                        'label' => 'Background Video Zone',
                        'name' => 'video_bg',
                        'type' => 'file',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'full',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b43yb4lw',
                        'label' => 'Animation Zone',
                        'name' => 'animation_zone',
                        'type' => 'select',
                        'choices' => array (
                            '' => 'No Animation',
                            'bounceIn' => 'bounceIn',
                            'bounceInDown' => 'bounceInDown',
                            'bounceInLeft' => 'bounceInLeft',
                            'bounceInRight' => 'bounceInRight',
                            'bounceInUp' => 'bounceInUp',
                            'fadeIn' => 'fadeIn',
                            'fadeInDown' => 'fadeInDown',
                            'fadeInLeft' => 'fadeInLeft',
                            'fadeInRight' => 'fadeInRight',
                            'fadeInUp' => 'fadeInUp',
                            'flip' => 'flip',
                            'flipInX' => 'flipInX',
                            'flipInY' => 'flipInY',
                            'lightSpeedIn' => 'lightSpeedIn',
                            'rotateIn' => 'rotateIn',
                            'rotateInDownLeft' => 'rotateInDownLeft',
                            'rotateInDownRight' => 'rotateInDownRight',
                            'rotateInUpLeft' => 'rotateInUpLeft',
                            'rotateInUpRight' => 'rotateInUpRight',
                            'rollIn' => 'rollIn',
                            'zoomInDown' => 'zoomInDown',
                            'zoomInLeft' => 'zoomInLeft',
                            'zoomInRight' => 'zoomInRight',
                            'zoomInUp' => 'zoomInUp',
                        ),
                        'default_value' => '',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5366f59a4dc06',
                        'label' => '',
                        'name' => 'check_fac',
                        'type' => 'checkbox',
                        'choices' => array (
                            1 => 'Show Style Configuration',
                        ),
                        'default_value' => '1 : Show Style Configuration',
                        'layout' => 'vertical',
                    ),
                    array (
                        'key' => 'field_5366f59a4dbfe',
                        'label' => 'Title',
                        'name' => 'title_zone1',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                    array (
                        'key' => 'field_5366f59a4dbff',
                        'label' => 'Facilities to Show',
                        'name' => 'facilities_to_show',
                        'type' => 'post_object',
                        'column_width' => '',
                        'post_type' => array (
                            0 => 'facility',
                        ),
                        'taxonomy' => array (
                            0 => 'all',
                        ),
                        'allow_null' => 0,
                        'multiple' => 1,
                    ),
                    array (
                        'key' => 'field_5366f59a4dc07',
                        'label' => '',
                        'name' => 'check_story',
                        'type' => 'checkbox',
                        'choices' => array (
                            1 => 'Show Style Configuration',
                        ),
                        'default_value' => '1 : Show Style Configuration',
                        'layout' => 'vertical',
                    ),
                    array (
                        'key' => 'field_5366f59a4dc01',
                        'label' => 'Title',
                        'name' => 'title_zone2',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                    array (
                        'key' => 'field_5366f59a4dc02',
                        'label' => 'Stories to Show',
                        'name' => 'stories_to_show',
                        'type' => 'post_object',
                        'column_width' => '',
                        'post_type' => array (
                            0 => 'storie',
                        ),
                        'taxonomy' => array (
                            0 => 'all',
                        ),
                        'allow_null' => 0,
                        'multiple' => 1,
                    ),
                    array (
                        'key' => 'field_5366f59a4dc08',
                        'label' => '',
                        'name' => 'check_about',
                        'type' => 'checkbox',
                        'choices' => array (
                            1 => 'Show Style Configuration',
                        ),
                        'default_value' => '1 : Show Style Configuration',
                        'layout' => 'vertical',
                    ),
                    array (
                        'key' => 'field_5366f59a4dc03',
                        'label' => 'Title',
                        'name' => 'title',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                    array (
                        'key' => 'field_5366f59a4dc04',
                        'label' => 'Description',
                        'name' => 'description',
                        'type' => 'textarea',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'maxlength' => '',
                        'rows' => '',
                        'formatting' => 'br',
                    ),
                    array (
                        'key' => 'field_5366f59a4dc05',
                        'label' => 'Image',
                        'name' => 'image',
                        'type' => 'image',
                        'column_width' => '',
                        'save_format' => 'object',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                ),
                'row_min' => 1,
                'row_limit' => '',
                'layout' => 'row',
                'button_label' => 'Add Row',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'page',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-blog.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-whmcs.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-sidebar.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'default',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'discussion',
                2 => 'comments',
                3 => 'revisions',
                4 => 'categories',
                5 => 'tags',
            ),
        ),
        'menu_order' => 0,
    ));
    //acf_Background
    register_field_group(array (
        'id' => 'acf_background',
        'title' => 'Background',
        'fields' => array (
            array (
                'key' => 'field_5332f8182f6dc',
                'label' => 'Background Style',
                'name' => 'back',
                'type' => 'select',
                'choices' => array (
                    1 => 'Highlighted background',
                    2 => 'Background Color',
                ),
                'default_value' => '2',
                'layout' => 'horizontal',
            ),
            array (
                'key' => 'field_5332f8182f6dd',
                'label' => 'Color',
                'name' => 'color_bg',
                'type' => 'color_picker',
                'default_value' => '',
            ),            
        ),
        'location' => array (
            array (
                array (
                    'param' => 'page_template',
                    'operator' => '==',
                    'value' => 'template-whmcs.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'default',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'discussion',
                2 => 'comments',
                3 => 'revisions',
                4 => 'categories',
                5 => 'tags',
            ),
        ),
        'menu_order' => 0,
    ));
  
  	//acf_portfolio
    register_field_group(array (
        'id' => 'acf_portfolio',
        'title' => 'Portfolio Info',
        'fields' => array (
            array (
              'key' => 'field_5366f77ac6028',
              'label' => 'Portfolio Info',
              'name' => '',
              'type' => 'tab',
            ),
				array (
					'key' => 'field_5366fa8cglc27',
					'label' => 'Portfolio Position',
					'name' => 'weight',
					'type' => 'text',
					'default_value' => '',
					'placeholder' => 'Integer, determines the order of the Portfolio',
					'prepend' => '',
					'append' => '',
					'formatting' => 'html',
					'maxlength' => '2',
				),
        array (
					'key' => 'field_52e03d41ejsn3',
					'label' => 'Categories Portfolio',
					'name' => 'category',
					'type' => 'taxonomy',
					'taxonomy' => 'categories_portfolio',
					'field_type' => 'checkbox',
					'allow_null' => 0,
					'load_save_terms' => 1,
					'return_format' => 'id',
					'multiple' => 0,
				),
				array (
					'key' => 'field_5366f161ci9m1',
					'label' => 'Title',
					'name' => 'p_title',
					'type' => 'text',
					'column_width' => '',
					'default_value' => '',
					'placeholder' => '',
					'prepend' => '',
					'append' => '',
					'formatting' => 'html',
					'maxlength' => '',
				),
				array (
					'key' => 'field_53da28a50982a',
					'label' => 'Portfolio Description',
					'name' => 'p_description',
					'type' => 'text',
					'default_value' => '',
					'placeholder' => '',
					'prepend' => '',
					'append' => '',
					'formatting' => 'html',
					'maxlength' => '',
				),
				array (
				    'key' => 'field_53da2b0176e80',
				    'label' => 'Portfolio Icons',
				    'name' => 'portfolio_social',
				    'type' => 'repeater',
				    'sub_fields' => array (

					    array (
						    'key' => 'field_53da2b3076e81',
						    'label' => 'Portfolio Icon',
						    'name' => 'portfolio_icon',
						    'type' => 'icon',
						    'column_width' => 35,
						    'default_value' => '',
					    ),
					    array (
						    'key' => 'field_53da3e2450411',
						    'label' => 'Icon Tooltip Title',
						    'name' => 'icon_title',
						    'type' => 'text',
						    'default_value' => '',
						    'placeholder' => '',
						    'prepend' => '',
						    'append' => '',
						    'formatting' => 'none',
						    'maxlength' => '',
					    ),
					    array (
						    'key' => 'field_53da2b4d76e82',
						    'label' => 'Icon link',
						    'name' => 'icon_link',
						    'type' => 'text',
						    'column_width' => '',
						    'default_value' => '',
						    'placeholder' => '',
						    'prepend' => '',
						    'append' => '',
						    'formatting' => 'html',
						    'maxlength' => '',
					    ),
              array (
                  'key' => 'field_53502b4pf8n1d',
                  'label' => 'Target Link',
                  'name' => 'target_icon_portfolio',
                  'type' => 'select',
                  'choices' => array (
                    '_self' => 'Self',
                    '_blank' => 'Blank',
                  ),
                  'default_value' => 'Self',
                  'layout' => 'horizontal',
                ),
				    ),
					    'row_min' => 1,
					    'row_limit' => '',
					    'layout' => 'table',
					    'button_label' => 'Add Row',
				    ),
				array (
					'key' => 'field_5366f17dxev49',
					'label' => 'Main image',
					'name' => 'image',
					'type' => 'image',
					'column_width' => '',
					'save_format' => 'url',
					'preview_size' => 'thumbnail',
					'library' => 'all',
				),
        array (
          'key' => 'field_53da45b22h6va',
          'label' => 'Title Alt Image',
          'name' => 'alt_image',
          'type' => 'text',
          'default_value' => '',
          'placeholder' => '',
          'prepend' => '',
          'append' => '',
          'formatting' => 'html',
          'maxlength' => '',
        ),
                array (
                    'key' => 'field_5366f77ac6029',
                    'label' => 'Portfolio Detail',
                    'name' => '',
                    'type' => 'tab',
                ),
                array (
                    'key' => 'field_53da45b222dd1',
                    'label' => 'Portfolio Title',
                    'name' => 'portf_title',
                    'type' => 'text',
                    'default_value' => '',
                    'placeholder' => '',
                    'prepend' => '',
                    'append' => '',
                    'formatting' => 'html',
                    'maxlength' => '',
                ),
                array (
                    'key' => 'field_53da4ad815467',
                    'label' => 'Portfolio Subtitle',
                    'name' => 'portfolio_subtitle',
                    'type' => 'text',
                    'default_value' => '',
                    'placeholder' => '',
                    'prepend' => '',
                    'append' => '',
                    'formatting' => 'html',
                    'maxlength' => '',
                ),
                array (
                    'key' => 'field_53da4ac415466',
                    'label' => 'Portfolio Description',
                    'name' => 'portfolio_description',
                    'type' => 'textarea',
                    'default_value' => '',
                    'placeholder' => '',
                    'maxlength' => '',
                    'formatting' => 'br',
                ),
                array (
                    'key' => 'field_52e031eeb6997',
                    'label' => 'Vignette Icon',
                    'name' => 'vignette_icon',
                    'type' => 'icon',
                    'default_value' => '',
                ),
                array (
                    'key' => 'field_52e03186b6995',
                    'label' => 'Vignette 1',
                    'name' => 'vignette_1',
                    'type' => 'repeater',
                    'sub_fields' => array (
                        array (
                            'key' => 'field_52e03196b6996',
                            'label' => 'Vignette Value',
                            'name' => 'value',
                            'type' => 'text',
                            'column_width' => '',
                            'default_value' => '',
                            'placeholder' => '',
                            'prepend' => '',
                            'append' => '',
                            'formatting' => 'html',
                            'maxlength' => '',
                        ),
                    ),
                    'row_min' => '',
                    'row_limit' => '',
                    'layout' => 'row',
                    'button_label' => 'Add Vignette',
                ),
                array (
                    'key' => 'field_52e03186b6985',
                    'label' => 'Vignette 2',
                    'name' => 'vignette_2',
                    'type' => 'repeater',
                    'sub_fields' => array (
                        array (
                            'key' => 'field_52e03196b6996',
                            'label' => 'Vignette Value',
                            'name' => 'value',
                            'type' => 'text',
                            'column_width' => '',
                            'default_value' => '',
                            'placeholder' => '',
                            'prepend' => '',
                            'append' => '',
                            'formatting' => 'html',
                            'maxlength' => '',
                        ),
                    ),
                    'row_min' => '',
                    'row_limit' => '',
                    'layout' => 'row',
                    'button_label' => 'Add Vignette',
                ),
                array (
                    'key' => 'field_53da5085270d0',
                    'label' => 'Technologies Icon',
                    'name' => 'technologies_icon',
                    'type' => 'repeater',
                    'sub_fields' => array (
                        array (
                            'key' => 'field_53da50ac270d1',
                            'label' => 'Technologies Icon',
                            'name' => 'tec_icon',
                            'type' => 'icon',
                            'column_width' => '',
                            'default_value' => '',
                        ),
                      	array (
                            'key' => 'field_53da3e24ciuen',
                            'label' => 'Icon Tooltip Title',
                            'name' => 'icon_title_tec',
                            'type' => 'text',
                            'default_value' => '',
                            'placeholder' => '',
                            'prepend' => '',
                            'append' => '',
                            'formatting' => 'none',
                            'maxlength' => '',
                          ),
                        array (
                            'key' => 'field_53da56872b404',
                            'label' => 'Technologies Link',
                            'name' => 'tec_link',
                            'type' => 'text',
                            'default_value' => '',
                            'placeholder' => '',
                            'prepend' => '',
                            'append' => '',
                            'formatting' => 'html',
                            'maxlength' => '',
                        ),
                      	 array (
                           'key' => 'field_53502b4pki3na',
                           'label' => 'Target Link',
                           'name' => 'target_icon_tec',
                           'type' => 'select',
                           'choices' => array (
                             '_self' => 'Self',
                             '_blank' => 'Blank',
                           ),
                           'default_value' => 'Self',
                           'layout' => 'horizontal',
                         ),
                    ),
                    'row_min' => '',
                    'row_limit' => '',
                    'layout' => 'table',
                    'button_label' => 'Add Row',
                ),
                array (
                    'key' => 'field_52e0341714e50',
                    'label' => 'Button Title',
                    'name' => 'btn_title',
                    'type' => 'text',
                    'default_value' => '',
                    'placeholder' => '',
                    'prepend' => '',
                    'append' => '',
                    'formatting' => 'html',
                    'maxlength' => '',
                ),
                array (
                    'key' => 'field_52e0343314e51',
                    'label' => 'Button Link',
                    'name' => 'btn_link',
                    'type' => 'text',
                    'default_value' => '',
                    'placeholder' => '',
                    'prepend' => '',
                    'append' => '',
                    'formatting' => 'html',
                    'maxlength' => '',
                ),
          			array (
                  'key' => 'field_53502b4pm6b39',
                  'label' => 'Target Link',
                  'name' => 'target_portfolio',
                  'type' => 'select',
                  'choices' => array (
                    '_self' => 'Self',
                    '_blank' => 'Blank',
                  ),
                  'default_value' => 'Self',
                  'layout' => 'horizontal',
                ),
                array (
                    'key' => 'field_52e035e58acc8',
                    'label' => 'Image Gallery',
                    'name' => 'images',
                    'type' => 'gallery',
                    'preview_size' => 'thumbnail',
                    'library' => 'all',
                ),
                array (
                    'key' => 'field_5366f77ac602a',
                    'label' => 'Portfolio Alternate-info',
                    'name' => '',
                    'type' => 'tab',
                ),
                array (
                'key' => 'field_52e0353bd72a1',
                'label' => 'Alternate Info',
                'name' => 'alt_info',
                'type' => 'repeater',
                'sub_fields' => array (
                    array (
                        'key' => 'field_52e03558d72a2',
                        'label' => 'Title',
                        'name' => 'title',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                    array (
                        'key' => 'field_52e0355fd72a3',
                        'label' => 'Description',
                        'name' => 'description',
                        'type' => 'wysiwyg',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'maxlength' => '',
                        'formatting' => 'br',
                    ),
                ),
                'row_min' => 1,
                'row_limit' => '',
                'layout' => 'row',
                'button_label' => 'Add Row',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'portfolio',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'default',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'discussion',
                2 => 'comments',
                3 => 'revisions',
                4 => 'tags',
                5 => 'the_content',
            ),
        ),
        'menu_order' => 0,
    ));
	
  	//acf_add-portfolio-zone
    register_field_group(array (
        'id' => 'acf_add-portfolio-zone',
        'title' => 'Add Portfolio Zone',
        'fields' => array (
            array (
                'key' => 'field_5366f561b38jq',
                'label' => 'Repeat portfolio',
                'name' => 'rpt-add-portfolio-zone',
                'type' => 'repeater',
                'sub_fields' => array (
                    array (
                        'key' => 'field_5366f57lmb5iq',
                        'label' => 'Position Zone',
                        'name' => 'weight_add-portfolio-zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => 0,
                        'placeholder' => 'Determines the order of the zones (Integer)',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => 2,
                    ),
                    array (
                        'key' => 'field_5382835fo3n91',
                        'label' => 'Background Style Zone',
                        'name' => 'back',
                        'type' => 'select',
                        'choices' => array (
                            1 => 'Highlighted',
                            2 => 'Color',
                            3 => 'Image',
                            4 => 'Video',
                            5 => 'Skin Base',
                        ),
                        'default_value' => '2',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5382835l3n9xa',
                        'label' => 'Background Color',
                        'name' => 'color_bg',
                        'type' => 'color_picker',
                        'default_value' => ' ',
                    ),
                    array (
                        'key' => 'field_53502b4k9iwna',
                        'label' => 'Background Image Zone',
                        'name' => 'image_bg',
                        'type' => 'image',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b4pwin39',
                        'label' => 'Background Video Zone',
                        'name' => 'video_bg',
                        'type' => 'file',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'full',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53502b4njpc85',
                        'label' => 'Animation Zone',
                        'name' => 'animation_zone',
                        'type' => 'select',
                        'choices' => array (
                            '' => 'No Animation',
                            'bounceIn' => 'bounceIn',
                            'bounceInDown' => 'bounceInDown',
                            'bounceInLeft' => 'bounceInLeft',
                            'bounceInRight' => 'bounceInRight',
                            'bounceInUp' => 'bounceInUp',
                            'fadeIn' => 'fadeIn',
                            'fadeInDown' => 'fadeInDown',
                            'fadeInLeft' => 'fadeInLeft',
                            'fadeInRight' => 'fadeInRight',
                            'fadeInUp' => 'fadeInUp',
                            'flip' => 'flip',
                            'flipInX' => 'flipInX',
                            'flipInY' => 'flipInY',
                            'lightSpeedIn' => 'lightSpeedIn',
                            'rotateIn' => 'rotateIn',
                            'rotateInDownLeft' => 'rotateInDownLeft',
                            'rotateInDownRight' => 'rotateInDownRight',
                            'rotateInUpLeft' => 'rotateInUpLeft',
                            'rotateInUpRight' => 'rotateInUpRight',
                            'rollIn' => 'rollIn',
                            'zoomInDown' => 'zoomInDown',
                            'zoomInLeft' => 'zoomInLeft',
                            'zoomInRight' => 'zoomInRight',
                            'zoomInUp' => 'zoomInUp',
                        ),
                        'default_value' => '',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5366f59lie5md',
                        'label' => 'Portfolios to Show',
                        'name' => 'portfolio_to_show',
                        'type' => 'post_object',
                        'column_width' => '',
                        'post_type' => array (
                            0 => 'portfolio',
                        ),
                        'taxonomy' => array (
                            0 => 'all',
                        ),
                        'allow_null' => 0,
                        'multiple' => 1,
                    ),
                  	 array (
                        'key' => 'field_5382835ku52b9',
                        'label' => 'Items for row',
                        'name' => 'portfolio_row',
                        'type' => 'select',
                        'choices' => array (
                            1 => 'Two',
                            2 => 'Three',
                            3 => 'Four',
                            4 => 'Six',
                        ),
                        'default_value' => '3',
                        'layout' => 'horizontal',
                    ),
                ),
                'row_min' => 1,
                'row_limit' => '',
                'layout' => 'row',
                'button_label' => 'Add Row',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'page',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-blog.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-whmcs.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-sidebar.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'default',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'discussion',
                2 => 'comments',
                3 => 'revisions',
                4 => 'categories',
                5 => 'tags',
            ),
        ),
        'menu_order' => 0,
    ));
    //acf_add-portfolio-carousel-zone
    register_field_group(array (
        'id' => 'acf_add-portfolio-carousel-zone',
        'title' => 'Add Portfolio Carousel Zone',
        'fields' => array (
            array (
                'key' => 'field_5366f561b48jq',
                'label' => 'Repeat portfolio carousel',
                'name' => 'rpt-add-portfolio-carousel-zone',
                'type' => 'repeater',
                'sub_fields' => array (
                    array (
                        'key' => 'field_5366f57lmb6iq',
                        'label' => 'Position Zone',
                        'name' => 'weight_add-portfolio-carousel-zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => 0,
                        'placeholder' => 'Determines the order of the zones (Integer)',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => 2,
                    ),
                    array (
                        'key' => 'field_5382835fo4n91',
                        'label' => 'Background Style Zone',
                        'name' => 'back',
                        'type' => 'select',
                        'choices' => array (
                            1 => 'Highlighted',
                            2 => 'Color',
                            3 => 'Image',
                            4 => 'Video',
                            5 => 'Skin Base',
                        ),
                        'default_value' => '2',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5382835l4n9xa',
                        'label' => 'Background Color',
                        'name' => 'color_bg',
                        'type' => 'color_picker',
                        'default_value' => ' ',
                    ),
                    array (
                        'key' => 'field_53502b5k9iwna',
                        'label' => 'Background Image Zone',
                        'name' => 'image_bg',
                        'type' => 'image',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'thumbnail',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53532b4pwin39',
                        'label' => 'Background Video Zone',
                        'name' => 'video_bg',
                        'type' => 'file',
                        'column_width' => '',
                        'save_format' => 'url',
                        'preview_size' => 'full',
                        'library' => 'all',
                    ),
                    array (
                        'key' => 'field_53602b4njpc85',
                        'label' => 'Animation Zone',
                        'name' => 'animation_zone',
                        'type' => 'select',
                        'choices' => array (
                            '' => 'No Animation',
                            'bounceIn' => 'bounceIn',
                            'bounceInDown' => 'bounceInDown',
                            'bounceInLeft' => 'bounceInLeft',
                            'bounceInRight' => 'bounceInRight',
                            'bounceInUp' => 'bounceInUp',
                            'fadeIn' => 'fadeIn',
                            'fadeInDown' => 'fadeInDown',
                            'fadeInLeft' => 'fadeInLeft',
                            'fadeInRight' => 'fadeInRight',
                            'fadeInUp' => 'fadeInUp',
                            'flip' => 'flip',
                            'flipInX' => 'flipInX',
                            'flipInY' => 'flipInY',
                            'lightSpeedIn' => 'lightSpeedIn',
                            'rotateIn' => 'rotateIn',
                            'rotateInDownLeft' => 'rotateInDownLeft',
                            'rotateInDownRight' => 'rotateInDownRight',
                            'rotateInUpLeft' => 'rotateInUpLeft',
                            'rotateInUpRight' => 'rotateInUpRight',
                            'rollIn' => 'rollIn',
                            'zoomInDown' => 'zoomInDown',
                            'zoomInLeft' => 'zoomInLeft',
                            'zoomInRight' => 'zoomInRight',
                            'zoomInUp' => 'zoomInUp',
                        ),
                        'default_value' => '',
                        'layout' => 'horizontal',
                    ),
                    array (
                        'key' => 'field_5366f59a4dc11',
                        'label' => 'Title',
                        'name' => 'title_zone',
                        'type' => 'text',
                        'column_width' => '',
                        'default_value' => '',
                        'placeholder' => '',
                        'prepend' => '',
                        'append' => '',
                        'formatting' => 'html',
                        'maxlength' => '',
                    ),
                    array (
                        'key' => 'field_5366f59lie6md',
                        'label' => 'Portfolios to Show',
                        'name' => 'portfolio_to_show',
                        'type' => 'post_object',
                        'column_width' => '',
                        'post_type' => array (
                            0 => 'portfolio',
                        ),
                        'taxonomy' => array (
                            0 => 'all',
                        ),
                        'allow_null' => 0,
                        'multiple' => 1,
                    ),
                ),
                'row_min' => 1,
                'row_limit' => '',
                'layout' => 'row',
                'button_label' => 'Add Row',
            ),
        ),
        'location' => array (
            array (
                array (
                    'param' => 'post_type',
                    'operator' => '==',
                    'value' => 'page',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-blog.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-whmcs.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
                array (
                    'param' => 'page_template',
                    'operator' => '!=',
                    'value' => 'template-sidebar.php',
                    'order_no' => 0,
                    'group_no' => 0,
                ),
            ),
        ),
        'options' => array (
            'position' => 'normal',
            'layout' => 'default',
            'hide_on_screen' => array (
                0 => 'custom_fields',
                1 => 'discussion',
                2 => 'comments',
                3 => 'revisions',
                4 => 'categories',
                5 => 'tags',
            ),
        ),
        'menu_order' => 0,
    ));
}