'General Options', 'menu_title' => 'Options', 'menu_slug' => 'theme-options', 'capability' => 'edit_posts', 'redirect' => false, ) ); acf_add_options_sub_page(array( 'page_title' => 'Additional Options', 'menu_title' => 'Additional Options', 'parent_slug' => 'theme-options', )); acf_add_options_sub_page(array( 'page_title' => 'Pop-up Options', 'menu_title' => 'Pop-up Options', 'parent_slug' => 'theme-options', )); } array( 'name' => __( 'Offers & Deals','pq' ), 'singular_name' => __( 'Offer','pq' ), 'add_item' => __('New Offer','pq'), 'add_new_item' => __('Add New Offer','pq'), 'edit_item' => __('Edit Offer Item','pq') ), 'public' => true, 'has_archive' => true, 'rewrite' => array('slug' => 'cruise'), 'menu_icon'=> 'dashicons-tickets-alt', 'menu_position' => 6, 'show_ui' => true, // 'supports' => array('author', 'title', 'editor', 'thumbnail', 'excerpt', 'page-attributes') 'supports' => array('title','thumbnail') ) ); flush_rewrite_rules(); } } add_action( 'init', 'create_cruise_post_type' ); /*add_action( 'init', 'create_cruise_taxonomies', 0 ); if (!function_exists('create_cruise_taxonomies')) { function create_cruise_taxonomies() { $labels = array( 'name' => __( 'Cruise Categories', 'taxonomy general name' ), 'singular_name' => __( 'Cruise Category', 'taxonomy singular name' ), 'search_items' => __( 'Search Cruise Categories','pq' ), 'all_items' => __( 'All Cruise Categories','pq' ), 'parent_item' => __( 'Parent Cruise Category','pq' ), 'parent_item_colon' => __( 'Parent Cruise Category:','pq' ), 'edit_item' => __( 'Edit Cruise Category','pq' ), 'update_item' => __( 'Update Cruise Category','pq' ), 'add_new_item' => __( 'Add New Cruise Category','pq' ), 'new_item_name' => __( 'New Cruise Category Name','pq' ), 'menu_name' => __( 'Cruise Categories','pq' ), ); register_taxonomy('cruise_category',array('cruises-tax'), array( 'hierarchical' => true, 'labels' => $labels, 'show_ui' => true, 'query_var' => true, 'rewrite' => array( 'slug' => 'cruises' ), )); } }*/ array( 'name' => __( 'Destinations','pq' ), 'singular_name' => __( 'Destination','pq' ), 'add_item' => __('New Destination Item','pq'), 'add_new_item' => __('Add New Destination Item','pq'), 'edit_item' => __('Edit Destination Item','pq') ), 'public' => true, 'has_archive' => true, 'rewrite' => array('slug' => 'destination'), 'menu_icon'=> 'dashicons-palmtree', 'menu_position' => 6, 'show_ui' => true, // 'supports' => array('author', 'title', 'editor', 'thumbnail', 'excerpt', 'page-attributes') 'supports' => array('title','editor' ,'thumbnail') ) ); flush_rewrite_rules(); } } add_action( 'init', 'create_destination_post_type' ); array( 'name' => __( 'Ships','pq' ), 'singular_name' => __( 'Ship','pq' ), 'add_item' => __('New Ship Item','pq'), 'add_new_item' => __('Add New Ship Item','pq'), 'edit_item' => __('Edit Ship Item','pq') ), 'public' => true, 'has_archive' => true, 'rewrite' => array('slug' => 'ship'), 'menu_icon'=> 'dashicons-sos', 'menu_position' => 6, 'show_ui' => true, // 'supports' => array('author', 'title', 'editor', 'thumbnail', 'excerpt', 'page-attributes') 'supports' => array('title','thumbnail') ) ); flush_rewrite_rules(); } } add_action( 'init', 'create_ship_post_type' ); 'group_57c7dd7460f5e', 'title' => 'Contact Data', 'fields' => array ( array ( 'key' => 'field_57c7e4ec041c3', 'label' => 'Location Lat', 'name' => 'location_lat', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57c7eb123babf', 'label' => 'Location Lng', 'name' => 'location_lng', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57c80791f8ef6', 'label' => 'Location Link', 'name' => 'location_link', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57c7e554041c4', 'label' => 'Description', 'name' => 'description', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), array ( 'key' => 'field_57c7e566041c5', 'label' => 'Address Left', 'name' => 'address_left', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 50, 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), array ( 'key' => 'field_57c7e689041c6', 'label' => 'Address Right', 'name' => 'address_right', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 50, 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), array ( 'key' => 'field_57c7e69e041c7', 'label' => 'Sub Title', 'name' => 'sub_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57c7e6ac041c8', 'label' => 'Contact Image', 'name' => 'contact_image', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'id', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), ), 'location' => array ( array ( array ( 'param' => 'page_template', 'operator' => '==', 'value' => 'pages/contact.php', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => array ( 0 => 'the_content', ), )); acf_add_local_field_group(array ( 'key' => 'group_5721ddf98b8fa', 'title' => 'Content Data', 'fields' => array ( array ( 'key' => 'field_57d020ae92e98', 'label' => 'Parent Page', 'name' => 'parent_page', 'type' => 'post_object', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'post_type' => array ( 0 => 'post', 1 => 'page', ), 'taxonomy' => array ( ), 'allow_null' => 1, 'multiple' => 1, 'return_format' => 'object', 'ui' => 1, ), array ( 'key' => 'field_5721de41707a6', 'label' => 'Show Posts', 'name' => 'show_posts', 'type' => 'relationship', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'post_type' => array ( 0 => 'post', ), 'taxonomy' => array ( ), 'filters' => array ( 0 => 'search', ), 'elements' => array ( 0 => 'featured_image', ), 'min' => '', 'max' => '', 'return_format' => 'object', ), ), 'location' => array ( array ( array ( 'param' => 'page_template', 'operator' => '==', 'value' => 'pages/content_page1.php', ), ), array ( array ( 'param' => 'page_template', 'operator' => '==', 'value' => 'pages/content_page2.php', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => array ( 0 => 'the_content', ), )); acf_add_local_field_group(array ( 'key' => 'group_57209794dbf6c', 'title' => 'Destination Data', 'fields' => array ( array ( 'key' => 'field_572098618fd0f', 'label' => 'Content Title', 'name' => 'content_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_573c4c930646b', 'label' => 'Home Port', 'name' => 'home_port', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'layout' => 'block', 'button_label' => 'Add a home port', 'sub_fields' => array ( array ( 'key' => 'field_574841151ba81', 'label' => 'Type', 'name' => 'type', 'type' => 'radio', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array ( 0 => 'Excursions', 1 => 'Destinations', ), 'other_choice' => 0, 'save_other_choice' => 0, 'default_value' => '', 'layout' => 'horizontal', ), array ( 'key' => 'field_573c4e5c0646d', 'label' => 'Title', 'name' => 'title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_5748403a78336', 'label' => 'Sub Title', 'name' => 'sub_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 50, 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_573c4d5e0646c', 'label' => 'Image', 'name' => 'image', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 50, 'class' => '', 'id' => '', ), 'return_format' => 'id', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_573c4e620646e', 'label' => 'Details', 'name' => 'details', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), array ( 'key' => 'field_573c4e7c0646f', 'label' => 'Button Label', 'name' => 'button_label', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 50, 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_573c4e8206470', 'label' => 'Button Link', 'name' => 'button_link', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 50, 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), ), ), ), 'location' => array ( array ( array ( 'param' => 'post_type', 'operator' => '==', 'value' => 'destinations-tax', ), ), ), 'menu_order' => 0, 'position' => 'acf_after_title', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', )); acf_add_local_field_group(array ( 'key' => 'group_5827372fc8cbe', 'title' => 'Excursion Filter', 'fields' => array ( array ( 'key' => 'field_58274a7c5588d', 'label' => 'Destination', 'name' => 'destination', 'type' => 'post_object', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'post_type' => array ( 0 => 'destinations-tax', ), 'taxonomy' => array ( ), 'allow_null' => 1, 'multiple' => 0, 'return_format' => 'object', 'ui' => 1, ), array ( 'key' => 'field_58274b6e943c6', 'label' => 'Port/City', 'name' => 'port', 'type' => 'post_object', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'post_type' => array ( 0 => 'ports-tax', ), 'taxonomy' => array ( ), 'allow_null' => 1, 'multiple' => 0, 'return_format' => 'object', 'ui' => 1, ), ), 'location' => array ( array ( array ( 'param' => 'post_type', 'operator' => '==', 'value' => 'post', ), ), ), 'menu_order' => 0, 'position' => 'side', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => array ( 0 => 'the_content', ), )); acf_add_local_field_group(array ( 'key' => 'group_573c3b31ae51d', 'title' => 'Footer Options', 'fields' => array ( array ( 'key' => 'field_573c3beb87663', 'label' => 'Footer Links', 'name' => 'footer_links', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'layout' => 'table', 'button_label' => 'Add Row', 'sub_fields' => array ( array ( 'key' => 'field_573c3c2a87664', 'label' => 'Link Label', 'name' => 'link_label', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_573c3c3587665', 'label' => 'Internal Link', 'name' => 'internal_link', 'type' => 'page_link', 'instructions' => 'overrides external link ', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'post_type' => array ( 0 => 'page', 1 => 'post', 2 => 'destinations-tax', ), 'taxonomy' => array ( ), 'allow_null' => 1, 'multiple' => 0, ), array ( 'key' => 'field_573c3c6287666', 'label' => 'External Link', 'name' => 'external_link', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), ), ), array ( 'key' => 'field_573c417d5d020', 'label' => 'Brochure Link', 'name' => 'brochure_link', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_580e08ee2c1c3', 'label' => 'Crown Link', 'name' => 'crown_link', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), ), 'location' => array ( array ( array ( 'param' => 'options_page', 'operator' => '==', 'value' => 'theme-options', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', )); acf_add_local_field_group(array ( 'key' => 'group_5b8fd86a947c3', 'title' => 'Header Options', 'fields' => array ( array ( 'key' => 'field_5b8fd87c5950a', 'label' => 'Header Text', 'name' => 'header_text', 'type' => 'textarea', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'maxlength' => '', 'rows' => '', 'new_lines' => 'br', 'readonly' => 0, 'disabled' => 0, ), ), 'location' => array ( array ( array ( 'param' => 'options_page', 'operator' => '==', 'value' => 'theme-options', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', )); acf_add_local_field_group(array ( 'key' => 'group_58d57bd13010d', 'title' => 'Homepage Alternate Data', 'fields' => array ( array ( 'key' => 'field_58d61a2df1fd1', 'label' => 'Nav', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', ), array ( 'key' => 'field_58d61a3af1fd2', 'label' => 'Nav Link', 'name' => 'nav_link', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_58d57bd1ae729', 'label' => 'Header', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', ), array ( 'key' => 'field_58d61b3dafa96', 'label' => 'Header Image', 'name' => 'header_image', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'id', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_58d6994129add', 'label' => 'Header Image mobile', 'name' => 'header_image_mobile', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'id', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_58d57bd1aeb26', 'label' => 'Header Text', 'name' => 'header_text', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'full', 'media_upload' => 0, ), array ( 'key' => 'field_58d619eef1fd0', 'label' => 'Header Button Link', 'name' => 'header_button_link', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_58d67301f8638', 'label' => 'Section 1', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', ), array ( 'key' => 'field_58d6731af8639', 'label' => 'Featured Section 1 Grid', 'name' => 'featured_section_1_grid', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => 3, 'max' => 3, 'layout' => 'block', 'button_label' => 'Add Block', 'sub_fields' => array ( array ( 'key' => 'field_58d67369f863b', 'label' => 'Label', 'name' => 'label', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'all', 'toolbar' => 'full', 'media_upload' => 0, ), array ( 'key' => 'field_58d6733ef863a', 'label' => 'Image', 'name' => 'image', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'id', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_58d6738cf863c', 'label' => 'Link', 'name' => 'link', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), ), ), array ( 'key' => 'field_58d673b6f863d', 'label' => 'Image Bar', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_58d673e5f863e', 'label' => 'Image Bar', 'name' => 'image_bar', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_58d673f9f863f', 'label' => 'Image Bar Text', 'name' => 'image_bar_text', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_58d67406f8640', 'label' => 'Section 2', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_58d67428f8641', 'label' => 'Featured Section 2', 'name' => 'featured_section_2', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => 2, 'max' => 2, 'layout' => 'block', 'button_label' => 'Add Block', 'sub_fields' => array ( array ( 'key' => 'field_58d67428f8642', 'label' => 'Label', 'name' => 'label', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'all', 'toolbar' => 'full', 'media_upload' => 0, ), array ( 'key' => 'field_58d67428f8643', 'label' => 'Image', 'name' => 'image', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'id', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_58d67428f8644', 'label' => 'Link', 'name' => 'link', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), ), ), array ( 'key' => 'field_58d674fbf8646', 'label' => 'Section 3', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_58d67526f864b', 'label' => 'Section 3 Title', 'name' => 'section_3_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_58d67531f864c', 'label' => 'Section 3 Subtitle', 'name' => 'section_3_subtitle', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_58d6751bf8647', 'label' => 'Featured Section 3', 'name' => 'featured_section_3', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => 5, 'max' => 5, 'layout' => 'block', 'button_label' => 'Add Block', 'sub_fields' => array ( array ( 'key' => 'field_58d6751bf8648', 'label' => 'Label', 'name' => 'label', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'all', 'toolbar' => 'full', 'media_upload' => 0, ), array ( 'key' => 'field_58d6751bf8649', 'label' => 'Image', 'name' => 'image', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'id', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_58d6751bf864a', 'label' => 'Link', 'name' => 'link', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), ), ), array ( 'key' => 'field_58d57bd1b2d7a', 'label' => 'Destinations', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_58d57bd1b3163', 'label' => 'Section Title', 'name' => 'destination_section_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_58d57bd1b3549', 'label' => 'Bottom Section', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_58d57bd1b3956', 'label' => 'Section Title', 'name' => 'bottom_section_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_58d57bd1b3d44', 'label' => 'Featured Pages', 'name' => 'featured_pages', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'layout' => 'table', 'button_label' => 'Add Row', 'sub_fields' => array ( array ( 'key' => 'field_58d57bdb37cbb', 'label' => 'Image', 'name' => 'image', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'id', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_58d57bdb37ea6', 'label' => 'Title', 'name' => 'title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_58d57bdb38095', 'label' => 'Page', 'name' => 'page', 'type' => 'page_link', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'post_type' => array ( 0 => 'page', 1 => 'post', ), 'taxonomy' => array ( ), 'allow_null' => 1, 'multiple' => 0, ), ), ), ), 'location' => array ( array ( array ( 'param' => 'page_template', 'operator' => '==', 'value' => 'pages/homepage_alternate.php', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => array ( 0 => 'the_content', 1 => 'featured_image', ), )); acf_add_local_field_group(array ( 'key' => 'group_5720b4d729997', 'title' => 'Homepage Data', 'fields' => array ( array ( 'key' => 'field_57ee0de79d412', 'label' => 'Header', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', ), array ( 'key' => 'field_5a3b869bb26e3', 'label' => 'Video .mp4', 'name' => 'video_mp4', 'type' => 'file', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 33, 'class' => '', 'id' => '', ), 'return_format' => 'url', 'library' => 'all', 'min_size' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_5a3b869db26e4', 'label' => 'Video .webm', 'name' => 'video_webm', 'type' => 'file', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 33, 'class' => '', 'id' => '', ), 'return_format' => 'url', 'library' => 'all', 'min_size' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_5a3b86a0b26e5', 'label' => 'Video .ogv', 'name' => 'video_ogv', 'type' => 'file', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 33, 'class' => '', 'id' => '', ), 'return_format' => 'url', 'library' => 'all', 'min_size' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_57ee0fb649e7d', 'label' => '', 'name' => '', 'type' => 'message', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'message' => 'To ensure maximum compatibility across all browsers, please update all 3 video formats', 'esc_html' => 0, ), array ( 'key' => 'field_57ee270dfb972', 'label' => 'Video Title', 'name' => 'video_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_5720b611c4b4e', 'label' => 'Featured Cruises & Offers', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', ), array ( 'key' => 'field_57396846ff0d3', 'label' => 'Section Title', 'name' => 'top_section_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_5720b990c4b4f', 'label' => 'Featured Cruises', 'name' => 'featured_cruises', 'type' => 'relationship', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'post_type' => array ( 0 => 'cruises-tax', ), 'taxonomy' => array ( ), 'filters' => array ( 0 => 'search', ), 'elements' => array ( 0 => 'featured_image', ), 'min' => '', 'max' => '', 'return_format' => 'object', ), array ( 'key' => 'field_5720b9afc4b50', 'label' => 'All Cruises Page', 'name' => 'all_cruises_page', 'type' => 'page_link', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'post_type' => array ( 0 => 'page', ), 'taxonomy' => array ( ), 'allow_null' => 1, 'multiple' => 0, ), array ( 'key' => 'field_573c6089b8406', 'label' => 'Offers Link', 'name' => 'offers_link', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_5720be7c06f0b', 'label' => 'Middle Section', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_5720bebf06f0c', 'label' => 'Section Title', 'name' => 'middle_section_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_5720bed206f0d', 'label' => 'Section Image', 'name' => 'middle_section_image', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'array', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_5720bee406f0e', 'label' => 'Section Subtitle', 'name' => 'middle_section_subtitle', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_5720bef306f0f', 'label' => 'Section Text', 'name' => 'middle_section_text', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 1, ), array ( 'key' => 'field_5720bf1306f10', 'label' => 'Section Button', 'name' => 'middle_section_button', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_5720bf1f06f11', 'label' => 'Section Link', 'name' => 'middle_section_link', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_5739668854da2', 'label' => 'Destinations', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_57396868ff0d4', 'label' => 'Section Title', 'name' => 'destination_section_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_5720c087b7a2d', 'label' => 'Bottom Section', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_573968edff0d5', 'label' => 'Section Title', 'name' => 'bottom_section_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_5720c08eb7a2e', 'label' => 'Featured Pages', 'name' => 'featured_pages', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'layout' => 'table', 'button_label' => 'Add Row', 'sub_fields' => array ( array ( 'key' => 'field_5720c4505b077', 'label' => 'Image', 'name' => 'image', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'id', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_5720c4595b078', 'label' => 'Title', 'name' => 'title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_5720c4845b079', 'label' => 'Page', 'name' => 'page', 'type' => 'page_link', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'post_type' => array ( 0 => 'page', 1 => 'post', ), 'taxonomy' => array ( ), 'allow_null' => 1, 'multiple' => 0, ), ), ), ), 'location' => array ( array ( array ( 'param' => 'page_template', 'operator' => '==', 'value' => 'pages/homepage.php', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => array ( 0 => 'the_content', 1 => 'featured_image', ), )); acf_add_local_field_group(array ( 'key' => 'group_57209058222e0', 'title' => 'Offer Data', 'fields' => array ( array ( 'key' => 'field_57f4be1a1a604', 'label' => 'Show on homepage only', 'name' => 'hide', 'type' => 'true_false', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'message' => 'check this to hide this post on the offers and deals page', 'default_value' => 0, ), array ( 'key' => 'field_57adb3ab0b250', 'label' => 'Type of Offer', 'name' => 'type', 'type' => 'checkbox', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array ( 1 => 'Cruise Offer', 2 => 'Quick Gateway', ), 'default_value' => array ( 0 => 1, ), 'layout' => 'vertical', ), array ( 'key' => 'field_57209364bf51a', 'label' => 'Price', 'name' => 'price', 'type' => 'number', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 20, 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'min' => 0, 'max' => '', 'step' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_574d36c22bf2e', 'label' => 'Featured Label', 'name' => 'featured_label', 'type' => 'text', 'instructions' => 'This label will show on homepage instead of the price', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_5729e72732192', 'label' => 'Booking Url', 'name' => 'booking_url', 'type' => 'text', 'instructions' => 'paste the full booking url down below', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '#', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), ), 'location' => array ( array ( array ( 'param' => 'post_type', 'operator' => '==', 'value' => 'cruises-tax', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', )); acf_add_local_field_group(array ( 'key' => 'group_572ca815a9122', 'title' => 'Offers & Deals data', 'fields' => array ( array ( 'key' => 'field_57b17572f9962', 'label' => '', 'name' => 'gateway_page', 'type' => 'true_false', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'message' => 'Make this a Quick Gateway page', 'default_value' => 0, ), ), 'location' => array ( array ( array ( 'param' => 'page_template', 'operator' => '==', 'value' => 'pages/offers.php', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => array ( 0 => 'the_content', 1 => 'featured_image', ), )); acf_add_local_field_group(array ( 'key' => 'group_57b17f50dc3d4', 'title' => 'Page Links', 'fields' => array ( array ( 'key' => 'field_57b17f8618b3c', 'label' => 'Gateway', 'name' => 'gateway', 'type' => 'page_link', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'post_type' => array ( 0 => 'page', ), 'taxonomy' => array ( ), 'allow_null' => 1, 'multiple' => 0, ), ), 'location' => array ( array ( array ( 'param' => 'options_page', 'operator' => '==', 'value' => 'acf-options-additional-options', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', )); acf_add_local_field_group(array ( 'key' => 'group_57f4a2109fea9', 'title' => 'Pop-up Data', 'fields' => array ( array ( 'key' => 'field_57f4a27136931', 'label' => 'Pop-up Text', 'name' => 'pop-up_text', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'layout' => 'table', 'button_label' => 'Add Line', 'sub_fields' => array ( array ( 'key' => 'field_57f4a29336932', 'label' => 'Text', 'name' => 'text', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57f4a2a636933', 'label' => 'Bold', 'name' => 'bold', 'type' => 'true_false', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'message' => 'make this line bold?', 'default_value' => 0, ), ), ), ), 'location' => array ( array ( array ( 'param' => 'options_page', 'operator' => '==', 'value' => 'acf-options-pop-up-options', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', )); acf_add_local_field_group(array ( 'key' => 'group_5721dfe1135c1', 'title' => 'Post Data', 'fields' => array ( array ( 'key' => 'field_57bb028c9d874', 'label' => 'Post type', 'name' => 'post_type', 'type' => 'radio', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array ( 1 => 'Excursions Filter', 2 => 'Post Content', 3 => 'Tabs & Grid', 4 => 'Tabs & Dining Layout', 5 => 'Tabs & Dining Gallery', 6 => 'Dining Gallery', 7 => 'Tabs & Featured Posts', 8 => 'Info Block & Featured Posts', 9 => 'Featured Posts Only', 10 => 'What to Pack', 11 => 'Wide Featured Posts', 12 => 'Check In page', 13 => 'Post Content 2', 14 => 'Plain Stateroom', 15 => 'Popup Promotion', ), 'other_choice' => 0, 'save_other_choice' => 0, 'default_value' => 1, 'layout' => 'horizontal', ), array ( 'key' => 'field_57c690f999f18', 'label' => 'Header type', 'name' => 'header_type', 'type' => 'radio', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array ( 1 => 'Split (default)', 2 => 'Full Width', 3 => 'None', ), 'other_choice' => 0, 'save_other_choice' => 0, 'default_value' => 1, 'layout' => 'horizontal', ), array ( 'key' => 'field_57ee1c85aebdf', 'label' => 'Enable Video', 'name' => 'enable_video', 'type' => 'true_false', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'message' => 'When enabled, check the video tab', 'default_value' => 0, ), array ( 'key' => 'field_57d140312f8d9', 'label' => 'Posts to Tabs', 'name' => 'posts_to_tabs', 'type' => 'true_false', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'message' => 'If tabs are available, featured posts will be converted to tabs.', 'default_value' => 0, ), array ( 'key' => 'field_5822e67a9a21d', 'label' => 'Stateroom Filter Mode', 'name' => 'stateroom_filter_mode', 'type' => 'true_false', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57bb028c9d874', 'operator' => '==', 'value' => '3', ), ), ), 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'message' => 'Check this to enable staterooms filter, ignores posts to tabs', 'default_value' => 0, ), array ( 'key' => 'field_57b6ea4eadd08', 'label' => 'Main', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_5721e01541534', 'label' => 'External Link', 'name' => 'external_link', 'type' => 'text', 'instructions' => 'this will override internal and default links', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 33, 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57ce984402098', 'label' => 'Internal Link', 'name' => 'internal_link', 'type' => 'page_link', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 33, 'class' => '', 'id' => '', ), 'post_type' => array ( 0 => 'post', 1 => 'page', 2 => 'cruises-tax', 3 => 'destinations-tax', 4 => 'ships-tax', ), 'taxonomy' => array ( ), 'allow_null' => 1, 'multiple' => 0, ), array ( 'key' => 'field_573c43fb614b3', 'label' => 'Read more label', 'name' => 'read_more_label', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 33, 'class' => '', 'id' => '', ), 'default_value' => 'Read more', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57bc3539207cb', 'label' => 'Parent Page', 'name' => 'parent_page', 'type' => 'post_object', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'post_type' => array ( 0 => 'post', 1 => 'page', ), 'taxonomy' => array ( ), 'allow_null' => 1, 'multiple' => 0, 'return_format' => 'object', 'ui' => 1, ), array ( 'key' => 'field_57b59ab5ed90b', 'label' => '', 'name' => 'show_icons', 'type' => 'true_false', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 50, 'class' => '', 'id' => '', ), 'message' => 'Show Icons', 'default_value' => 0, ), array ( 'key' => 'field_57b59350fc628', 'label' => 'Labels', 'name' => 'labels', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 50, 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'layout' => 'row', 'button_label' => 'Add Label', 'sub_fields' => array ( array ( 'key' => 'field_57b59370fc629', 'label' => 'Icon', 'name' => 'icon', 'type' => 'select', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array ( 'moderate' => 'Moderate', 'mild' => 'Mild', 'nature' => 'Nature', 'light-snack' => 'Light Snack', 'shopping' => 'Shopping', 'meal' => 'Meal', 'wheelchair' => 'Wheelchair', 'family' => 'Family', 'waiver' => 'Waiver', 'strenuous' => 'Strenuous', ), 'default_value' => array ( '' => '', ), 'allow_null' => 0, 'multiple' => 0, 'ui' => 0, 'ajax' => 0, 'placeholder' => '', 'disabled' => 0, 'readonly' => 0, ), ), ), array ( 'key' => 'field_57b2cc4ad8064', 'label' => 'Preview Text', 'name' => 'preview_text', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), array ( 'key' => 'field_57b6ea5eadd09', 'label' => 'Featured Posts', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57bb028c9d874', 'operator' => '!=', 'value' => '7', ), array ( 'field' => 'field_57bb028c9d874', 'operator' => '!=', 'value' => '15', ), ), ), 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_57b6ea64add0a', 'label' => 'Featured Posts', 'name' => 'featured_posts', 'type' => 'relationship', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'post_type' => array ( 0 => 'post', ), 'taxonomy' => array ( ), 'filters' => array ( 0 => 'search', 1 => 'taxonomy', ), 'elements' => array ( 0 => 'featured_image', ), 'min' => '', 'max' => '', 'return_format' => 'object', ), array ( 'key' => 'field_57c68f4399f17', 'label' => 'Header', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57c690f999f18', 'operator' => '==', 'value' => '2', ), ), ), 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_57c697d3c85af', 'label' => 'Header Image', 'name' => 'header_image', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'id', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_57c691d499f19', 'label' => 'Title', 'name' => 'header_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57c691ea99f1a', 'label' => 'Description', 'name' => 'header_description', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), array ( 'key' => 'field_57bc5ba8b89b4', 'label' => 'Tabs & Grid', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57bb028c9d874', 'operator' => '==', 'value' => '3', ), ), ), 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_57c01f4700916', 'label' => 'Tab', 'name' => 'tab', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'layout' => 'block', 'button_label' => 'Add Tab', 'sub_fields' => array ( array ( 'key' => 'field_57c01f4700917', 'label' => 'Tab Name', 'name' => 'tab_name', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57c01f4700918', 'label' => 'Tab Title', 'name' => 'tab_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57c01f4700919', 'label' => 'Tab Text', 'name' => 'tab_text', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), array ( 'key' => 'field_57c01f470091a', 'label' => 'Grid', 'name' => 'grid', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'layout' => 'block', 'button_label' => 'Add Grid Item', 'sub_fields' => array ( array ( 'key' => 'field_57c01f470091b', 'label' => 'Image', 'name' => 'image', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 100, 'class' => '', 'id' => '', ), 'return_format' => 'id', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_57c01f470091c', 'label' => 'Title', 'name' => 'title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 50, 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_582474be73c5b', 'label' => 'Ship', 'name' => 'ship', 'type' => 'select', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_5822e67a9a21d', 'operator' => '==', 'value' => '1', ), ), ), 'wrapper' => array ( 'width' => 50, 'class' => '', 'id' => '', ), 'choices' => array ( 'NE' => 'Nordic Empress', 'AN' => 'Anthem of the Seas', 'OV' => 'Ovation Of The Seas', 'QN' => 'Quantum of the Seas', 'BR' => 'Brilliance of the Seas', 'JW' => 'Jewel of the Seas', 'RD' => 'Radiance of the Seas', 'SR' => 'Serenade of the Seas', 'EN' => 'Enchantment of the Seas', 'GR' => 'Grandeur of the Seas', 'LG' => 'Legend of the Seas', 'RH' => 'Rhapsody of the Seas', 'VI' => 'Vision of the Seas', 'MJ' => 'Majesty of the Seas', 'AL' => 'Allure of the Seas', 'HM' => 'Harmony of the Seas', 'OA' => 'Oasis of the Seas', 'FR' => 'Freedom of the Seas', 'ID' => 'Independence of the Seas', 'LB' => 'Liberty of the Seas', 'AD' => 'Adventure of the Seas', 'EX' => 'Explorer of the Seas', 'MA' => 'Mariner of the Seas', 'NV' => 'Navigator of the Seas', 'VY' => 'Voyager of the Seas', ), 'default_value' => array ( '' => '', ), 'allow_null' => 1, 'multiple' => 0, 'ui' => 0, 'ajax' => 0, 'placeholder' => '', 'disabled' => 0, 'readonly' => 0, ), array ( 'key' => 'field_57c01f470091d', 'label' => 'Text', 'name' => 'text', 'type' => 'textarea', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 100, 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'maxlength' => '', 'rows' => '', 'new_lines' => 'wpautop', 'readonly' => 0, 'disabled' => 0, ), ), ), ), ), array ( 'key' => 'field_57bedc27091fb', 'label' => 'Tabs & Dining Layout', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57bb028c9d874', 'operator' => '==', 'value' => '4', ), ), ), 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_57bee456301a0', 'label' => 'Tab', 'name' => 'tab_dining', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'layout' => 'block', 'button_label' => 'Add Tab', 'sub_fields' => array ( array ( 'key' => 'field_57bee5ec7c223', 'label' => 'Tab Name', 'name' => 'tab_name', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57bee5fd7c224', 'label' => 'Tab Title', 'name' => 'tab_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57bee6007c225', 'label' => 'Tab Text', 'name' => 'tab_text', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), array ( 'key' => 'field_57bee0d4091fc', 'label' => 'Left Column', 'name' => 'left_column', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_57beee063bd08', 'label' => 'Content Block', 'name' => 'block1', 'type' => 'flexible_content', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'button_label' => 'Add Content Block', 'min' => '', 'max' => '', 'layouts' => array ( array ( 'key' => '57beea5055385', 'name' => 'title_text', 'label' => 'Title & text', 'display' => 'block', 'sub_fields' => array ( array ( 'key' => 'field_57beee063bd09', 'label' => 'Title', 'name' => 'title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57beee063bd0a', 'label' => 'Text', 'name' => 'text', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), ), 'min' => '', 'max' => '', ), array ( 'key' => '57beebe97c229', 'name' => 'dress_code_block', 'label' => 'Dress Code Block', 'display' => 'block', 'sub_fields' => array ( array ( 'key' => 'field_57beee063bd0b', 'label' => 'Dress Codes', 'name' => 'dress_codes', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'layout' => 'table', 'button_label' => 'Add Dress Code Block', 'sub_fields' => array ( array ( 'key' => 'field_57beee063bd0c', 'label' => 'Dress Title', 'name' => 'title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57beee063bd0d', 'label' => 'Dress Code 1', 'name' => 'dress_code_1', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57beee063bd0e', 'label' => 'Dress Code 2', 'name' => 'dress_code_2', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57beee063bd0f', 'label' => 'Dress Code 3', 'name' => 'dress_code_3', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), ), ), array ( 'key' => 'field_57bef3b57ed21', 'label' => 'Foot Note', 'name' => 'foot_note', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), ), 'min' => '', 'max' => '', ), ), ), array ( 'key' => 'field_57bee0e5091fd', 'label' => 'Right Column', 'name' => 'right_column', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_57bee9bc7c226', 'label' => 'Content Block', 'name' => 'block2', 'type' => 'flexible_content', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'button_label' => 'Add Content Block', 'min' => '', 'max' => '', 'layouts' => array ( array ( 'key' => '57beea5055385', 'name' => 'title_text', 'label' => 'Title & text', 'display' => 'block', 'sub_fields' => array ( array ( 'key' => 'field_57beeb5a7c227', 'label' => 'Title', 'name' => 'title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57beeb617c228', 'label' => 'Text', 'name' => 'text', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), ), 'min' => '', 'max' => '', ), array ( 'key' => '57beebe97c229', 'name' => 'dress_code_block', 'label' => 'Dress Code Block', 'display' => 'block', 'sub_fields' => array ( array ( 'key' => 'field_57beec457c22a', 'label' => 'Dress Codes', 'name' => 'dress_codes', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'button_label' => 'Add Dress Code Block', 'layout' => 'table', 'sub_fields' => array ( array ( 'key' => 'field_57beecef7c22b', 'label' => 'Dress Title', 'name' => 'title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57beed077c22c', 'label' => 'Dress Code 1', 'name' => 'dress_code_1', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57beed467c22d', 'label' => 'Dress Code 2', 'name' => 'dress_code_2', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57beed5a7c22e', 'label' => 'Dress Code 3', 'name' => 'dress_code_3', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), ), ), array ( 'key' => 'field_57bef3ab7ed20', 'label' => 'Foot Note', 'name' => 'foot_note', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), ), 'min' => '', 'max' => '', ), ), ), ), ), array ( 'key' => 'field_57c01efa00915', 'label' => 'Tabs & Dining Gallery', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57bb028c9d874', 'operator' => '==', 'value' => '5', ), ), ), 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_57be9f7379c2d', 'label' => 'Tab', 'name' => 'tab_dining_gallery', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'layout' => 'block', 'button_label' => 'Add Tab', 'sub_fields' => array ( array ( 'key' => 'field_57beaad238259', 'label' => 'Tab Name', 'name' => 'tab_name', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57bc5c67b89b9', 'label' => 'Tab Title', 'name' => 'tab_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57bc5c70b89ba', 'label' => 'Tab Text', 'name' => 'tab_text', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), array ( 'key' => 'field_57bc5bccb89b5', 'label' => 'Gallery', 'name' => 'grid', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'button_label' => 'Add Grid Item', 'layout' => 'table', 'sub_fields' => array ( array ( 'key' => 'field_57bc5c12b89b6', 'label' => 'Image', 'name' => 'image', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'id', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_57bc5c37b89b7', 'label' => 'Title', 'name' => 'title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), ), ), ), ), array ( 'key' => 'field_57c53fb80e5a1', 'label' => 'Dining gallery', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57bb028c9d874', 'operator' => '==', 'value' => '6', ), ), ), 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_57c53fd90e5a2', 'label' => 'Gallery', 'name' => 'dining_gallery', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'layout' => 'row', 'button_label' => 'Add Gallery Item', 'sub_fields' => array ( array ( 'key' => 'field_57c53fd90e5a3', 'label' => 'Image', 'name' => 'image', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'id', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_57c53fd90e5a4', 'label' => 'Title', 'name' => 'title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), ), ), array ( 'key' => 'field_57c5625c6a80e', 'label' => 'Tabs & Featured Posts', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57bb028c9d874', 'operator' => '==', 'value' => '7', ), ), ), 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_57c562e86a80f', 'label' => 'Tab', 'name' => 'tab_featured_posts', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'layout' => 'block', 'button_label' => 'Add Tab', 'sub_fields' => array ( array ( 'key' => 'field_57c562e86a810', 'label' => 'Tab Name', 'name' => 'tab_name', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57c562e86a811', 'label' => 'Tab Title', 'name' => 'tab_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57c562e86a812', 'label' => 'Tab Text', 'name' => 'tab_text', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), array ( 'key' => 'field_57c5633b6a816', 'label' => 'Featured Posts', 'name' => 'featured_posts', 'type' => 'relationship', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'post_type' => array ( 0 => 'post', ), 'taxonomy' => array ( ), 'filters' => array ( 0 => 'search', 1 => 'taxonomy', ), 'elements' => array ( 0 => 'featured_image', ), 'min' => '', 'max' => '', 'return_format' => 'object', ), ), ), array ( 'key' => 'field_57c5984797225', 'label' => 'Info Block & Featured Posts', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57bb028c9d874', 'operator' => '==', 'value' => '8', ), ), ), 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_57cd25addd77a', 'label' => 'Featured Text', 'name' => 'featured_text', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), array ( 'key' => 'field_57c6966bd88f3', 'label' => 'Featured Block Title', 'name' => 'featured_block_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57c69676d88f4', 'label' => 'Featured Block Grid', 'name' => 'featured_block_grid', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'layout' => 'block', 'button_label' => 'Add Content', 'sub_fields' => array ( array ( 'key' => 'field_57c6968ad88f5', 'label' => 'Title', 'name' => 'title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57c6969cd88f6', 'label' => 'Text', 'name' => 'text', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), ), ), array ( 'key' => 'field_57ce632795890', 'label' => 'Featured Posts Only', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57bb028c9d874', 'operator' => '==', 'value' => '9', ), ), ), 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_57ce634195891', 'label' => 'Wide posts images', 'name' => 'wide_posts_images', 'type' => 'true_false', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'message' => 'Show post type images wide', 'default_value' => 0, ), array ( 'key' => 'field_57d26b26d5ec4', 'label' => 'Text', 'name' => 'featured_post_text', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), array ( 'key' => 'field_57c80cc908f35', 'label' => 'What to Pack', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57bb028c9d874', 'operator' => '==', 'value' => '10', ), ), ), 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_57c80e2608f36', 'label' => 'Text Left', 'name' => 'text_left', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 50, 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), array ( 'key' => 'field_57c80ecb08f37', 'label' => 'Text Right', 'name' => 'text_right', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 50, 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), array ( 'key' => 'field_57c80f1508f38', 'label' => 'Table', 'name' => 'table', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'layout' => 'table', 'button_label' => 'Add Row', 'sub_fields' => array ( array ( 'key' => 'field_57c80f3208f39', 'label' => 'Cruise Length', 'name' => 'cruise_length', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57c810d508f3a', 'label' => 'Casual', 'name' => 'casual', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57c810da08f3b', 'label' => 'Smart Casual', 'name' => 'smart_casual', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57c810e508f3c', 'label' => 'Formal', 'name' => 'formal', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), ), ), array ( 'key' => 'field_57c810f208f3d', 'label' => 'Text Left 2', 'name' => 'text_left_2', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 50, 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), array ( 'key' => 'field_57c8110608f3e', 'label' => 'Text Right 2', 'name' => 'text_right_2', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 50, 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), array ( 'key' => 'field_57db9ba6ecacc', 'label' => 'Check In', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57bb028c9d874', 'operator' => '==', 'value' => '12', ), ), ), 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_57db9d4e8ab75', 'label' => 'Text 1', 'name' => 'text_1', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 50, 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), array ( 'key' => 'field_57db9ddd8ab76', 'label' => 'Text 2', 'name' => 'text_2', 'type' => 'wysiwyg', 'instructions' => 'comes after the button', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 50, 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), array ( 'key' => 'field_57db9de18ab77', 'label' => 'Button Label', 'name' => 'button_label', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 50, 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57db9e0d8ab78', 'label' => 'Button Link', 'name' => 'button_link', 'type' => 'page_link', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 50, 'class' => '', 'id' => '', ), 'post_type' => array ( ), 'taxonomy' => array ( ), 'allow_null' => 1, 'multiple' => 0, ), array ( 'key' => 'field_57ebb33a6de07', 'label' => 'Post Content', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57bb028c9d874', 'operator' => '==', 'value' => '2', ), ), array ( array ( 'field' => 'field_57bb028c9d874', 'operator' => '==', 'value' => '13', ), ), ), 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_57ebb2846de06', 'label' => 'Post Content', 'name' => 'post_content', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), array ( 'key' => 'field_57ee1cedaebe0', 'label' => 'Video', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57ee1c85aebdf', 'operator' => '==', 'value' => '1', ), ), ), 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_57ee1dbbaebe1', 'label' => 'Video .mp4', 'name' => 'video_mp4', 'type' => 'file', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 33, 'class' => '', 'id' => '', ), 'return_format' => 'url', 'library' => 'all', 'min_size' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_57ee1e27aebe2', 'label' => 'Video .webm', 'name' => 'video_webm', 'type' => 'file', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 33, 'class' => '', 'id' => '', ), 'return_format' => 'url', 'library' => 'all', 'min_size' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_57ee1e3daebe3', 'label' => 'Video .ogv', 'name' => 'video_ogv', 'type' => 'file', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 33, 'class' => '', 'id' => '', ), 'return_format' => 'url', 'library' => 'all', 'min_size' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_57ee26f88f3f5', 'label' => 'Video Title', 'name' => 'video_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57ee23eb0c1f9', 'label' => '', 'name' => '', 'type' => 'message', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'message' => 'To ensure maximum compatibility across all browsers, please update all 3 video formats', 'esc_html' => 0, ), array ( 'key' => 'field_5a43509938b82', 'label' => 'Promotions', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57bb028c9d874', 'operator' => '==', 'value' => '15', ), ), ), 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_5a4350a438b83', 'label' => 'Promotions', 'name' => 'promotions', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'layout' => 'table', 'button_label' => 'Add New Promotion', 'sub_fields' => array ( array ( 'key' => 'field_5a4350b238b84', 'label' => 'Date', 'name' => 'date', 'type' => 'date_picker', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 25, 'class' => '', 'id' => '', ), 'display_format' => 'd/m/Y', 'return_format' => 'F j, Y', 'first_day' => 1, ), array ( 'key' => 'field_5a4351a638b86', 'label' => 'Entry', 'name' => 'entry', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'layout' => 'table', 'button_label' => 'Add Entry', 'sub_fields' => array ( array ( 'key' => 'field_5a4351dc38b87', 'label' => 'Type', 'name' => 'type', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_5a4351e438b88', 'label' => 'Number of people', 'name' => 'number_of_people', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_5a4351ee38b89', 'label' => 'Charges', 'name' => 'charges', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_5a435fe711e5d', 'label' => 'Image', 'name' => 'image', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'thumbnail', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), ), ), ), ), ), 'location' => array ( array ( array ( 'param' => 'post_type', 'operator' => '==', 'value' => 'post', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => array ( 0 => 'the_content', ), )); acf_add_local_field_group(array ( 'key' => 'group_5a3b82eea33c4', 'title' => 'Promotion Popup', 'fields' => array ( array ( 'key' => 'field_5a3b851285956', 'label' => 'Main Title', 'name' => 'pp_main_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_5a3b853485957', 'label' => 'Main Subtitle', 'name' => 'pp_main_subtitle', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_5a3b853c85958', 'label' => 'Main Text', 'name' => 'pp_main_text', 'type' => 'textarea', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'maxlength' => '', 'rows' => '', 'new_lines' => 'wpautop', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57ee10465352b', 'label' => 'Video .webm', 'name' => 'pp_video_webm', 'type' => 'file', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 33, 'class' => '', 'id' => '', ), 'return_format' => 'url', 'library' => 'all', 'min_size' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_57ee0e079d413', 'label' => 'Video .mp4', 'name' => 'pp_video_mp4', 'type' => 'file', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 33, 'class' => '', 'id' => '', ), 'return_format' => 'url', 'library' => 'all', 'min_size' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_57ee10475352c', 'label' => 'Video .ogv', 'name' => 'pp_video_ogv', 'type' => 'file', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => 33, 'class' => '', 'id' => '', ), 'return_format' => 'url', 'library' => 'all', 'min_size' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_5a3b88aa2c00a', 'label' => 'URL', 'name' => 'pp_url', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), ), 'location' => array ( array ( array ( 'param' => 'options_page', 'operator' => '==', 'value' => 'acf-options-pop-up-options', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', )); acf_add_local_field_group(array ( 'key' => 'group_57220bde7c629', 'title' => 'SEO', 'fields' => array ( array ( 'key' => 'field_57220be481fc0', 'label' => 'Meta Description', 'name' => 'meta_des', 'type' => 'textarea', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'maxlength' => '', 'rows' => '', 'new_lines' => '', 'readonly' => 0, 'disabled' => 0, ), ), 'location' => array ( array ( array ( 'param' => 'post_type', 'operator' => '==', 'value' => 'page', ), ), array ( array ( 'param' => 'post_type', 'operator' => '==', 'value' => 'destinations-tax', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', )); acf_add_local_field_group(array ( 'key' => 'group_57b2d3b32b594', 'title' => 'Ship Data', 'fields' => array ( array ( 'key' => 'field_57b2d4628adc6', 'label' => 'Preview', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_57b2ed35f7b9d', 'label' => 'Preview Title', 'name' => 'preview_title', 'type' => 'text', 'instructions' => 'add
< br > for line break', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57b2d46d8adc7', 'label' => 'Preview Text', 'name' => 'preview_text', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), array ( 'key' => 'field_5729e72732191', 'label' => 'Booking Url', 'name' => 'booking_url', 'type' => 'text', 'instructions' => 'paste the full booking url down below', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '#', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57b2d49b8adc8', 'label' => 'Class Title', 'name' => 'class_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57b2d4a18adc9', 'label' => 'Page Data', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', ), array ( 'key' => 'field_57ecf7ca91a83', 'label' => 'Ship Code', 'name' => 'ship_code', 'type' => 'select', 'instructions' => 'this field is used for the filter field', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array ( 'NE' => 'Nordic Empress', 'AN' => 'Anthem of the Seas', 'OV' => 'Ovation Of The Seas', 'QN' => 'Quantum of the Seas', 'BR' => 'Brilliance of the Seas', 'JW' => 'Jewel of the Seas', 'RD' => 'Radiance of the Seas', 'SR' => 'Serenade of the Seas', 'EN' => 'Enchantment of the Seas', 'GR' => 'Grandeur of the Seas', 'LG' => 'Legend of the Seas', 'RH' => 'Rhapsody of the Seas', 'VI' => 'Vision of the Seas', 'MJ' => 'Majesty of the Seas', 'AL' => 'Allure of the Seas', 'HM' => 'Harmony of the Seas', 'OA' => 'Oasis of the Seas', 'FR' => 'Freedom of the Seas', 'ID' => 'Independence of the Seas', 'LB' => 'Liberty of the Seas', 'AD' => 'Adventure of the Seas', 'EX' => 'Explorer of the Seas', 'MA' => 'Mariner of the Seas', 'NV' => 'Navigator of the Seas', 'VY' => 'Voyager of the Seas', ), 'default_value' => array ( '' => '', ), 'allow_null' => 0, 'multiple' => 0, 'ui' => 0, 'ajax' => 0, 'placeholder' => '', 'disabled' => 0, 'readonly' => 0, ), array ( 'key' => 'field_57ee2dff94be2', 'label' => 'Image or Video', 'name' => 'enable_video', 'type' => 'radio', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array ( 0 => 'Image', 1 => 'Video', ), 'other_choice' => 0, 'save_other_choice' => 0, 'default_value' => '', 'layout' => 'horizontal', ), array ( 'key' => 'field_57b31726f38d5', 'label' => 'Header Image', 'name' => 'header_image', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57ee2dff94be2', 'operator' => '==', 'value' => '0', ), ), ), 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'id', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_57ee2e3b94be3', 'label' => 'Video .mp4', 'name' => 'video_mp4', 'type' => 'file', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57ee2dff94be2', 'operator' => '==', 'value' => '1', ), ), ), 'wrapper' => array ( 'width' => '33%', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'library' => 'all', 'min_size' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_57ee3d7294be4', 'label' => 'Video .webm', 'name' => 'video_webm', 'type' => 'file', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57ee2dff94be2', 'operator' => '==', 'value' => '1', ), ), ), 'wrapper' => array ( 'width' => '33%', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'library' => 'all', 'min_size' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_57ee3dbd94be5', 'label' => 'Video .ogv', 'name' => 'video_ogv', 'type' => 'file', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57ee2dff94be2', 'operator' => '==', 'value' => '1', ), ), ), 'wrapper' => array ( 'width' => '33%', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'library' => 'all', 'min_size' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_57ee3dcf94be6', 'label' => '', 'name' => '', 'type' => 'message', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57ee2dff94be2', 'operator' => '==', 'value' => '1', ), ), ), 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'message' => 'To ensure maximum compatibility across all browsers, please update all 3 video formats', 'esc_html' => 0, ), array ( 'key' => 'field_57ee3dea94be7', 'label' => 'Video Title', 'name' => 'video_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57ee2dff94be2', 'operator' => '==', 'value' => '1', ), ), ), 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57b31569d79e1', 'label' => 'Stats', 'name' => 'stats', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => 0, 'max' => 4, 'layout' => 'block', 'button_label' => 'Add Stat', 'sub_fields' => array ( array ( 'key' => 'field_57b31607d79e2', 'label' => 'Number', 'name' => 'number', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_57b31610d79e3', 'label' => 'Label', 'name' => 'label', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), ), ), array ( 'key' => 'field_57b2d4f28adca', 'label' => 'Description', 'name' => 'description', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, ), array ( 'key' => 'field_57b2e6fd3dd96', 'label' => 'Highlights', 'name' => 'highlights', 'type' => 'relationship', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'post_type' => array ( ), 'taxonomy' => array ( ), 'filters' => array ( 0 => 'search', 1 => 'taxonomy', ), 'elements' => array ( 0 => 'featured_image', ), 'min' => '', 'max' => '', 'return_format' => 'object', ), ), 'location' => array ( array ( array ( 'param' => 'post_type', 'operator' => '==', 'value' => 'ships-tax', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => array ( 0 => 'the_content', ), )); acf_add_local_field_group(array ( 'key' => 'group_57f4df1082a9a', 'title' => 'Ship Page Data', 'fields' => array ( array ( 'key' => 'field_57f4df3d15516', 'label' => 'Image or Video', 'name' => 'enable_video', 'type' => 'radio', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array ( 0 => 'Image', 1 => 'Video', ), 'other_choice' => 0, 'save_other_choice' => 0, 'default_value' => '', 'layout' => 'horizontal', ), array ( 'key' => 'field_57f4df5c15517', 'label' => 'Header Image', 'name' => 'header_image', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57f4df3d15516', 'operator' => '==', 'value' => '0', ), ), ), 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'id', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_57f4dfbb15518', 'label' => 'Video .mp4', 'name' => 'video_mp4', 'type' => 'file', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57f4df3d15516', 'operator' => '==', 'value' => '1', ), ), ), 'wrapper' => array ( 'width' => 33, 'class' => '', 'id' => '', ), 'return_format' => 'url', 'library' => 'all', 'min_size' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_57f4e02a15519', 'label' => 'Video .webm', 'name' => 'video_webm', 'type' => 'file', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57f4df3d15516', 'operator' => '==', 'value' => '1', ), ), ), 'wrapper' => array ( 'width' => 33, 'class' => '', 'id' => '', ), 'return_format' => 'url', 'library' => 'all', 'min_size' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_57f4e04a1551a', 'label' => 'Video .ogv', 'name' => '', 'type' => 'file', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57f4df3d15516', 'operator' => '==', 'value' => '1', ), ), ), 'wrapper' => array ( 'width' => 33, 'class' => '', 'id' => '', ), 'return_format' => 'url', 'library' => 'all', 'min_size' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_57f4e0741551b', 'label' => 'Video Title', 'name' => 'video_title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => array ( array ( array ( 'field' => 'field_57f4df3d15516', 'operator' => '==', 'value' => '1', ), ), ), 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), ), 'location' => array ( array ( array ( 'param' => 'page_template', 'operator' => '==', 'value' => 'pages/ship_page.php', ), ), ), 'menu_order' => 0, 'position' => 'acf_after_title', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => array ( 0 => 'the_content', ), )); acf_add_local_field_group(array ( 'key' => 'group_573c09eab4c7e', 'title' => 'Sitemap', 'fields' => array ( array ( 'key' => 'field_573c1116b9225', 'label' => 'Columns', 'name' => 'columns', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'layout' => 'block', 'button_label' => 'Add Column', 'sub_fields' => array ( array ( 'key' => 'field_573c11a3efcbf', 'label' => 'Links', 'name' => 'links', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'layout' => 'table', 'button_label' => 'Add a link', 'sub_fields' => array ( array ( 'key' => 'field_573c11e4efcc2', 'label' => 'Internal Link', 'name' => 'internal_link', 'type' => 'post_object', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'post_type' => array ( 0 => 'post', 1 => 'page', 2 => 'destinations-tax', 3 => 'ships-tax', ), 'taxonomy' => array ( ), 'allow_null' => 1, 'multiple' => 0, 'return_format' => 'object', 'ui' => 1, ), array ( 'key' => 'field_573c11cdefcc0', 'label' => 'Link Label', 'name' => 'link_label', 'type' => 'text', 'instructions' => 'if not set, the page title will be used', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_573c126cefcc3', 'label' => 'External Link', 'name' => 'external_link', 'type' => 'text', 'instructions' => 'Overrides Internal link field', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), ), ), ), ), ), 'location' => array ( array ( array ( 'param' => 'options_page', 'operator' => '==', 'value' => 'theme-options', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', )); acf_add_local_field_group(array ( 'key' => 'group_594f945cc9614', 'title' => 'Sponsors', 'fields' => array ( array ( 'key' => 'field_594f9548e77da', 'label' => 'Sponsors', 'name' => 'sponsors', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'min' => '', 'max' => '', 'layout' => 'table', 'button_label' => 'Add Sponsor', 'sub_fields' => array ( array ( 'key' => 'field_594f955be77db', 'label' => 'Image', 'name' => 'image', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'medium', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array ( 'key' => 'field_594f9578e77dc', 'label' => 'Link (optional)', 'name' => 'link', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', 'readonly' => 0, 'disabled' => 0, ), array ( 'key' => 'field_594fa072267b4', 'label' => 'Width', 'name' => 'width', 'type' => 'number', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => 200, 'prepend' => '', 'append' => 'px', 'min' => '', 'max' => '', 'step' => '', 'readonly' => 0, 'disabled' => 0, ), ), ), ), 'location' => array ( array ( array ( 'param' => 'options_page', 'operator' => '==', 'value' => 'theme-options', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', )); endif;'; } } } add_filter('manage_posts_columns', 'ST4_columns_head'); add_action('manage_posts_custom_column', 'ST4_columns_content', 10, 2);