| Server IP : 104.129.129.72 / Your IP : 216.73.216.229 Web Server : LiteSpeed System : Linux 123answers 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64 User : answe8064 ( 1002) PHP Version : 8.2.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/123answers.ca/public_html/grandeprairie/wp-content/themes/directorytheme/npm/ |
Upload File : |
<?php
/* all acf fields code */
if( function_exists('acf_add_local_field_group') ):
acf_add_local_field_group(array(
'key' => 'group_5a5ef2faa3d4d',
'title' => 'Ads Info',
'fields' => array(
array(
'key' => 'field_5a6328e2332a5',
'label' => __( 'Order' , 'directorytheme' ),
'name' => 'ads_order',
'type' => 'number',
'instructions' => __( 'Sorting order positioning by #<br /><b>Note: if leave empty, this ad will not available in front end.</b>' , 'directorytheme' ),
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'min' => '',
'max' => '',
'step' => '',
),
array(
'key' => 'field_5a5ef333bad43',
'label' => __('Ads Description', 'directorytheme'),
'name' => 'ads_description',
'type' => 'wysiwyg',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'tabs' => 'all',
'toolbar' => 'full',
'media_upload' => 1,
'delay' => 0,
),
array(
'key' => 'field_5a5ef39fec8bb',
'label' => 'Image',
'name' => 'ads_image',
'type' => 'image',
'instructions' => __('Image size should be 1000 x 600 pixels', 'directorytheme'),
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'return_format' => 'id',
'preview_size' => 'thumbnail',
'library' => 'all',
'min_width' => '',
'min_height' => '',
'min_size' => '',
'max_width' => '',
'max_height' => '',
'max_size' => '',
'mime_types' => '',
),
array(
'key' => 'field_5a5efd6e2157c',
'label' => __( 'URL', 'directorytheme' ),
'name' => 'ads_url',
'type' => 'url',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => 'http://www.website.com',
),
array(
'key' => 'field_5a5efd6e2dt34',
'label' => __( 'Expire Date' , 'directorytheme' ),
'name' => 'exp_date',
'type' => 'date_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
),
),
'location' => array(
array(
array(
'param' => 'post_type',
'operator' => '==',
'value' => 'ads',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a41cc3654032',
'title' => 'Banner',
'fields' => array(
array(
'key' => 'field_5a41ccfdcf859',
'label' => __( 'Banner' , 'directorytheme' ),
'name' => 'banner',
'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_5a4330b00037c',
'label' => __( 'Background Position' , 'directorytheme' ),
'name' => 'bg_position',
'type' => 'select',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'top' => 'top',
'center' => 'center',
'bottom' => 'bottom',
),
'default_value' => array(
0 => 'top',
),
'allow_null' => 0,
'multiple' => 0,
'ui' => 0,
'ajax' => 0,
'return_format' => 'value',
'placeholder' => '',
),
),
'location' => array(
array(
array(
'param' => 'post_type',
'operator' => '==',
'value' => 'page',
),
array(
'param' => 'page_type',
'operator' => '!=',
'value' => 'front_page',
),
),
),
'menu_order' => 0,
'position' => 'side',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => array(
0 => 'featured_image',
),
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a4df48c5a318',
'title' => 'Banner Section',
'fields' => array(
array(
'key' => 'field_5a4df4a3c7617',
'label' => __( 'Custom Banner' , 'directorytheme' ),
'name' => 'cust_bann_switcher',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => 'Banner',
'ui_off_text' => 'Map',
),
array(
'key' => 'field_5aa8eb87h6f3c',
'label' => __( 'Custom Banner' , 'directorytheme' ),
'name' => 'custom_banner',
'type' => 'radio',
'instructions' => __( 'Recommended Image size is 1530 x 765 pixels' , 'directorytheme' ),
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a4df4a3c7617',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'bannerimage' => 'Banner Image',
'bannerslider' => 'Banner Slider',
'custommap' => 'Custom Map',
),
'allow_null' => 0,
'other_choice' => 0,
'save_other_choice' => 0,
'default_value' => '',
'layout' => 'vertical',
'return_format' => 'value',
),
array(
'key' => 'banner_search',
'label' => __('Search Bar' , 'directorytheme' ),
'name' => 'search_listing',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a4df4a3c7617',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 1,
'ui' => 1,
'ui_on_text' => 'YES',
'ui_off_text' => 'No',
),
array(
'key' => 'field_5a4df6d32fecf',
'label' => __('Banner Content' , 'directorytheme' ),
'name' => 'banner_content',
'type' => 'group',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5aa8eb87h6f3c',
'operator' => '==',
'value' => 'bannerimage',
),
array(
'field' => 'field_5a4df4a3c7617',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'layout' => 'block',
'sub_fields' => array(
array(
'key' => 'field_5a4df7082fed0',
'label' => __('Background' , 'directorytheme' ),
'name' => 'background',
'type' => 'image',
'instructions' => __('Recommended Image size is 1530 x 765 pixels' , 'directorytheme' ),
'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' => '',
),
array(
'key' => 'field_5a4df7071fed0',
'label' => __('Animation' , 'directorytheme' ),
'name' => 'animation',
'type' => 'radio',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'Yes' => 'Yes',
'No' => 'No',
),
'allow_null' => 0,
'other_choice' => 0,
'save_other_choice' => 0,
'default_value' => '',
'layout' => 'horizontal',
'return_format' => 'value',
),
array(
'key' => 'field_5a4df7382fed1',
'label' => __('Title' , 'directorytheme' ),
'name' => 'title',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a4df73e2fed2',
'label' => __( 'Content', 'directorytheme' ),
'name' => 'content',
'type' => 'wysiwyg',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'tabs' => 'all',
'toolbar' => 'full',
'media_upload' => 1,
'delay' => 0,
),
array(
'key' => 'field_5a4df74a2fed3',
'label' => __('Button Text' , 'directorytheme' ),
'name' => 'button_text',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a4df7542fed4',
'label' => __('Button URL' , 'directorytheme' ),
'name' => 'button_url',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
),
),
array(
'key' => 'field_5aa8e02hqs4ka',
'label' => __('Slider speed' , 'directorytheme' ),
'name' => 'bnnr_slider_speed',
'type' => 'text',
'instructions' => __('Enter slider speed in second' , 'directorytheme' ) ,
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5aa8eb87h6f3c',
'operator' => '==',
'value' => 'bannerslider',
),
array(
'field' => 'field_5a4df4a3c7617',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5aa8eb5906739',
'label' => __('Banner Slider' , 'directorytheme' ),
'name' => 'bannersliderrepeater',
'type' => 'repeater',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5aa8eb87h6f3c',
'operator' => '==',
'value' => 'bannerslider',
),
array(
'field' => 'field_5a4df4a3c7617',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'collapsed' => '',
'layout' => 'row',
'button_label' => __( 'Add Slide' , 'directorytheme' ),
'sub_fields' => array(
array(
'key' => 'field_5a430a893g462',
'label' => __( 'Image' , 'directorytheme' ),
'name' => 'bsr_image',
'type' => 'image',
'instructions' => __( 'Image size should be 1500 x 1000 pixels' , 'directorytheme' ),
'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_5aa8eb720plka',
'label' => __('Title' , 'directorytheme' ),
'name' => 'bsr_title',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5aa8eb7g543ka',
'label' => __('Sub Title' , 'directorytheme' ),
'name' => 'bsr_sub_title',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a56fd6r4d2ed',
'label' => 'Content',
'name' => 'bsr_content',
'type' => 'textarea',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'maxlength' => '',
'rows' => '',
'new_lines' => '',
),
array(
'key' => 'field_5aa8eb787yh3a',
'label' => __('Button Text' , 'directorytheme' ),
'name' => 'bsr_btn_text',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5aa8eb8207y65',
'label' => __('Button Link' , 'directorytheme' ),
'name' => 'bsr_btn_link',
'type' => 'link',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'post_type' => array(
),
'taxonomy' => array(
),
'allow_null' => 0,
'allow_archives' => 0,
'multiple' => 0,
),
),
),
array(
'key' => 'field_5a4df74a23f6r',
'label' => __('Address' , 'directorytheme' ),
'name' => 'cm_address',
'type' => 'google_map',
'instructions' => '',
'required' => 1,
'conditional_logic' => array(
array(
array(
'field' => 'field_5aa8eb87h6f3c',
'operator' => '==',
'value' => 'custommap',
),
array(
'field' => 'field_5a4df4a3c7617',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'center_lat' => '',
'center_lng' => '',
'zoom' => '',
'height' => '',
),
array(
'key' => 'field_5a4df74d7w32h',
'label' => __('Zooming level' , 'directorytheme' ),
'name' => 'cm_zoom_level',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a4df4a3cg4s6',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'acf-options-banner-settings',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a0547c2078e7',
'title' => 'Color Scheme',
'fields' => array(
array(
'key' => 'field_5a0552cd48537',
'label' => __('Activate Custom Color' , 'directorytheme' ),
'name' => 'activate_custom_color',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => 'Yes',
'ui_off_text' => 'No',
),
array(
'key' => 'field_5a0547c9763df',
'label' => __( 'Primary Color' , 'directorytheme' ),
'name' => 'primary_color',
'type' => 'color_picker',
'instructions' => __( 'Button Color, Link Color' , 'directorytheme' ) ,
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a0552cd48537',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '#1fc055',
),
array(
'key' => 'field_5a05480a185d1',
'label' => __( 'Secondary Color' , 'directorytheme' ),
'name' => 'secondary_color',
'type' => 'color_picker',
'instructions' => __( 'Hover Color' , 'directorytheme' ),
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a0552cd48537',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '#222',
),
array(
'key' => 'field_5a054824fd24b',
'label' => __( 'Body Text Color' , 'directorytheme' ),
'name' => 'body_text_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a0552cd48537',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '#555',
),
array(
'key' => 'field_5a054844fd24c',
'label' => __( 'Title Color' , 'directorytheme' ),
'name' => 'title_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a0552cd48537',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '#222',
),
array(
'key' => 'field_5a0540uw2d24c',
'label' => __( 'Top Menu Background Color' , 'directorytheme' ),
'name' => 'menu_bg_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a0552cd48537',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '#2d8d93',
),
array(
'key' => 'field_5ajhbgtr2d24c',
'label' => __( 'Top Menu Hover Color' , 'directorytheme' ),
'name' => 'top_menu_hover_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a0552cd48537',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '#2d83e3',
),
array(
'key' => 'field_5a05uyht2d24c',
'label' => __( 'Main Menu Background Color' , 'directorytheme' ),
'name' => 'main_menu_bg_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a0552cd48537',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '#bfbfbf',
),
array(
'key' => 'field_5a06uzht2d25d',
'label' => __( 'Main Menu Text Color' , 'directorytheme' ),
'name' => 'main_menu_txt_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a0552cd48537',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '#000',
),
array(
'key' => 'field_5a0549i2xd24c',
'label' => __('Pricing banner color' , 'directorytheme' ),
'name' => 'ppb_bg_color',
'type' => 'color_picker',
'instructions' => __('The color will be same for inner page banner section. As well as to active pricing plan or hover of plan' , 'directorytheme' ),
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a0552cd48537',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '#c8cad0',
),
array(
'key' => 'field_5a0549i2xd25c',
'label' => __( 'Footer Background color' , 'directorytheme' ),
'name' => 'footer_bg_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a0552cd48537',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '#191919',
),
array(
'key' => 'footer_txt_color',
'label' => __( 'Footer Text color' , 'directorytheme' ),
'name' => 'footer_txt_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a0552cd48537',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '#ffffff',
),
array(
'key' => 'category_backg_color',
'label' => __( 'Category background color', 'directorytheme' ),
'name' => 'category_backg_color',
'type' => 'color_picker',
'instructions' => __( 'You can select the categories Background Color, Text Color & Hover color from below option which will apply to the home page, listing page and listing detail page', 'directorytheme' ),
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a0552cd48537',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '#f5af02',
),
array(
'key' => 'category_bghover1_color',
'label' => __( 'Category hover background color' , 'directorytheme' ),
'name' => 'category_bghover1_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a0552cd48537',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '#777',
),
array(
'key' => 'category_txt1_color',
'label' => __( 'Category text color' , 'directorytheme' ),
'name' => 'category_txt1_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a0552cd48537',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '#fff',
),
array(
'key' => 'page_banner_txt',
'label' => __( 'Page Banner Title color' , 'directorytheme' ),
'name' => 'page_banner_txt',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a0552cd48537',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '#fff',
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'acf-options-color-settings',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a37260920190',
'title' => 'Comment Field',
'fields' => array(
array(
'key' => 'field_5a372613d20a6',
'label' => __( 'Rate' , 'directorytheme' ),
'name' => 'rate',
'type' => 'star_rating',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'max_stars' => 5,
'return_type' => 0,
),
),
'location' => array(
array(
array(
'param' => 'comment',
'operator' => '==',
'value' => 'listings',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a430aa0c88e1',
'title' => 'Contact Details',
'fields' => array(
array(
'key' => 'field_5a430ac50a612',
'label' => __( 'Email', 'directorytheme' ),
'name' => 'email',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a430abe0a611',
'label' => __( 'Phone' , 'directorytheme' ),
'name' => 'phone',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a430aab0a610',
'label' => __( 'Address', 'directorytheme' ),
'name' => 'address',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a430acd0a613',
'label' => __( 'Map', 'directorytheme' ),
'name' => 'map',
'type' => 'google_map',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'center_lat' => '',
'center_lng' => '',
'zoom' => '',
'height' => '',
),
array(
'key' => 'field_5a7ed77aec684',
'label' => __( 'Call To Action', 'directorytheme' ),
'name' => 'call_to_action',
'type' => 'group',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'layout' => 'block',
'sub_fields' => array(
array(
'key' => 'field_5ae0885cd6ffe',
'label' => 'background Color',
'name' => 'bg_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '#000',
),
array(
'key' => 'field_5ae0887fd6fff',
'label' => __( 'Background Image' , 'directorytheme' ),
'name' => 'bg_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' => '',
),
array(
'key' => 'field_5a7ed78eec685',
'label' => __( 'Title' , 'directorytheme' ),
'name' => 'title',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a7ed79cec686',
'label' => __( 'Content' , 'directorytheme' ),
'name' => 'content',
'type' => 'wysiwyg',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'tabs' => 'visual',
'toolbar' => 'full',
'media_upload' => 1,
'delay' => 0,
),
array(
'key' => 'field_5a7ed7acec687',
'label' => __( 'Button Text' , 'directorytheme' ),
'name' => 'button_text',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a7ed7b9ec688',
'label' => __( 'URL' , 'directorytheme' ),
'name' => 'url',
'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,
'allow_archives' => 0,
'multiple' => 0,
),
),
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'acf-options-contact-settings',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a582f003ae10',
'title' => 'Contact Form Settings',
'fields' => array(
array (
'key' => 'form_title',
'label' => __( 'Form Title', 'directorytheme'),
'name' => 'form_title',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array (
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => __( 'Contct us Today!', 'directorytheme'),
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a582f117e5f6',
'label' => __( 'Contact Email Address', 'directorytheme'),
'name' => 'contact_notification',
'type' => 'email',
'instructions' => __( 'Notification email from contact form', 'directorytheme'),
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
),
array(
'key' => 'enable_phone',
'label' => __( 'Enable Phone', 'directorytheme'),
'name' => 'enable_phone',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => 'Yes',
'ui_off_text' => 'No',
),
array (
'key' => 'message_field',
'label' => __( 'Enable Message Field', 'directorytheme'),
'name' => 'message_field',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array (
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => 'Yes',
'ui_off_text' => 'No',
),
array (
'key' => 'recaptch_field',
'label' => __( 'Enable ReCaptch Field', 'directorytheme'),
'name' => 'recaptch_field',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array (
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => 'Yes',
'ui_off_text' => 'No',
),
array (
'key' => 'form_recaptcha_site_key',
'label' => __( 'Google Recaptcha Site Key', 'directorytheme'),
'name' => 'form_recaptcha_site_key',
'type' => 'text',
'instructions' => 'Get your reCaptch API key from this link: <a href="https://www.google.com/recaptcha/admin/create">https://www.google.com/recaptcha/admin/create</a>',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'recaptch_field',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array (
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array (
'key' => 'captcha_home',
'label' => __( 'Registeration Page Captcha', 'directorytheme'),
'name' => 'captcha_home',
'type' => 'true_false',
'instructions' => __( 'Enable this option for show google captcha on login page', 'directorytheme'),
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'recaptch_field',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array (
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 1,
'ui' => 1,
'ui_on_text' => '',
'ui_off_text' => '',
),
array (
'key' => 'captcha_contact',
'label' => __( 'Contact us page Captcha', 'directorytheme'),
'name' => 'captcha_contact',
'type' => 'true_false',
'instructions' => __( 'Enable this option for show google captcha on contact us page', 'directorytheme'),
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'recaptch_field',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array (
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 1,
'ui' => 1,
'ui_on_text' => '',
'ui_off_text' => '',
),
array (
'key' => 'mailchimp_field',
'label' => __( 'Enable Mailchimp Field', 'directorytheme'),
'name' => 'mailchimp_field',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array (
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => 'Yes',
'ui_off_text' => 'No',
),
array (
'key' => 'mailchimp_list_id',
'label' => __( 'Mailchimp Audience / List ID', 'directorytheme'),
'name' => 'mailchimp_list_id',
'type' => 'text',
'instructions' => '',
'required' => 1,
'conditional_logic' => array(
array(
array(
'field' => 'mailchimp_field',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array (
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array (
'key' => 'mailchimp_api_key',
'label' => __( 'Mailchimp API Key', 'directorytheme'),
'name' => 'mailchimp_api_key',
'type' => 'text',
'instructions' => '',
'required' => 1,
'conditional_logic' => array(
array(
array(
'field' => 'mailchimp_field',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array (
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array (
'key' => 'form_button_text',
'label' => __( 'Button Text', 'directorytheme'),
'name' => 'form_button_text',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array (
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => 'Submit Form!',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'acf-options-contact-form',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a56fd6c45273',
'title' => 'Contact Information',
'fields' => array(
array(
'key' => 'field_5a56fd92872ea',
'label' => __( 'Email ID' , 'directorytheme' ),
'name' => 'c_email',
'type' => 'email',
'instructions' => '',
'required' => 1,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
),
array(
'key' => 'field_5a56fd9f872eb',
'label' => __( 'Phone' , 'directorytheme' ),
'name' => 'c_phone',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a56fdb0872ed',
'label' => __( 'Message' , 'directorytheme' ),
'name' => 'c_message',
'type' => 'textarea',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'maxlength' => '',
'rows' => '',
'new_lines' => '',
),
),
'location' => array(
array(
array(
'param' => 'post_type',
'operator' => '==',
'value' => 'contacts',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a5ef2faa3msd',
'title' => 'Listing Category Order',
'fields' => array(
array(
'key' => 'listing_order',
'label' => '',
'name' => 'listing_order',
'type' => 'number',
'instructions' => __( '<b>Note: you can add order number in below box and listing will display as per given order in categories listing page only</b>', 'directorytheme' ),
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'min' => '',
'max' => '',
'step' => '',
),
),
'location' => array(
array(
array(
'param' => 'post_type',
'operator' => '==',
'value' => 'listings',
),
),
),
'menu_order' => 0,
'position' => 'side',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5aa8e9613207b',
'title' => 'Home Section',
'fields' => array(
array(
'key' => 'field_5aa8ea95432a2',
'label' => __( 'Banner', 'directorytheme' ),
'name' => '',
'type' => 'tab',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'placement' => 'left',
'endpoint' => 0,
),
array(
'key' => 'field_5aa8eb02b4b00',
'label' => __( 'Enable Banner', 'directorytheme' ),
'name' => 'enable_banner',
'type' => 'true_false',
'instructions' => 'You can manage banner section under "<a href="/wp-admin/admin.php?page=acf-options-banner-settings">Theme Settings > Banner Settings</a>"',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => 'No',
'ui_off_text' => 'Yes',
),
array(
'key' => 'field_5aa8eb270cf36',
'label' => __( 'Welcome Content', 'directorytheme' ),
'name' => '',
'type' => 'tab',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'placement' => 'top',
'endpoint' => 0,
),
array(
'key' => 'field_5aa8eb400cf37',
'label' => __( 'Title' , 'directorytheme' ),
'name' => 'wc_title',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5aa8eb4f0cf38',
'label' => __( 'Content' , 'directorytheme' ),
'name' => 'wc_content',
'type' => 'wysiwyg',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'tabs' => 'all',
'toolbar' => 'full',
'media_upload' => 1,
'delay' => 0,
),
array(
'key' => 'field_5aa8eb5d0cf39',
'label' => __('Button' , 'directorytheme' ),
'name' => 'button',
'type' => 'repeater',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'collapsed' => '',
'min' => 0,
'max' => 3,
'layout' => 'table',
'button_label' => __( 'Add Button', 'directorytheme' ),
'sub_fields' => array(
array(
'key' => 'field_5aa8eb720cf3a',
'label' => __( 'Button Text' , 'directorytheme' ),
'name' => 'button_text',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5aa8eb820cf3b',
'label' => __( 'URL' , 'directorytheme' ),
'name' => 'url',
'type' => 'page_link',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'post_type' => array(
),
'taxonomy' => array(
),
'allow_null' => 0,
'allow_archives' => 0,
'multiple' => 0,
),
array(
'key' => 'field_5aa8ebc00cf3c',
'label' => __('Button Style' , 'directorytheme' ),
'name' => 'button_style',
'type' => 'radio',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'Solid' => 'Solid',
'Border' => 'Border',
),
'allow_null' => 0,
'other_choice' => 0,
'save_other_choice' => 0,
'default_value' => '',
'layout' => 'horizontal',
'return_format' => 'value',
),
),
),
array(
'key' => 'field_5aa8ec8a47da2',
'label' => __( 'Featured Listing', 'directorytheme' ),
'name' => '',
'type' => 'tab',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'placement' => 'left',
'endpoint' => 0,
),
array(
'key' => 'field_5aa8ec9547da3',
'label' => __( 'Enable Featured listing', 'directorytheme' ),
'name' => 'enable_featured_listing',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => 'No',
'ui_off_text' => 'Yes',
),
array (
'key' => 'featured_text',
'label' => __( 'Title Of the Section', 'directorytheme' ),
'name' => 'featured_text',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array (
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5aa8ecb047da4',
'label' => __( 'New Listing', 'directorytheme' ),
'name' => '',
'type' => 'tab',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'placement' => 'left',
'endpoint' => 0,
),
array(
'key' => 'field_5aa8ecbd47da5',
'label' => __( 'Enable New listing', 'directorytheme' ),
'name' => 'enable_new_listing',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => 'No',
'ui_off_text' => 'Yes',
),
array (
'key' => 'new_listing_text',
'label' => __( 'Title Of the Section', 'directorytheme' ),
'name' => 'new_listing_text',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array (
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
),
'location' => array(
array(
array(
'param' => 'page_type',
'operator' => '==',
'value' => 'front_page',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => array(
0 => 'the_content',
),
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a558e7b2e8da',
'title' => 'Listing Pages',
'fields' => array(
array(
'key' => 'field_5a558e8ed184f',
'label' => __( 'Account Page', 'directorytheme'),
'name' => 'account_page',
'type' => 'page_link',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'post_type' => array(
0 => 'page',
),
'taxonomy' => array(
),
'allow_null' => 0,
'allow_archives' => 0,
'multiple' => 0,
),
array(
'key' => 'field_5a558ec4d1093',
'label' => __( 'Add Listing Page', 'directorytheme'),
'name' => 'add_listing_page',
'type' => 'page_link',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'post_type' => array(
0 => 'page',
),
'taxonomy' => array(
),
'allow_null' => 0,
'allow_archives' => 0,
'multiple' => 0,
),
array(
'key' => 'field_5a602eaac0c28',
'label' => __( 'Pay Listing Page', 'directorytheme'),
'name' => 'pay_listing_page',
'type' => 'page_link',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'post_type' => array(
0 => 'page',
),
'taxonomy' => array(
),
'allow_null' => 0,
'allow_archives' => 0,
'multiple' => 0,
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'acf-options-listing-settings',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_listing_banner',
'title' => 'Single Listing Banner',
'fields' => array(
array(
'key' => 'disable_banner',
'label' => __( 'Disable Banner?', 'directorytheme'),
'name' => 'disable_banner',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => 'Yes',
'ui_off_text' => 'No',
),
array(
'key' => 'listing_bg_img',
'label' => __( 'Listing Banner Background Image', 'directorytheme'),
'name' => 'listing_bg_img',
'type' => 'image',
'instructions' => __( 'Recommended Image size is 1530 x 765 pixels', 'directorytheme'),
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'disable_banner',
'operator' => '==',
'value' => '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' => '',
),
array(
'key' => 'field_5a0548443f64c',
'label' => __( 'Listing Banner Background Color', 'directorytheme'),
'name' => 'listing_bnbg_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'disable_banner',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '#222',
),
array(
'key' => 'field_default_zoom_map',
'label' => __( 'Listing Detail Page Map Zoom Level', 'directorytheme'),
'name' => 'default_zoom_map',
'type' => 'text',
'instructions' => __( 'Listing Page map Zoom level should be between 10 to 20 and Recommended Zoom level is 15.', 'directorytheme'),
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'default_zoom_map',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '100',
),
array(
'key' => 'field_5a430a8e742df',
'label' => __( 'Default List Image', 'directorytheme'),
'name' => 's_default_featured_image',
'type' => 'image',
'instructions' => __( 'Recommended Image size is 1530 x 765 pixels', 'directorytheme'),
'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' => 'options_page',
'operator' => '==',
'value' => 'acf-options-listing-settings',
),
),
),
'menu_order' => 3,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_single_listing_ads_switcher',
'title' => 'Ads',
'fields' => array(
array(
'key' => 'field_5a0552cd32761',
'label' => __( 'Hide ads from listing', 'directorytheme'),
'name' => 'hide_ads_free_listing',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => 'No',
'ui_off_text' => 'Yes',
),
array(
'key' => 'field_5a5567c290104',
'label' => __( 'Ads Display', 'directorytheme'),
'name' => 'ads_display',
'type' => 'checkbox',
'instructions' => __( '<p>Ads will be display on below selected listing only.</p>', 'directorytheme'),
'required' => 1,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a0552cd32761',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'premium_ads' => __( 'Premium Listing', 'directorytheme' ),
'free_ads' => __( 'Free Listing', 'directorytheme' ),
'featured_ads' => __( 'Featured Listings', 'directorytheme' ),
),
'default_value' => array(
0 => 'premium_ads',
1 => 'free_ads',
2 => 'featured_ads',
),
'allow_null' => 0,
'multiple' => 0,
'ui' => 0,
'ajax' => 0,
'return_format' => 'value',
'placeholder' => '',
),
array(
'key' => 'ads_rotate',
'label' => __( 'Ads Display On Single Listing Page' , 'directorytheme' ),
'name' => 'ads_rotate',
'type' => 'radio',
'instructions' => '',
'required' => 1,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a0552cd32761',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'normal' => __( 'Normal display', 'directorytheme' ),
'rotate' => __( 'Rotate ads', 'directorytheme' ),
),
'allow_null' => 0,
'other_choice' => 0,
'save_other_choice' => 0,
'default_value' => 'normal',
'layout' => 'vertical',
'return_format' => 'value',
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'ads-settings',
),
),
),
'menu_order' => 2,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a430a743eaf0',
'title' => 'Logo & Favicon',
'fields' => array(
array(
'key' => 'field_5a430a8274322',
'label' => __( 'Logo', 'directorytheme' ),
'name' => 'logo',
'type' => 'image',
'instructions' => __( 'Recommended Image size is 250 x 150 pixels', 'directorytheme' ),
'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' => '',
),
array(
'key' => 'field_5a430c5239c2a',
'label' => __( 'Footer Logo', 'directorytheme' ),
'name' => 'footer_logo',
'type' => 'image',
'instructions' => __( 'Recommended Image size is 250 x 150 pixels', 'directorytheme' ),
'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' => '',
),
array(
'key' => 'field_5a430a8e74323',
'label' => __( 'Favicon', 'directorytheme' ),
'name' => 'favicon',
'type' => 'image',
'instructions' => __( 'Recommended Image size is 32 X 32 pixels', 'directorytheme' ),
'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' => 'options_page',
'operator' => '==',
'value' => 'acf-options-general-settings',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a430a743eaf1',
'title' => 'Header settings',
'fields' => array(
array(
'key' => 'field_5a4df4a3c514d',
'label' => 'Header Sticky',
'name' => 'header_sticky',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 1,
'ui' => 1,
'ui_on_text' => 'Yes',
'ui_off_text' => 'No',
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'acf-options-header-settings',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a430a743eeg5',
'title' => 'Footer Links',
'fields' => array(
array(
'key' => 'field_5a5830b4b4111',
'label' => __( 'Column-1 Title', 'directorytheme' ),
'name' => 'col1title',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a5830b4b4222',
'label' => __( 'Column-2 Title', 'directorytheme' ),
'name' => 'col2title',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a430c5239353',
'name' => 'company_info',
'type' => 'repeater',
'instructions' => '',
'sub_fields' => array(
array(
'key' => 'title',
'label' => __( 'Title', 'directorytheme' ),
'name' => 'title',
'type' => 'text',
),
array(
'key' => 'url',
'label' => __('Page Link' , 'directorytheme' ),
'name' => 'url',
'type' => 'url',
)
),
'button_label' => __('Add Link' , 'directorytheme' ),
'return_format' => 'url',
'library' => 'all',
'min' => '',
'max' => '',
),
array(
'key' => 'field_5a5830b4b4333',
'label' => __( 'Column-3 Title', 'directorytheme' ),
'name' => 'col3title',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a430c5239e4r',
'name' => 'footer_links',
'type' => 'repeater',
'instructions' => '',
'sub_fields' => array(
array(
'key' => 'title',
'label' => __('Title' , 'directorytheme' ),
'name' => 'title',
'type' => 'text',
),
array(
'key' => 'url',
'label' => __('Page Link' , 'directorytheme' ),
'name' => 'url',
'type' => 'url',
)
),
'button_label' => __( 'Add Link', 'directorytheme' ),
'return_format' => 'url',
'library' => 'all',
'min' => '',
'max' => '',
),
array(
'key' => 'field_5a4df4a3c7620',
'label' => __( 'Copyright Enable/Disable', 'directorytheme'),
'name' => 'copy_txt',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 1,
'ui' => 1,
'ui_on_text' => 'Yes',
'ui_off_text' => 'No',
),
array(
'key' => 'field_5a5830b4b4112',
'label' => __( 'Copyright Text', 'directorytheme'),
'name' => 'copyright',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a4df4a3c7620',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'acf-options-footer-settings',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a5ff595db536',
'title' => 'Paypal Button',
'fields' => array(
array(
'key' => 'field_5a6004a17eceb',
'label' => __( 'Item Name', 'directorytheme' ),
'name' => 'paypal_name',
'type' => 'text',
'instructions' => '',
'required' => 1,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a6004ac7ecec',
'label' => __( 'Item Description', 'directorytheme'),
'name' => 'paypal_description',
'type' => 'wysiwyg',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'tabs' => 'all',
'toolbar' => 'full',
'media_upload' => 0,
'delay' => 0,
),
array(
'key' => 'field_5b222a91b7817',
'label' => __( 'Currency', 'directorytheme' ),
'name' => 'currency',
'type' => 'select',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'USD' => 'USD',
'AUD' => 'AUD',
'CAD' => 'CAD',
'GBP' => 'GBP',
'EUR' => 'EUR',
'PHP' => 'PHP',
'ZAR' => 'ZAR',
'MYR' => 'MYR',
'NZD' => 'NZD',
'SGD' => 'SGD',
'MXN' => 'MXN',
),
'default_value' => array(
0 => 'USD',
),
'allow_null' => 0,
'multiple' => 0,
'ui' => 0,
'ajax' => 0,
'return_format' => 'value',
'placeholder' => '',
),
array(
'key' => 'field_5a5567c290204',
'label' => __( 'Payment Method', 'directorytheme' ),
'name' => 'pay_method',
'type' => 'checkbox',
'instructions' => '',
'required' => 1,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'Paypal' => 'Paypal Payment',
'Stripe' => 'Stripe Payment',
),
'default_value' => array(
0 => 'Paypal',
1 => 'Stripe',
),
'allow_null' => 0,
'multiple' => 0,
'ui' => 0,
'ajax' => 0,
'return_format' => 'value',
'placeholder' => '',
),
array(
'key' => 'field_5b222a91b7818',
'label' => __( 'Payment Mode', 'directorytheme' ),
'name' => 'payment_mode',
'type' => 'select',
'instructions' => '',
'required' => 1,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'Regular Price' => 'One time Payment',
'Recurring Price' => 'Recurring Price',
),
'default_value' => array(
0 => 'Regular Price',
),
'allow_null' => 0,
'multiple' => 0,
'ui' => 0,
'ajax' => 0,
'return_format' => 'value',
'placeholder' => '',
),
array(
'key' => 'field_5a5567c297a43',
'label' => __( 'Payment Method', 'directorytheme' ),
'name' => 'payment_method',
'type' => 'checkbox',
'instructions' => '',
'required' => 1,
'conditional_logic' => array(
array(
array(
'field' => 'field_5b222a91b7818',
'operator' => '==',
'value' => 'Recurring Price',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'Daily' => __( 'Daily', 'directorytheme' ),
'Weekly' => __( 'Weekly', 'directorytheme' ),
'Monthly' => __( 'Monthly', 'directorytheme' ),
'Yearly' => __( 'Yearly', 'directorytheme' )
),
'default_value' => array(
0 => 'Daily',
),
'allow_null' => 0,
'multiple' => 0,
'ui' => 0,
'ajax' => 0,
'return_format' => 'value',
'placeholder' => '',
),
array(
'key' => 'field_5a5567c207a55',
'label' => __( 'Daily Price', 'directorytheme' ),
'name' => 'daily_price',
'type' => 'text',
'instructions' => '',
'required' => 1,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a5567c297a43',
'operator' => '==',
'value' => 'Daily',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'daily_cycle',
'label' => __( 'Daily Cycle', 'directorytheme'),
'name' => 'daily_cycle',
'type' => 'select',
'instructions' => __( '(It will deduct the payment daily until customer will cancel the plan)', 'directorytheme'),
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a5567c297a43',
'operator' => '==',
'value' => 'Daily',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'1' => '1',
'2' => '2',
'3' => '3',
'4' => '4',
'5' => '5',
'6' => '6',
'7' => '7',
'8' => '8',
'9' => '9',
'10' => '10',
'11' => '11',
'12' => '12',
'13' => '13',
'14' => '14',
'15' => '15',
'16' => '16',
'17' => '17',
'18' => '18',
'19' => '19',
'20' => '20',
'21' => '21',
'22' => '22',
'23' => '23',
'24' => '24',
'25' => '25',
'26' => '26',
'27' => '27',
'28' => '28',
'29' => '29',
'30' => '30',
),
'allow_null' => 0,
'other_choice' => 0,
'save_other_choice' => 0,
'default_value' => '0',
'layout' => 'vertical',
'return_format' => 'value',
),
array(
'key' => 'field_5a4607c297a43',
'label' => __( 'Weekly Price', 'directorytheme' ),
'name' => 'weekly_price',
'type' => 'text',
'instructions' => '',
'required' => 1,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a5567c297a43',
'operator' => '==',
'value' => 'Weekly',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'weekly_cycle',
'label' => __( 'Weekly Cycle', 'directorytheme'),
'name' => 'weekly_cycle',
'type' => 'select',
'instructions' => __( '(It will deduct the payment weekly until customer will cancel the plan)', 'directorytheme'),
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a5567c297a43',
'operator' => '==',
'value' => 'Weekly',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'1' => '1',
'2' => '2',
'3' => '3',
'4' => '4',
'5' => '5',
'6' => '6',
'7' => '7',
'8' => '8',
'9' => '9',
'10' => '10',
'11' => '11',
'12' => '12',
'13' => '13',
'14' => '14',
'15' => '15',
'16' => '16',
'17' => '17',
'18' => '18',
'19' => '19',
'20' => '20',
'21' => '21',
'22' => '22',
'23' => '23',
'24' => '24',
'25' => '25',
'26' => '26',
'27' => '27',
'28' => '28',
'29' => '29',
'30' => '30',
),
'allow_null' => 0,
'other_choice' => 0,
'save_other_choice' => 0,
'default_value' => '0',
'layout' => 'vertical',
'return_format' => 'value',
),
array(
'key' => 'field_5a5567c297a44',
'label' => __( 'Monthly Price', 'directorytheme'),
'name' => 'monthly_price',
'type' => 'text',
'instructions' => '',
'required' => 1,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a5567c297a43',
'operator' => '==',
'value' => 'Monthly',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'monthly_cycle',
'label' => __( 'Monthly Cycle', 'directorytheme'),
'name' => 'monthly_cycle',
'type' => 'select',
'instructions' => __( '(It will deduct the payment monthly until customer will cancel the plan)', 'directorytheme'),
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a5567c297a43',
'operator' => '==',
'value' => 'Monthly',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'1' => '1',
'2' => '2',
'3' => '3',
'4' => '4',
'5' => '5',
'6' => '6',
'7' => '7',
'8' => '8',
'9' => '9',
'10' => '10',
'11' => '11',
'12' => '12',
),
'allow_null' => 0,
'other_choice' => 0,
'save_other_choice' => 0,
'default_value' => '0',
'layout' => 'vertical',
'return_format' => 'value',
),
array(
'key' => 'field_5a5567c297a45',
'label' => __( 'Yearly Price', 'directorytheme'),
'name' => 'yearly_price',
'type' => 'text',
'instructions' => __( '(It will deduct the payment yearly until customer will cancel the plan)', 'directorytheme'),
'required' => 1,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a5567c297a43',
'operator' => '==',
'value' => 'Yearly',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'yearly_cycle',
'label' => __( 'Yearly Cycle', 'directorytheme'),
'name' => 'yearly_cycle',
'type' => 'select',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a5567c297a43',
'operator' => '==',
'value' => 'Yearly',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'1' => '1',
'2' => '2',
'3' => '3',
'4' => '4',
'5' => '5',
),
'allow_null' => 0,
'other_choice' => 0,
'save_other_choice' => 0,
'default_value' => '0',
'layout' => 'vertical',
'return_format' => 'value',
),
array(
'key' => 'field_5a5567c297a46',
'label' => __( 'Price', 'directorytheme'),
'name' => 'paypal_price',
'type' => 'text',
'instructions' => '',
'required' => 1,
'conditional_logic' => array(
array(
array(
'field' => 'field_5b222a91b7818',
'operator' => '==',
'value' => 'Regular Price',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
),
'location' => array(
array(
array(
'param' => 'post_type',
'operator' => '==',
'value' => 'paypal',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a60139ea3056',
'title' => 'Paypal Detials',
'fields' => array(
array(
'key' => 'field_5a6013aa28019',
'label' => 'Paypal Email',
'name' => 'paypal_email',
'type' => 'email',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
),
array(
'key' => 'field_5a6013c22801a',
'label' => 'Paypal Button',
'name' => 'paypal_button',
'type' => 'text',
'instructions' => __('paypal button text' , 'directorytheme' ),
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a602bbdc8d1e',
'label' => __('Product' , 'directorytheme' ),
'name' => 'product',
'type' => 'post_object',
'instructions' => __( 'Product listing button', 'directorytheme' ),
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'post_type' => array(
0 => 'paypal',
),
'taxonomy' => array(
),
'allow_null' => 0,
'multiple' => 1,
'return_format' => 'object',
'ui' => 1,
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'acf-options-paypal-settings',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5aac863b572d6',
'title' => 'Pricing Section',
'fields' => array(
array(
'key' => 'field_5aac86d9f37b4',
'label' => __('Pricing' , 'directorytheme' ),
'name' => 'pricing',
'type' => 'repeater',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'collapsed' => '',
'min' => 0,
'max' => 3,
'layout' => 'block',
'button_label' => __('Add Pricing' , 'directorytheme' ),
'sub_fields' => array(
array(
'key' => 'field_5aac8756abc07',
'label' => __( 'Basic Info', 'directorytheme' ),
'name' => '',
'type' => 'tab',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'placement' => 'left',
'endpoint' => 0,
),
array(
'key' => 'field_5aac891a11168',
'label' => __( 'Highlight', 'directorytheme' ),
'name' => 'highlight',
'type' => 'true_false',
'instructions' => __( 'Toggle this to true if you want to hightlight this pricing...', 'directorytheme' ),
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => '',
'ui_off_text' => '',
),
array(
'key' => 'field_5aac872835f1f',
'label' => __( 'Pricing', 'directorytheme' ),
'name' => 'pricing',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5aac873135f20',
'label' => __( 'Title', 'directorytheme' ),
'name' => 'title',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5aac873635f21',
'label' => __('Sub Content' , 'directorytheme' ),
'name' => 'sub_content',
'type' => 'textarea',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'maxlength' => '',
'rows' => '',
'new_lines' => '',
),
array(
'key' => 'field_5aac89f571731',
'label' => __( 'Plan URL', 'directorytheme' ),
'name' => 'plan_url',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5aac8769abc08',
'label' => __( 'Plan Options', 'directorytheme' ),
'name' => '',
'type' => 'tab',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'placement' => 'left',
'endpoint' => 0,
),
array(
'key' => 'field_5aac879220621',
'label' => __( 'Features', 'directorytheme' ),
'name' => '',
'type' => 'message',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'new_lines' => 'wpautop',
'esc_html' => 0,
),
array(
'key' => 'field_5aac8814ec509',
'label' => __( 'Available Options', 'directorytheme' ),
'name' => 'available_options',
'type' => 'checkbox',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'Company Name' => __( 'Company Name', 'directorytheme' ),
'Business Description' => __( 'Business Description', 'directorytheme' ),
'Address' => __( 'Address', 'directorytheme' ),
'Phone' => __( 'Phone', 'directorytheme' ),
'Website' => __( 'Website', 'directorytheme' ),
'Email Address' => __( 'Email Address', 'directorytheme' ),
'Company Logo' => __( 'Company Logo', 'directorytheme' ),
'Video' => __( 'Video', 'directorytheme' ),
'Image Slideshow' => __( 'Image Slideshow', 'directorytheme' ),
),
'allow_custom' => 1,
'save_custom' => 1,
'default_value' => array(
),
'layout' => 'vertical',
'toggle' => 0,
'return_format' => 'value',
),
array(
'key' => 'field_5a5567c290304',
'label' => __('Available options' , 'directorytheme' ),
'name' => 'avail_opt5',
'type' => 'checkbox',
'instructions' => '',
'required' => 1,
'wrapper' => array(
'width' => '',
'class' => 'default_cls',
'id' => '',
),
'choices' => array(
'company_name' => __( 'Company Name', 'directorytheme' ),
'business_description' => __( 'Business Description', 'directorytheme' ),
'additional_detail' => __( 'Additional Details', 'directorytheme' ),
'address' => __( 'Address', 'directorytheme' ),
'phone' => __( 'Phone', 'directorytheme' ),
'website' => __( 'Website', 'directorytheme' ),
'email_add' => __( 'Email Address', 'directorytheme' ),
'feature_img' => __( 'Featured Image', 'directorytheme' ),
'cmp_logo' => __( 'Company Logo', 'directorytheme' ),
'schedules' => __( 'Scheduled Days', 'directorytheme' ),
'video' => __( 'Video', 'directorytheme' ),
'image_slideshow' => __( 'Image Slideshow', 'directorytheme' ),
'extra_links' => __( 'Extra Links', 'directorytheme' ),
'shortcode' => __( 'Shortcode', 'directorytheme' ),
'social_media' => __( 'Social Media', 'directorytheme' ),
),
'default_value' => array(
0 => 'company_name',
1 => 'business_description',
2 => 'additional_detail',
3 => 'address',
4 => 'phone',
5 => 'website',
6 => 'email_add',
7 => 'feature_img',
8 => 'cmp_logo',
9 => 'schedules',
10 => 'video',
11 => 'image_slideshow',
12 => 'extra_links',
13 => 'shortcode',
14 => 'social_media',
),
'allow_null' => 0,
'multiple' => 0,
'ui' => 0,
'ajax' => 0,
'return_format' => 'value',
'placeholder' => '',
),
array(
'key' => 'field_5aa8ytr506739',
'label' => __( 'Custom Options', 'directorytheme' ),
'name' => 'custptionsrepeater',
'type' => 'repeater',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'collapsed' => '',
'layout' => 'table',
'button_label' => __('Add New Choices' , 'directorytheme' ),
'sub_fields' => array(
array(
'key' => 'field_5a4dfioky7617',
'name' => 'select_choice_switcher',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => '',
'ui_off_text' => '',
),
array(
'key' => 'field_5a5667c210407',
'name' => 'cust_type',
'type' => 'select',
'instructions' => '',
'required' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'ctm_text' => 'Text',
'ctm_textarea' => 'Textarea',
'ctm_img' => 'Image',
),
'default_value' => array(
0 => 'ctm_text',
),
'allow_null' => 0,
'multiple' => 0,
'ui' => 0,
'ajax' => 0,
'return_format' => 'value',
'placeholder' => '',
),
array(
'key' => 'field_5aahtre20plka',
'name' => 'avopn_choice',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
),
),
),
),
array(
'key' => 'price_sign',
'label' => __( 'Price Sign', 'directorytheme'),
'name' => 'price_sign',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '$',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
),
'location' => array(
array(
array(
'param' => 'page_template',
'operator' => '==',
'value' => 'pricing.php',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a430b723fc7b',
'title' => 'Social Media',
'fields' => array(
array(
'key' => 'field_5a430b7d03d27',
'label' => 'Facebook',
'name' => 'facebook',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a430b8403d28',
'label' => 'Google',
'name' => 'google',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a430b8903d29',
'label' => 'Instagram',
'name' => 'instagram',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a430b8e03d2a',
'label' => 'Yelp',
'name' => 'yelp',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a430b9203d2b',
'label' => 'Youtube',
'name' => 'youtube',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a430b9d03d2c',
'label' => 'Linkedin',
'name' => 'linkedin',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a430ba303d2d',
'label' => 'Twitter',
'name' => 'twitter',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a4c7c2ff0a24',
'label' => 'Vimeo',
'name' => 'vimeo',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a4c7c2ff0a25',
'label' => 'Tiktok',
'name' => 'tiktok',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a4c7c2ff0a26',
'label' => 'Whatsapp',
'name' => 'whatsapp',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'acf-options-social-media',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a505583b2898',
'title' => 'User Info',
'fields' => array(
array(
'key' => 'field_5a505649c5f9d',
'label' => __( 'First Name', 'directorytheme' ),
'name' => 'first_name',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a50564fc5f9e',
'label' => __( 'Last Name', 'directorytheme' ),
'name' => 'last_name',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
),
'location' => array(
array(
array(
'param' => 'user_form',
'operator' => '==',
'value' => 'edit',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a4e07dbe7394',
'title' => 'Company Info',
'fields' => array(
array(
'key' => 'field_5a4e07e9f0db8',
'label' => __('About' , 'directorytheme' ),
'name' => 'about',
'type' => 'wysiwyg',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'tabs' => 'all',
'toolbar' => 'full',
'media_upload' => 1,
'delay' => 0,
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'acf-options-general-settings',
),
),
),
'menu_order' => 1,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'reviews_group',
'title' => 'Review Settings',
'fields' => array(
array(
'key' => 'reviews_field',
'label' => __('Disable Review' , 'directorytheme' ),
'name' => 'dreview',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => 'Yes',
'ui_off_text' => 'No',
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'acf-options-general-settings',
),
),
),
'menu_order' => 1,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a4c693fa8ae6',
'title' => 'Blog Banner',
'fields' => array(
array(
'key' => 'field_5a4c694eb72e3',
'label' => __('Banner' , 'directorytheme' ),
'name' => 'blog_banner',
'type' => 'image',
'instructions' => __( 'Recommended Image size is 1530 x 765 pixels' , 'directorytheme' ),
'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' => 'options_page',
'operator' => '==',
'value' => 'acf-options-general-settings',
),
),
),
'menu_order' => 2,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a4c6t3r2wse6',
'title' => 'Google map api key',
'fields' => array(
array(
'key' => 'field_abc',
'label' => __('Instructions' , 'directorytheme' ),
'name' => '',
'type' => '',
),
array(
'key' => 'field_5a5834r3ec6c8',
'label' => __('API Key (main / back-end)' , 'directorytheme' ),
'name' => 'googlemapcommonapikey',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a5934r3ec6c9',
'label' => __('API Key (optional / front-end)' , 'directorytheme' ),
'name' => 'googlemapcommonapikey_frontend',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'acf-options-general-settings',
),
),
),
'menu_order' => 2,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_6b5830b4b7g11',
'title' => 'Submit listing button text change',
'fields' => array(
array(
'key' => 'field_5a5830b4bc345',
'label' => '',
'name' => 'submit_listing_btn',
'type' => 'text',
'instructions' => __('If you want to change the Submit listing button text in Navigation then you can add new button name to below field.' , 'directorytheme' ),
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'acf-options-listing-settings',
),
),
),
'menu_order' => 4,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_6b5830b4b7m12',
'title' => 'Enable Icon To Enable Social Sharing ',
'fields' => array(
array(
'key' => 'listing_soc_icon',
'label' => '',
'name' => 'listing_soc_icon',
'type' => 'true_false',
'instructions' => __( 'If you will enable this option then User can be able to Share the listing detail page in social media', 'directorytheme' ),
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => 'Yes',
'ui_off_text' => 'No',
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'acf-options-listing-settings',
),
),
),
'menu_order' => 5,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a5830b4b7f09',
'title' => 'Listing Form Settings',
'fields' => array(
array(
'key' => 'field_5a5830b4bc636',
'label' => __('Listing Email Address' , 'directorytheme' ),
'name' => 'listing_notification',
'type' => 'email',
'instructions' => __('Notification email from contact form' , 'directorytheme' ),
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
),
array(
'key' => 'field_5a5830b4bc6c8',
'label' => __('Subject' , 'directorytheme' ),
'name' => 'listing_subject',
'type' => 'text',
'instructions' => 'i.e: "Success!"',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a5830b4b4f6s',
'label' => __('New Listing limits - Home Page' , 'directorytheme' ),
'name' => 'nof_listing',
'type' => 'text',
'instructions' => __('Amount of listing that appear on home page - i.e: "10"' , 'directorytheme' ),
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'acf-options-listing-settings',
),
),
),
'menu_order' => 2,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5b025b0d6cf4d',
'title' => 'Featured Listing',
'fields' => array(
array(
'key' => 'field_5b025b1d98817',
'label' => __('Listing' , 'directorytheme' ),
'name' => 'f_listing',
'type' => 'post_object',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'post_type' => array(
0 => 'listings',
),
'taxonomy' => array(
),
'allow_null' => 0,
'multiple' => 1,
'return_format' => 'object',
'ui' => 1,
),
array(
'key' => 'field_5aa8eb87h6f5f',
'label' => __('Listing Row in Home Page' , 'directorytheme' ),
'name' => 'f_row',
'type' => 'radio',
'instructions' => '',
'required' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'two' => 'Two',
'three' => 'Three',
),
'allow_null' => 0,
'other_choice' => 0,
'save_other_choice' => 0,
'default_value' => 'two',
'layout' => 'horizontal',
'return_format' => 'value',
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'acf-options-featured-listing',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a4c6t3r2wse7',
'title' => 'Header & footer Setting',
'fields' => array(
array(
'key' => 'field_5a5834r3ec6c9',
'label' => __('Header Text' , 'directorytheme' ),
'name' => 'headertext',
'type' => 'textarea',
'instructions' => 0,
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a5834r3ec6c2',
'label' => __('Footer Text' , 'directorytheme' ),
'name' => 'footertext',
'type' => 'textarea',
'instructions' => 0,
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'acf-options-header-footer-setting',
),
),
),
'menu_order' => 1,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a5ef2faa4jhl',
'title' => '',
'fields' => array(
array(
'key' => 'category_order',
'label' => __( 'Category Order', 'directortytheme' ),
'name' => 'category_order',
'type' => 'number',
'instructions' => __( '<b>Note: you can add order number in below box and category will display as per given order in all page.</b>', 'directortytheme' ),
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'min' => '',
'max' => '',
'step' => '',
),
array(
'key' => 'icons_repeater',
'label' => __( 'Listing Icons', 'directorytheme' ),
'name' => 'icons_repeater',
'type' => 'repeater',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'collapsed' => '',
'min' => 0,
'max' => 0,
'layout' => 'block',
'button_label' => __('Add Icon' , 'directorytheme' ),
'sub_fields' => array(
array (
'key' => 'icons_cat_icon',
'label' => __('Icon' , 'directorytheme' ),
'name' => 'icons_cat_icon',
'type' => 'font-awesome',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array (
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => 'null',
'save_format' => 'element',
'allow_null' => 1,
'enqueue_fa' => 0,
'fa_live_preview' => '',
'choices' => array (
'null' => '- Select -',
'fa-500px' => ' fa-500px',
'fa-address-book' => ' fa-address-book',
'fa-address-book-o' => ' fa-address-book-o',
'fa-address-card' => ' fa-address-card',
'fa-address-card-o' => ' fa-address-card-o',
'fa-adjust' => ' fa-adjust',
'fa-adn' => ' fa-adn',
'fa-align-center' => ' fa-align-center',
'fa-align-justify' => ' fa-align-justify',
'fa-align-left' => ' fa-align-left',
'fa-align-right' => ' fa-align-right',
'fa-amazon' => ' fa-amazon',
'fa-ambulance' => ' fa-ambulance',
'fa-american-sign-language-interpreting' => ' fa-american-sign-language-interpreting',
'fa-anchor' => ' fa-anchor',
'fa-android' => ' fa-android',
'fa-angellist' => ' fa-angellist',
'fa-angle-double-down' => ' fa-angle-double-down',
'fa-angle-double-left' => ' fa-angle-double-left',
'fa-angle-double-right' => ' fa-angle-double-right',
'fa-angle-double-up' => ' fa-angle-double-up',
'fa-angle-down' => ' fa-angle-down',
'fa-angle-left' => ' fa-angle-left',
'fa-angle-right' => ' fa-angle-right',
'fa-angle-up' => ' fa-angle-up',
'fa-apple' => ' fa-apple',
'fa-archive' => ' fa-archive',
'fa-area-chart' => ' fa-area-chart',
'fa-arrow-circle-down' => ' fa-arrow-circle-down',
'fa-arrow-circle-left' => ' fa-arrow-circle-left',
'fa-arrow-circle-o-down' => ' fa-arrow-circle-o-down',
'fa-arrow-circle-o-left' => ' fa-arrow-circle-o-left',
'fa-arrow-circle-o-right' => ' fa-arrow-circle-o-right',
'fa-arrow-circle-o-up' => ' fa-arrow-circle-o-up',
'fa-arrow-circle-right' => ' fa-arrow-circle-right',
'fa-arrow-circle-up' => ' fa-arrow-circle-up',
'fa-arrow-down' => ' fa-arrow-down',
'fa-arrow-left' => ' fa-arrow-left',
'fa-arrow-right' => ' fa-arrow-right',
'fa-arrow-up' => ' fa-arrow-up',
'fa-arrows' => ' fa-arrows',
'fa-arrows-alt' => ' fa-arrows-alt',
'fa-arrows-h' => ' fa-arrows-h',
'fa-arrows-v' => ' fa-arrows-v',
'fa-assistive-listening-systems' => ' fa-assistive-listening-systems',
'fa-asterisk' => ' fa-asterisk',
'fa-at' => ' fa-at',
'fa-audio-description' => ' fa-audio-description',
'fa-backward' => ' fa-backward',
'fa-balance-scale' => ' fa-balance-scale',
'fa-ban' => ' fa-ban',
'fa-bandcamp' => ' fa-bandcamp',
'fa-bar-chart' => ' fa-bar-chart',
'fa-barcode' => ' fa-barcode',
'fa-bars' => ' fa-bars',
'fa-bath' => ' fa-bath',
'fa-battery-empty' => ' fa-battery-empty',
'fa-battery-full' => ' fa-battery-full',
'fa-battery-half' => ' fa-battery-half',
'fa-battery-quarter' => ' fa-battery-quarter',
'fa-battery-three-quarters' => ' fa-battery-three-quarters',
'fa-bed' => ' fa-bed',
'fa-beer' => ' fa-beer',
'fa-behance' => ' fa-behance',
'fa-behance-square' => ' fa-behance-square',
'fa-bell' => ' fa-bell',
'fa-bell-o' => ' fa-bell-o',
'fa-bell-slash' => ' fa-bell-slash',
'fa-bell-slash-o' => ' fa-bell-slash-o',
'fa-bicycle' => ' fa-bicycle',
'fa-binoculars' => ' fa-binoculars',
'fa-birthday-cake' => ' fa-birthday-cake',
'fa-bitbucket' => ' fa-bitbucket',
'fa-bitbucket-square' => ' fa-bitbucket-square',
'fa-black-tie' => ' fa-black-tie',
'fa-blind' => ' fa-blind',
'fa-bluetooth' => ' fa-bluetooth',
'fa-bluetooth-b' => ' fa-bluetooth-b',
'fa-bold' => ' fa-bold',
'fa-bolt' => ' fa-bolt',
'fa-bomb' => ' fa-bomb',
'fa-book' => ' fa-book',
'fa-bookmark' => ' fa-bookmark',
'fa-bookmark-o' => ' fa-bookmark-o',
'fa-braille' => ' fa-braille',
'fa-briefcase' => ' fa-briefcase',
'fa-btc' => ' fa-btc',
'fa-bug' => ' fa-bug',
'fa-building' => ' fa-building',
'fa-building-o' => ' fa-building-o',
'fa-bullhorn' => ' fa-bullhorn',
'fa-bullseye' => ' fa-bullseye',
'fa-bus' => ' fa-bus',
'fa-buysellads' => ' fa-buysellads',
'fa-calculator' => ' fa-calculator',
'fa-calendar' => ' fa-calendar',
'fa-calendar-check-o' => ' fa-calendar-check-o',
'fa-calendar-minus-o' => ' fa-calendar-minus-o',
'fa-calendar-o' => ' fa-calendar-o',
'fa-calendar-plus-o' => ' fa-calendar-plus-o',
'fa-calendar-times-o' => ' fa-calendar-times-o',
'fa-camera' => ' fa-camera',
'fa-camera-retro' => ' fa-camera-retro',
'fa-car' => ' fa-car',
'fa-caret-down' => ' fa-caret-down',
'fa-caret-left' => ' fa-caret-left',
'fa-caret-right' => ' fa-caret-right',
'fa-caret-square-o-down' => ' fa-caret-square-o-down',
'fa-caret-square-o-left' => ' fa-caret-square-o-left',
'fa-caret-square-o-right' => ' fa-caret-square-o-right',
'fa-caret-square-o-up' => ' fa-caret-square-o-up',
'fa-caret-up' => ' fa-caret-up',
'fa-cart-arrow-down' => ' fa-cart-arrow-down',
'fa-cart-plus' => ' fa-cart-plus',
'fa-cc' => ' fa-cc',
'fa-cc-amex' => ' fa-cc-amex',
'fa-cc-diners-club' => ' fa-cc-diners-club',
'fa-cc-discover' => ' fa-cc-discover',
'fa-cc-jcb' => ' fa-cc-jcb',
'fa-cc-mastercard' => ' fa-cc-mastercard',
'fa-cc-paypal' => ' fa-cc-paypal',
'fa-cc-stripe' => ' fa-cc-stripe',
'fa-cc-visa' => ' fa-cc-visa',
'fa-certificate' => ' fa-certificate',
'fa-chain-broken' => ' fa-chain-broken',
'fa-check' => ' fa-check',
'fa-check-circle' => ' fa-check-circle',
'fa-check-circle-o' => ' fa-check-circle-o',
'fa-check-square' => ' fa-check-square',
'fa-check-square-o' => ' fa-check-square-o',
'fa-chevron-circle-down' => ' fa-chevron-circle-down',
'fa-chevron-circle-left' => ' fa-chevron-circle-left',
'fa-chevron-circle-right' => ' fa-chevron-circle-right',
'fa-chevron-circle-up' => ' fa-chevron-circle-up',
'fa-chevron-down' => ' fa-chevron-down',
'fa-chevron-left' => ' fa-chevron-left',
'fa-chevron-right' => ' fa-chevron-right',
'fa-chevron-up' => ' fa-chevron-up',
'fa-child' => ' fa-child',
'fa-chrome' => ' fa-chrome',
'fa-circle' => ' fa-circle',
'fa-circle-o' => ' fa-circle-o',
'fa-circle-o-notch' => ' fa-circle-o-notch',
'fa-circle-thin' => ' fa-circle-thin',
'fa-clipboard' => ' fa-clipboard',
'fa-clock-o' => ' fa-clock-o',
'fa-clone' => ' fa-clone',
'fa-cloud' => ' fa-cloud',
'fa-cloud-download' => ' fa-cloud-download',
'fa-cloud-upload' => ' fa-cloud-upload',
'fa-code' => ' fa-code',
'fa-code-fork' => ' fa-code-fork',
'fa-codepen' => ' fa-codepen',
'fa-codiepie' => ' fa-codiepie',
'fa-coffee' => ' fa-coffee',
'fa-cog' => ' fa-cog',
'fa-cogs' => ' fa-cogs',
'fa-columns' => ' fa-columns',
'fa-comment' => ' fa-comment',
'fa-comment-o' => ' fa-comment-o',
'fa-commenting' => ' fa-commenting',
'fa-commenting-o' => ' fa-commenting-o',
'fa-comments' => ' fa-comments',
'fa-comments-o' => ' fa-comments-o',
'fa-compass' => ' fa-compass',
'fa-compress' => ' fa-compress',
'fa-connectdevelop' => ' fa-connectdevelop',
'fa-contao' => ' fa-contao',
'fa-copyright' => ' fa-copyright',
'fa-creative-commons' => ' fa-creative-commons',
'fa-credit-card' => ' fa-credit-card',
'fa-credit-card-alt' => ' fa-credit-card-alt',
'fa-crop' => ' fa-crop',
'fa-crosshairs' => ' fa-crosshairs',
'fa-css3' => ' fa-css3',
'fa-cube' => ' fa-cube',
'fa-cubes' => ' fa-cubes',
'fa-cutlery' => ' fa-cutlery',
'fa-dashcube' => ' fa-dashcube',
'fa-database' => ' fa-database',
'fa-deaf' => ' fa-deaf',
'fa-delicious' => ' fa-delicious',
'fa-desktop' => ' fa-desktop',
'fa-deviantart' => ' fa-deviantart',
'fa-diamond' => ' fa-diamond',
'fa-digg' => ' fa-digg',
'fa-dot-circle-o' => ' fa-dot-circle-o',
'fa-download' => ' fa-download',
'fa-dribbble' => ' fa-dribbble',
'fa-dropbox' => ' fa-dropbox',
'fa-drupal' => ' fa-drupal',
'fa-edge' => ' fa-edge',
'fa-eercast' => ' fa-eercast',
'fa-eject' => ' fa-eject',
'fa-ellipsis-h' => ' fa-ellipsis-h',
'fa-ellipsis-v' => ' fa-ellipsis-v',
'fa-empire' => ' fa-empire',
'fa-envelope' => ' fa-envelope',
'fa-envelope-o' => ' fa-envelope-o',
'fa-envelope-open' => ' fa-envelope-open',
'fa-envelope-open-o' => ' fa-envelope-open-o',
'fa-envelope-square' => ' fa-envelope-square',
'fa-envira' => ' fa-envira',
'fa-eraser' => ' fa-eraser',
'fa-etsy' => ' fa-etsy',
'fa-eur' => ' fa-eur',
'fa-exchange' => ' fa-exchange',
'fa-exclamation' => ' fa-exclamation',
'fa-exclamation-circle' => ' fa-exclamation-circle',
'fa-exclamation-triangle' => ' fa-exclamation-triangle',
'fa-expand' => ' fa-expand',
'fa-expeditedssl' => ' fa-expeditedssl',
'fa-external-link' => ' fa-external-link',
'fa-external-link-square' => ' fa-external-link-square',
'fa-eye' => ' fa-eye',
'fa-eye-slash' => ' fa-eye-slash',
'fa-eyedropper' => ' fa-eyedropper',
'fa-facebook' => ' fa-facebook',
'fa-facebook-official' => ' fa-facebook-official',
'fa-facebook-square' => ' fa-facebook-square',
'fa-fast-backward' => ' fa-fast-backward',
'fa-fast-forward' => ' fa-fast-forward',
'fa-fax' => ' fa-fax',
'fa-female' => ' fa-female',
'fa-fighter-jet' => ' fa-fighter-jet',
'fa-file' => ' fa-file',
'fa-file-archive-o' => ' fa-file-archive-o',
'fa-file-audio-o' => ' fa-file-audio-o',
'fa-file-code-o' => ' fa-file-code-o',
'fa-file-excel-o' => ' fa-file-excel-o',
'fa-file-image-o' => ' fa-file-image-o',
'fa-file-o' => ' fa-file-o',
'fa-file-pdf-o' => ' fa-file-pdf-o',
'fa-file-powerpoint-o' => ' fa-file-powerpoint-o',
'fa-file-text' => ' fa-file-text',
'fa-file-text-o' => ' fa-file-text-o',
'fa-file-video-o' => ' fa-file-video-o',
'fa-file-word-o' => ' fa-file-word-o',
'fa-files-o' => ' fa-files-o',
'fa-film' => ' fa-film',
'fa-filter' => ' fa-filter',
'fa-fire' => ' fa-fire',
'fa-fire-extinguisher' => ' fa-fire-extinguisher',
'fa-firefox' => ' fa-firefox',
'fa-first-order' => ' fa-first-order',
'fa-flag' => ' fa-flag',
'fa-flag-checkered' => ' fa-flag-checkered',
'fa-flag-o' => ' fa-flag-o',
'fa-flask' => ' fa-flask',
'fa-flickr' => ' fa-flickr',
'fa-floppy-o' => ' fa-floppy-o',
'fa-folder' => ' fa-folder',
'fa-folder-o' => ' fa-folder-o',
'fa-folder-open' => ' fa-folder-open',
'fa-folder-open-o' => ' fa-folder-open-o',
'fa-font' => ' fa-font',
'fa-font-awesome' => ' fa-font-awesome',
'fa-fonticons' => ' fa-fonticons',
'fa-fort-awesome' => ' fa-fort-awesome',
'fa-forumbee' => ' fa-forumbee',
'fa-forward' => ' fa-forward',
'fa-foursquare' => ' fa-foursquare',
'fa-free-code-camp' => ' fa-free-code-camp',
'fa-frown-o' => ' fa-frown-o',
'fa-futbol-o' => ' fa-futbol-o',
'fa-gamepad' => ' fa-gamepad',
'fa-gavel' => ' fa-gavel',
'fa-gbp' => ' fa-gbp',
'fa-genderless' => ' fa-genderless',
'fa-get-pocket' => ' fa-get-pocket',
'fa-gg' => ' fa-gg',
'fa-gg-circle' => ' fa-gg-circle',
'fa-gift' => ' fa-gift',
'fa-git' => ' fa-git',
'fa-git-square' => ' fa-git-square',
'fa-github' => ' fa-github',
'fa-github-alt' => ' fa-github-alt',
'fa-github-square' => ' fa-github-square',
'fa-gitlab' => ' fa-gitlab',
'fa-glass' => ' fa-glass',
'fa-glide' => ' fa-glide',
'fa-glide-g' => ' fa-glide-g',
'fa-globe' => ' fa-globe',
'fa-google' => ' fa-google',
'fa-google-plus' => ' fa-google-plus',
'fa-google-plus-official' => ' fa-google-plus-official',
'fa-google-plus-square' => ' fa-google-plus-square',
'fa-google-wallet' => ' fa-google-wallet',
'fa-graduation-cap' => ' fa-graduation-cap',
'fa-gratipay' => ' fa-gratipay',
'fa-grav' => ' fa-grav',
'fa-h-square' => ' fa-h-square',
'fa-hacker-news' => ' fa-hacker-news',
'fa-hand-lizard-o' => ' fa-hand-lizard-o',
'fa-hand-o-down' => ' fa-hand-o-down',
'fa-hand-o-left' => ' fa-hand-o-left',
'fa-hand-o-right' => ' fa-hand-o-right',
'fa-hand-o-up' => ' fa-hand-o-up',
'fa-hand-paper-o' => ' fa-hand-paper-o',
'fa-hand-peace-o' => ' fa-hand-peace-o',
'fa-hand-pointer-o' => ' fa-hand-pointer-o',
'fa-hand-rock-o' => ' fa-hand-rock-o',
'fa-hand-scissors-o' => ' fa-hand-scissors-o',
'fa-hand-spock-o' => ' fa-hand-spock-o',
'fa-handshake-o' => ' fa-handshake-o',
'fa-hashtag' => ' fa-hashtag',
'fa-hdd-o' => ' fa-hdd-o',
'fa-header' => ' fa-header',
'fa-headphones' => ' fa-headphones',
'fa-heart' => ' fa-heart',
'fa-heart-o' => ' fa-heart-o',
'fa-heartbeat' => ' fa-heartbeat',
'fa-history' => ' fa-history',
'fa-home' => ' fa-home',
'fa-hospital-o' => ' fa-hospital-o',
'fa-hourglass' => ' fa-hourglass',
'fa-hourglass-end' => ' fa-hourglass-end',
'fa-hourglass-half' => ' fa-hourglass-half',
'fa-hourglass-o' => ' fa-hourglass-o',
'fa-hourglass-start' => ' fa-hourglass-start',
'fa-houzz' => ' fa-houzz',
'fa-html5' => ' fa-html5',
'fa-i-cursor' => ' fa-i-cursor',
'fa-id-badge' => ' fa-id-badge',
'fa-id-card' => ' fa-id-card',
'fa-id-card-o' => ' fa-id-card-o',
'fa-ils' => ' fa-ils',
'fa-imdb' => ' fa-imdb',
'fa-inbox' => ' fa-inbox',
'fa-indent' => ' fa-indent',
'fa-industry' => ' fa-industry',
'fa-info' => ' fa-info',
'fa-info-circle' => ' fa-info-circle',
'fa-inr' => ' fa-inr',
'fa-instagram' => ' fa-instagram',
'fa-internet-explorer' => ' fa-internet-explorer',
'fa-ioxhost' => ' fa-ioxhost',
'fa-italic' => ' fa-italic',
'fa-joomla' => ' fa-joomla',
'fa-jpy' => ' fa-jpy',
'fa-jsfiddle' => ' fa-jsfiddle',
'fa-key' => ' fa-key',
'fa-keyboard-o' => ' fa-keyboard-o',
'fa-krw' => ' fa-krw',
'fa-language' => ' fa-language',
'fa-laptop' => ' fa-laptop',
'fa-lastfm' => ' fa-lastfm',
'fa-lastfm-square' => ' fa-lastfm-square',
'fa-leaf' => ' fa-leaf',
'fa-leanpub' => ' fa-leanpub',
'fa-lemon-o' => ' fa-lemon-o',
'fa-level-down' => ' fa-level-down',
'fa-level-up' => ' fa-level-up',
'fa-life-ring' => ' fa-life-ring',
'fa-lightbulb-o' => ' fa-lightbulb-o',
'fa-line-chart' => ' fa-line-chart',
'fa-link' => ' fa-link',
'fa-linkedin' => ' fa-linkedin',
'fa-linkedin-square' => ' fa-linkedin-square',
'fa-linode' => ' fa-linode',
'fa-linux' => ' fa-linux',
'fa-list' => ' fa-list',
'fa-list-alt' => ' fa-list-alt',
'fa-list-ol' => ' fa-list-ol',
'fa-list-ul' => ' fa-list-ul',
'fa-location-arrow' => ' fa-location-arrow',
'fa-lock' => ' fa-lock',
'fa-long-arrow-down' => ' fa-long-arrow-down',
'fa-long-arrow-left' => ' fa-long-arrow-left',
'fa-long-arrow-right' => ' fa-long-arrow-right',
'fa-long-arrow-up' => ' fa-long-arrow-up',
'fa-low-vision' => ' fa-low-vision',
'fa-magic' => ' fa-magic',
'fa-magnet' => ' fa-magnet',
'fa-male' => ' fa-male',
'fa-map' => ' fa-map',
'fa-map-marker' => ' fa-map-marker',
'fa-map-o' => ' fa-map-o',
'fa-map-pin' => ' fa-map-pin',
'fa-map-signs' => ' fa-map-signs',
'fa-mars' => ' fa-mars',
'fa-mars-double' => ' fa-mars-double',
'fa-mars-stroke' => ' fa-mars-stroke',
'fa-mars-stroke-h' => ' fa-mars-stroke-h',
'fa-mars-stroke-v' => ' fa-mars-stroke-v',
'fa-maxcdn' => ' fa-maxcdn',
'fa-meanpath' => ' fa-meanpath',
'fa-medium' => ' fa-medium',
'fa-medkit' => ' fa-medkit',
'fa-meetup' => ' fa-meetup',
'fa-meh-o' => ' fa-meh-o',
'fa-mercury' => ' fa-mercury',
'fa-microchip' => ' fa-microchip',
'fa-microphone' => ' fa-microphone',
'fa-microphone-slash' => ' fa-microphone-slash',
'fa-minus' => ' fa-minus',
'fa-minus-circle' => ' fa-minus-circle',
'fa-minus-square' => ' fa-minus-square',
'fa-minus-square-o' => ' fa-minus-square-o',
'fa-mixcloud' => ' fa-mixcloud',
'fa-mobile' => ' fa-mobile',
'fa-modx' => ' fa-modx',
'fa-money' => ' fa-money',
'fa-moon-o' => ' fa-moon-o',
'fa-motorcycle' => ' fa-motorcycle',
'fa-mouse-pointer' => ' fa-mouse-pointer',
'fa-music' => ' fa-music',
'fa-neuter' => ' fa-neuter',
'fa-newspaper-o' => ' fa-newspaper-o',
'fa-object-group' => ' fa-object-group',
'fa-object-ungroup' => ' fa-object-ungroup',
'fa-odnoklassniki' => ' fa-odnoklassniki',
'fa-odnoklassniki-square' => ' fa-odnoklassniki-square',
'fa-opencart' => ' fa-opencart',
'fa-openid' => ' fa-openid',
'fa-opera' => ' fa-opera',
'fa-optin-monster' => ' fa-optin-monster',
'fa-outdent' => ' fa-outdent',
'fa-pagelines' => ' fa-pagelines',
'fa-paint-brush' => ' fa-paint-brush',
'fa-paper-plane' => ' fa-paper-plane',
'fa-paper-plane-o' => ' fa-paper-plane-o',
'fa-paperclip' => ' fa-paperclip',
'fa-paragraph' => ' fa-paragraph',
'fa-pause' => ' fa-pause',
'fa-pause-circle' => ' fa-pause-circle',
'fa-pause-circle-o' => ' fa-pause-circle-o',
'fa-paw' => ' fa-paw',
'fa-paypal' => ' fa-paypal',
'fa-pencil' => ' fa-pencil',
'fa-pencil-square' => ' fa-pencil-square',
'fa-pencil-square-o' => ' fa-pencil-square-o',
'fa-percent' => ' fa-percent',
'fa-phone' => ' fa-phone',
'fa-phone-square' => ' fa-phone-square',
'fa-picture-o' => ' fa-picture-o',
'fa-pie-chart' => ' fa-pie-chart',
'fa-pied-piper' => ' fa-pied-piper',
'fa-pied-piper-alt' => ' fa-pied-piper-alt',
'fa-pied-piper-pp' => ' fa-pied-piper-pp',
'fa-pinterest' => ' fa-pinterest',
'fa-pinterest-p' => ' fa-pinterest-p',
'fa-pinterest-square' => ' fa-pinterest-square',
'fa-plane' => ' fa-plane',
'fa-play' => ' fa-play',
'fa-play-circle' => ' fa-play-circle',
'fa-play-circle-o' => ' fa-play-circle-o',
'fa-plug' => ' fa-plug',
'fa-plus' => ' fa-plus',
'fa-plus-circle' => ' fa-plus-circle',
'fa-plus-square' => ' fa-plus-square',
'fa-plus-square-o' => ' fa-plus-square-o',
'fa-podcast' => ' fa-podcast',
'fa-power-off' => ' fa-power-off',
'fa-print' => ' fa-print',
'fa-product-hunt' => ' fa-product-hunt',
'fa-puzzle-piece' => ' fa-puzzle-piece',
'fa-qq' => ' fa-qq',
'fa-qrcode' => ' fa-qrcode',
'fa-question' => ' fa-question',
'fa-question-circle' => ' fa-question-circle',
'fa-question-circle-o' => ' fa-question-circle-o',
'fa-quora' => ' fa-quora',
'fa-quote-left' => ' fa-quote-left',
'fa-quote-right' => ' fa-quote-right',
'fa-random' => ' fa-random',
'fa-ravelry' => ' fa-ravelry',
'fa-rebel' => ' fa-rebel',
'fa-recycle' => ' fa-recycle',
'fa-reddit' => ' fa-reddit',
'fa-reddit-alien' => ' fa-reddit-alien',
'fa-reddit-square' => ' fa-reddit-square',
'fa-refresh' => ' fa-refresh',
'fa-registered' => ' fa-registered',
'fa-renren' => ' fa-renren',
'fa-repeat' => ' fa-repeat',
'fa-reply' => ' fa-reply',
'fa-reply-all' => ' fa-reply-all',
'fa-retweet' => ' fa-retweet',
'fa-road' => ' fa-road',
'fa-rocket' => ' fa-rocket',
'fa-rss' => ' fa-rss',
'fa-rss-square' => ' fa-rss-square',
'fa-rub' => ' fa-rub',
'fa-safari' => ' fa-safari',
'fa-scissors' => ' fa-scissors',
'fa-scribd' => ' fa-scribd',
'fa-search' => ' fa-search',
'fa-search-minus' => ' fa-search-minus',
'fa-search-plus' => ' fa-search-plus',
'fa-sellsy' => ' fa-sellsy',
'fa-server' => ' fa-server',
'fa-share' => ' fa-share',
'fa-share-alt' => ' fa-share-alt',
'fa-share-alt-square' => ' fa-share-alt-square',
'fa-share-square' => ' fa-share-square',
'fa-share-square-o' => ' fa-share-square-o',
'fa-shield' => ' fa-shield',
'fa-ship' => ' fa-ship',
'fa-shirtsinbulk' => ' fa-shirtsinbulk',
'fa-shopping-bag' => ' fa-shopping-bag',
'fa-shopping-basket' => ' fa-shopping-basket',
'fa-shopping-cart' => ' fa-shopping-cart',
'fa-shower' => ' fa-shower',
'fa-sign-in' => ' fa-sign-in',
'fa-sign-language' => ' fa-sign-language',
'fa-sign-out' => ' fa-sign-out',
'fa-signal' => ' fa-signal',
'fa-simplybuilt' => ' fa-simplybuilt',
'fa-sitemap' => ' fa-sitemap',
'fa-skyatlas' => ' fa-skyatlas',
'fa-skype' => ' fa-skype',
'fa-slack' => ' fa-slack',
'fa-sliders' => ' fa-sliders',
'fa-slideshare' => ' fa-slideshare',
'fa-smile-o' => ' fa-smile-o',
'fa-snapchat' => ' fa-snapchat',
'fa-snapchat-ghost' => ' fa-snapchat-ghost',
'fa-snapchat-square' => ' fa-snapchat-square',
'fa-snowflake-o' => ' fa-snowflake-o',
'fa-sort' => ' fa-sort',
'fa-sort-alpha-asc' => ' fa-sort-alpha-asc',
'fa-sort-alpha-desc' => ' fa-sort-alpha-desc',
'fa-sort-amount-asc' => ' fa-sort-amount-asc',
'fa-sort-amount-desc' => ' fa-sort-amount-desc',
'fa-sort-asc' => ' fa-sort-asc',
'fa-sort-desc' => ' fa-sort-desc',
'fa-sort-numeric-asc' => ' fa-sort-numeric-asc',
'fa-sort-numeric-desc' => ' fa-sort-numeric-desc',
'fa-soundcloud' => ' fa-soundcloud',
'fa-space-shuttle' => ' fa-space-shuttle',
'fa-spinner' => ' fa-spinner',
'fa-spoon' => ' fa-spoon',
'fa-spotify' => ' fa-spotify',
'fa-square' => ' fa-square',
'fa-square-o' => ' fa-square-o',
'fa-stack-exchange' => ' fa-stack-exchange',
'fa-stack-overflow' => ' fa-stack-overflow',
'fa-star' => ' fa-star',
'fa-star-half' => ' fa-star-half',
'fa-star-half-o' => ' fa-star-half-o',
'fa-star-o' => ' fa-star-o',
'fa-steam' => ' fa-steam',
'fa-steam-square' => ' fa-steam-square',
'fa-step-backward' => ' fa-step-backward',
'fa-step-forward' => ' fa-step-forward',
'fa-stethoscope' => ' fa-stethoscope',
'fa-sticky-note' => ' fa-sticky-note',
'fa-sticky-note-o' => ' fa-sticky-note-o',
'fa-stop' => ' fa-stop',
'fa-stop-circle' => ' fa-stop-circle',
'fa-stop-circle-o' => ' fa-stop-circle-o',
'fa-street-view' => ' fa-street-view',
'fa-strikethrough' => ' fa-strikethrough',
'fa-stumbleupon' => ' fa-stumbleupon',
'fa-stumbleupon-circle' => ' fa-stumbleupon-circle',
'fa-subscript' => ' fa-subscript',
'fa-subway' => ' fa-subway',
'fa-suitcase' => ' fa-suitcase',
'fa-sun-o' => ' fa-sun-o',
'fa-superpowers' => ' fa-superpowers',
'fa-superscript' => ' fa-superscript',
'fa-table' => ' fa-table',
'fa-tablet' => ' fa-tablet',
'fa-tachometer' => ' fa-tachometer',
'fa-tag' => ' fa-tag',
'fa-tags' => ' fa-tags',
'fa-tasks' => ' fa-tasks',
'fa-taxi' => ' fa-taxi',
'fa-telegram' => ' fa-telegram',
'fa-television' => ' fa-television',
'fa-tencent-weibo' => ' fa-tencent-weibo',
'fa-terminal' => ' fa-terminal',
'fa-text-height' => ' fa-text-height',
'fa-text-width' => ' fa-text-width',
'fa-th' => ' fa-th',
'fa-th-large' => ' fa-th-large',
'fa-th-list' => ' fa-th-list',
'fa-themeisle' => ' fa-themeisle',
'fa-thermometer-empty' => ' fa-thermometer-empty',
'fa-thermometer-full' => ' fa-thermometer-full',
'fa-thermometer-half' => ' fa-thermometer-half',
'fa-thermometer-quarter' => ' fa-thermometer-quarter',
'fa-thermometer-three-quarters' => ' fa-thermometer-three-quarters',
'fa-thumb-tack' => ' fa-thumb-tack',
'fa-thumbs-down' => ' fa-thumbs-down',
'fa-thumbs-o-down' => ' fa-thumbs-o-down',
'fa-thumbs-o-up' => ' fa-thumbs-o-up',
'fa-thumbs-up' => ' fa-thumbs-up',
'fa-ticket' => ' fa-ticket',
'fa-times' => ' fa-times',
'fa-times-circle' => ' fa-times-circle',
'fa-times-circle-o' => ' fa-times-circle-o',
'fa-tint' => ' fa-tint',
'fa-toggle-off' => ' fa-toggle-off',
'fa-toggle-on' => ' fa-toggle-on',
'fa-trademark' => ' fa-trademark',
'fa-train' => ' fa-train',
'fa-transgender' => ' fa-transgender',
'fa-transgender-alt' => ' fa-transgender-alt',
'fa-trash' => ' fa-trash',
'fa-trash-o' => ' fa-trash-o',
'fa-tree' => ' fa-tree',
'fa-trello' => ' fa-trello',
'fa-tripadvisor' => ' fa-tripadvisor',
'fa-trophy' => ' fa-trophy',
'fa-truck' => ' fa-truck',
'fa-try' => ' fa-try',
'fa-tty' => ' fa-tty',
'fa-tumblr' => ' fa-tumblr',
'fa-tumblr-square' => ' fa-tumblr-square',
'fa-twitch' => ' fa-twitch',
'fa-twitter' => ' fa-twitter',
'fa-twitter-square' => ' fa-twitter-square',
'fa-umbrella' => ' fa-umbrella',
'fa-underline' => ' fa-underline',
'fa-undo' => ' fa-undo',
'fa-universal-access' => ' fa-universal-access',
'fa-university' => ' fa-university',
'fa-unlock' => ' fa-unlock',
'fa-unlock-alt' => ' fa-unlock-alt',
'fa-upload' => ' fa-upload',
'fa-usb' => ' fa-usb',
'fa-usd' => ' fa-usd',
'fa-user' => ' fa-user',
'fa-user-circle' => ' fa-user-circle',
'fa-user-circle-o' => ' fa-user-circle-o',
'fa-user-md' => ' fa-user-md',
'fa-user-o' => ' fa-user-o',
'fa-user-plus' => ' fa-user-plus',
'fa-user-secret' => ' fa-user-secret',
'fa-user-times' => ' fa-user-times',
'fa-users' => ' fa-users',
'fa-venus' => ' fa-venus',
'fa-venus-double' => ' fa-venus-double',
'fa-venus-mars' => ' fa-venus-mars',
'fa-viacoin' => ' fa-viacoin',
'fa-viadeo' => ' fa-viadeo',
'fa-viadeo-square' => ' fa-viadeo-square',
'fa-video-camera' => ' fa-video-camera',
'fa-vimeo' => ' fa-vimeo',
'fa-vimeo-square' => ' fa-vimeo-square',
'fa-vine' => ' fa-vine',
'fa-vk' => ' fa-vk',
'fa-volume-control-phone' => ' fa-volume-control-phone',
'fa-volume-down' => ' fa-volume-down',
'fa-volume-off' => ' fa-volume-off',
'fa-volume-up' => ' fa-volume-up',
'fa-weibo' => ' fa-weibo',
'fa-weixin' => ' fa-weixin',
'fa-whatsapp' => ' fa-whatsapp',
'fa-wheelchair' => ' fa-wheelchair',
'fa-wheelchair-alt' => ' fa-wheelchair-alt',
'fa-wifi' => ' fa-wifi',
'fa-wikipedia-w' => ' fa-wikipedia-w',
'fa-window-close' => ' fa-window-close',
'fa-window-close-o' => ' fa-window-close-o',
'fa-window-maximize' => ' fa-window-maximize',
'fa-window-minimize' => ' fa-window-minimize',
'fa-window-restore' => ' fa-window-restore',
'fa-windows' => ' fa-windows',
'fa-wordpress' => ' fa-wordpress',
'fa-wpbeginner' => ' fa-wpbeginner',
'fa-wpexplorer' => ' fa-wpexplorer',
'fa-wpforms' => ' fa-wpforms',
'fa-wrench' => ' fa-wrench',
'fa-xing' => ' fa-xing',
'fa-xing-square' => ' fa-xing-square',
'fa-y-combinator' => ' fa-y-combinator',
'fa-yahoo' => ' fa-yahoo',
'fa-yelp' => ' fa-yelp',
'fa-yoast' => ' fa-yoast',
'fa-youtube' => ' fa-youtube',
'fa-youtube-play' => ' fa-youtube-play',
'fa-youtube-square' => ' fa-youtube-square',
),
),
array(
'key' => 'icons_cat_color',
'label' => __( 'Icon Color', 'directorytheme' ),
'name' => 'icons_cat_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '#fff',
'placeholder' => '',
'maxlength' => '',
'rows' => '',
'new_lines' => '',
),
array(
'key' => 'icons_cat_bgcolor',
'label' => __( 'Icon Background Color', 'directorytheme' ),
'name' => 'icons_cat_bgcolor',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '#000',
'placeholder' => '',
'maxlength' => '',
'rows' => '',
'new_lines' => '',
),
array(
'key' => 'icons_cat_link',
'label' => __('Icon Link' , 'directorytheme' ),
'name' => 'icons_cat_link',
'type' => 'url',
'instructions' => __( '<b>Note : </b> link will appear only on listing detail page', 'directorytheme' ),
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => 'https://www.google.com/',
),
),
),
array(
'key' => 'field_5a4c694eb75sa',
'label' => 'Background Banner',
'name' => 'category_banner',
'type' => 'image',
'instructions' => __( 'Recommended Image size is 1530 x 765 pixels', 'directorytheme' ),
'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' => 'taxonomy',
'operator' => '==',
'value' => 'listing-categories',
),
),
),
'menu_order' => 0,
'position' => 'side',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'sendio_opt',
'title' => 'Sendio Subscribe',
'fields' => array(
array(
'key' => 'sendio_enable',
'label' => 'Sendio Enable',
'name' => 'sendio_enable',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => 'NO',
'ui_off_text' => 'YES',
),
array(
'key' => 'sendio_token',
'label' => 'Sendio API Token ',
'name' => 'sendio_token',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'sendio_enable',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'sendio_secret',
'label' => 'Sendio API Secret ',
'name' => 'sendio_secret',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'sendio_enable',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'sendio_regid',
'label' => 'Sendio Register List ID',
'name' => 'sendio_regid',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'sendio_token',
'operator' => '!=',
'value' => '',
),
array(
'field' => 'sendio_secret',
'operator' => '!=',
'value' => '',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'sendio_listingid',
'label' => 'Sendio Submit Listing List ID',
'name' => 'sendio_listingid',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'sendio_token',
'operator' => '!=',
'value' => '',
),
array(
'field' => 'sendio_secret',
'operator' => '!=',
'value' => '',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'sendio_contactid',
'label' => 'Sendio Contact List ID',
'name' => 'sendio_contactid',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'sendio_token',
'operator' => '!=',
'value' => '',
),
array(
'field' => 'sendio_secret',
'operator' => '!=',
'value' => '',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'sendio_form_id',
'label' => 'Sendio Form List ID',
'name' => 'sendio_form_id',
'type' => 'text',
'instructions' => '',
'required' => 1,
'conditional_logic' => array(
array(
array(
'field' => 'sendio_contactid',
'operator' => '!=',
'value' => '',
),
),
array(
array(
'field' => 'sendio_listingid',
'operator' => '!=',
'value' => '',
),
),
array(
array(
'field' => 'sendio_regid',
'operator' => '!=',
'value' => '',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'acf-options-general-settings',
),
),
),
'menu_order' => 2,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a60139ea4040',
'title' => 'Stripe Details',
'fields' => array(
array(
'key' => 'field_5a6013aa28040',
'label' => 'Stripe Secret Key',
'name' => 'stripe_api_key',
'type' => 'text',
'instructions' => '',
'required' => 1,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
),
array(
'key' => 'field_5a6013aa28030',
'label' => 'Stripe Publish Key',
'name' => 'stripe_publish_key',
'type' => 'text',
'instructions' => '',
'required' => 1,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
),
array(
'key' => 'field_5a6013c22801b',
'label' => __( 'Stripe Button', 'directorytheme' ),
'name' => 'stripe_button',
'type' => 'text',
'instructions' => 'Stripe button text',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a602bbdc8d1f',
'label' => __( 'Product', 'directorytheme' ),
'name' => 'stripe_product',
'type' => 'post_object',
'instructions' => __( 'Product listing button', 'directorytheme' ),
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'post_type' => array(
0 => 'paypal',
),
'taxonomy' => array(
),
'allow_null' => 0,
'multiple' => 1,
'return_format' => 'object',
'ui' => 1,
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'acf-options-stripe-setting',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
//cliam listing
acf_add_local_field_group(array(
'key' => 'group_5n58fd6c45484',
'title' => 'Claim Listings',
'fields' => array(
array(
'key' => 'field_5a66fd9f862ed',
'label' => __( 'First Name', 'directorytheme' ),
'name' => 'claim_firstnm',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'readonly' => 1,
'prepend' => '',
'append' => '',
'maxlength' => '',
'disabled' => 0,
),
array(
'key' => 'field_5a77fd9f862ea',
'label' => __( 'Last Name', 'directorytheme' ),
'name' => 'claim_lastnm',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
'readonly' => 1,
),
array(
'key' => 'field_5d55fd92882ea',
'label' => __( 'Business Email', 'directorytheme' ),
'name' => 'claim_email',
'type' => 'email',
'instructions' => '',
'required' => 1,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
),
array(
'key' => 'field_5a55fd9f862eb',
'label' => __( 'Phone', 'directorytheme' ),
'name' => 'claim_phone',
'type' => 'text',
'instructions' => '',
'required' => 1,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a56fda9782ec',
'label' => '',
'name' => 'claim_listingid',
'type' => 'hidden',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'min' => '',
'max' => '',
'step' => '',
),
array(
'key' => 'field_5a74fda9882ac',
'label' => '',
'name' => 'claim_userid',
'type' => 'hidden',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'min' => '',
'max' => '',
'step' => '',
),
array(
'key' => 'field_5a56fdb0999ed',
'label' => __( 'Verification Detail', 'directorytheme'),
'name' => 'claim_message',
'type' => 'textarea',
'instructions' => '',
'required' => 1,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_6a74fda9872ac',
'label' => '',
'name' => 'listing_author',
'type' => 'hidden',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'min' => '',
'max' => '',
'step' => '',
),
),
'location' => array(
array(
array(
'param' => 'post_type',
'operator' => '==',
'value' => 'claim_listing',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => array(
0 => 'the_content',
),
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a45f2faa3mqr',
'title' => 'Claim Listing Status',
'fields' => array(
array(
'key' => 'field_5awe03e9a0db9',
'label' => '',
'name' => 'claim_status',
'type' => 'select',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
1 => 'Approve',
0 => 'Declined',
),
'default_value' => array(
0 => 0,
),
'allow_null' => 0,
'multiple' => 0,
'ui' => 0,
'ajax' => 0,
'return_format' => 'value',
'placeholder' => '',
),
),
'location' => array(
array(
array(
'param' => 'post_type',
'operator' => '==',
'value' => 'claim_listing',
),
),
),
'menu_order' => 0,
'position' => 'side',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5m59fd6c45484',
'title' => 'Claim Listings',
'fields' => array(
array(
'key' => 'field_5d55gd02883ea',
'label' => __( 'Claim Listing Email Address', 'directorytheme'),
'name' => 'admin_cemail',
'type' => 'email',
'instructions' => __( 'Notification email for admin when New Claim Listing Form submitted', 'directorytheme'),
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'claim-email-settings',
),
),
),
'menu_order' => 1,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => array(
0 => 'the_content',
),
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5k56fa6c45484',
'title' => 'Approved Claim Confirmation',
'fields' => array(
array(
'key' => 'field_5a45ed9f862eb',
'label' => __('Email Subject' , 'directorytheme' ),
'name' => 'approve_subject',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a36fdb0990ed',
'label' => __('Email Body' , 'directorytheme' ),
'name' => 'approve_message',
'type' => 'textarea',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'claim-email-settings',
),
),
),
'menu_order' => 2,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => array(
0 => 'the_content',
),
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5j58ea6c55684',
'title' => 'Declined Claim Confirmation',
'fields' => array(
array(
'key' => 'field_5b45ed9f862eb',
'label' => __( 'Email Subject', 'directorytheme' ),
'name' => 'declined_subject',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5b36fdb0990ed',
'label' => __( 'Email Body', 'directorytheme' ),
'name' => 'declined_message',
'type' => 'textarea',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'claim-email-settings',
),
),
),
'menu_order' => 3,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => array(
0 => 'the_content',
),
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5m59fd7d55584',
'title' => 'Claim Listings Button',
'fields' => array(
array(
'key' => 'field_5d55gd03483ea',
'label' => __('Claim Listing Button on Single Listing Page', 'directorytheme' ),
'name' => 'claim_btn',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 1,
'ui' => 1,
'ui_on_text' => 'ON',
'ui_off_text' => 'OFF',
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'claim-email-settings',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => array(
0 => 'the_content',
),
'active' => 1,
'description' => '',
));
$page_ids = get_all_page_ids();
global $pricing_page;
$choices_array = array();
$ex_optin = array('draft');
foreach($page_ids as $single_page_id){
$pricing_page = get_the_title($single_page_id);
if(get_page_template_slug($single_page_id) == "pricing.php"){
$premium_field = array();
$pricing_page = $single_page_id;
if(!empty(get_post_meta($single_page_id, 'pricing',true))):
$my_field = array();
$pricing_tbl_cnt = get_post_meta($single_page_id,'pricing',true);
if(!empty($pricing_tbl_cnt)):
for ($i=0; $i < $pricing_tbl_cnt; $i++) {
$title_slug = 'pricing_'.$i.'_title';
$price_title = get_post_meta($single_page_id,$title_slug,true);
$a = strtolower($price_title);
$choices_array[sanitize_title($a)] = $a;
array_push($ex_optin,$a);
}
endif;
endif;
}
}
if(empty($choices_array)){
array_push($ex_optin,'Free','Premium');
$choices_array = array(
'free' => __( 'Free: <br /><small style="color: #999; font-size: 10px;">Includes business name, address, phone.</small>', 'directorytheme' ),
'premium' => __('Premium: <br /><small style="color: #999; font-size: 10px;">EVERYTHING WITH FREE LISTING PLUS: EMAIL ADDRESS, COMPANY LOGO, VIDEO, IMAGE SLIDE SHOW, GOOGLE MAP DIRECTION, CATEGORY</small>', 'directorytheme' ),
);
}
acf_add_local_field_group(array(
'key' => 'group_5a2df2c2e8d84',
'title' => __( 'Listing Details', 'directorytheme' ),
'fields' => array(
array(
'key' => 'field_5a508d0511150',
'label' => __( 'Listing Type', 'directorytheme' ),
'name' => 'listing_type',
'type' => 'radio',
'instructions' => '',
'required' => 1,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => $choices_array,
'allow_null' => 0,
'other_choice' => 0,
'save_other_choice' => 0,
'default_value' => '',
'layout' => 'horizontal',
'return_format' => 'value',
),
array(
'key' => 'field_5a5567c297a42',
'label' => __( 'Business Description', 'directorytheme' ),
'name' => 'content',
'type' => 'textarea',
'instructions' => __( 'Short Description max. 1000 characters', 'directorytheme' ),
'required' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'maxlength' => 1000,
'rows' => '',
'new_lines' => 'wpautop',
),
array(
'key' => 'field_5a5567c297187',
'label' => __( 'Additional Details', 'directorytheme' ),
'name' => 'additional_details',
'type' => 'wysiwyg',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
),
array(
'key' => 'field_5a2fb51a6ede2',
'label' => __( 'Logo', 'directorytheme' ),
'name' => 'logo',
'type' => 'image',
'instructions' => __( 'Image size should be maximum of 200 x 100 pixels and must not exceed by 100kb', 'directorytheme' ),
'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' => 100,
'max_size' => '.1',
'mime_types' => '',
),
array(
'key' => 'field_5a430c5235231',
'label' => __( 'Scheduled Days', 'directorytheme' ),
'name' => 'schedules_days',
'type' => 'repeater',
'instructions' => '',
'sub_fields' => array(
array(
'key' => 'single_schedule_day',
'label' => __( 'Day' , 'directorytheme' ),
'name' => 'single_schedule_day',
'type' => 'text',
),
array(
'key' => 'field_5a0552cd48111',
'label' => __( 'Open OR Closed', 'directorytheme' ),
'name' => 'openorclosed',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => 'Yes',
'ui_off_text' => 'No',
),
array(
'key' => 'business_hour_from',
'label' => __( 'Business Hour From', 'directorytheme' ),
'name' => 'business_hour_from',
'type' => 'time_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a0552cd48111',
'operator' => '==',
'value' => '1',
),
),
),
'display_format' => 'g:i a',
'return_format' => 'g:i a',
),
array(
'key' => 'business_hour_to',
'label' => __( 'Business Hour To', 'directorytheme' ),
'name' => 'business_hour_to',
'type' => 'time_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a0552cd48111',
'operator' => '==',
'value' => '1',
),
),
),
'display_format' => 'g:i a',
'return_format' => 'g:i a',
),
),
'conditional_logic' => 0,
'button_label' => __( 'Add Day', 'directorytheme' ),
'return_format' => 'url',
'library' => 'all',
'min' => '',
'max' => '7',
),
$rqaf=array(
'key' => 'field_5a4df4a8y3r17',
'label' => __( 'Hide address option', 'directorytheme' ),
'name' => 'hide_add_swtchr',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => __( 'Hide', 'directorytheme'),
'ui_off_text' => __( 'Show', 'directorytheme'),
),
array(
'key' => 'direction_on_map',
'label' => __( 'Direction', 'directorytheme' ),
'name' => 'direction_on_map',
'type' => 'true_false',
'instructions' => __( 'If you Enable direction option then Map will not display ', 'directorytheme' ),
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a4df4a8y3r17',
'operator' => '==',
'value' => '0',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => __( 'Hide', 'directorytheme'),
'ui_off_text' => __( 'Show', 'directorytheme'),
),
array(
'key' => 'field_5a2fb4cc6eddf',
'label' => __( 'Address', 'directorytheme' ),
'name' => 'address',
'type' => 'google_map',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a4df4a8y3r17',
'operator' => '==',
'value' => '0',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'center_lat' => '34.052235',
'center_lng' => '-118.243683',
'zoom' => '',
'height' => '',
),
array(
'key' => 'field_5a4df4y3er02w',
'label' => __( 'Hide phone option', 'directorytheme' ),
'name' => 'hide_phn_swtchr',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => __( 'Hide', 'directorytheme'),
'ui_off_text' => __( 'Show', 'directorytheme'),
),
array(
'key' => 'field_5a2fb4f96ede0',
'label' => __( 'Phone', 'directorytheme' ),
'name' => 'phone',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a4df4y3er02w',
'operator' => '==',
'value' => '0',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5a0552cd48d5f',
'label' => __( 'Show email address publicly', 'directorytheme' ),
'name' => 'show_email_public',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => __( 'Hide', 'directorytheme'),
'ui_off_text' => __( 'Show', 'directorytheme'),
),
array(
'key' => 'field_5a556a21dc86b',
'label' => __( 'Email Address', 'directorytheme' ),
'name' => 'email_address',
'type' => 'email',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
),
array(
'key' => 'field_5b28570780cc1',
'label' => __( 'Featured Image', 'directorytheme' ),
'name' => 'featured_image',
'type' => 'image',
'instructions' => __( 'Recommended Image size is 1530 x 765 pixels', 'directorytheme' ),
'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' => '',
),
array(
'key' => 'field_5a2fb4ff6ede1',
'label' => __( 'Website', 'directorytheme' ),
'name' => 'website',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => 'www.website.com',
),
array(
'key' => 'field_5a2fb52e6ede3',
'label' => __( 'Video', 'directorytheme' ),
'name' => 'video',
'type' => 'oembed',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'width' => '',
'height' => '',
),
array(
'key' => 'field_5a2fb53e6ede4',
'label' => __( 'Images', 'directorytheme' ),
'name' => 'images',
'type' => 'gallery',
'instructions' => __( 'Recommended Image size is 1500 x 1000 pixels', 'directorytheme' ),
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'min' => '',
'max' => 10,
'library' => 'all',
'min_width' => '',
'min_height' => '',
'min_size' => '',
'max_width' => '',
'max_height' => '',
'max_size' => '',
'mime_types' => '',
),
array(
'key' => 'field_5a2fb5a20bb13',
'label' => __( 'Category' , 'directorytheme' ),
'name' => 'category',
'type' => 'taxonomy',
'instructions' => '',
'required' => 1,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'taxonomy' => 'listing-categories',
'field_type' => 'checkbox',
'allow_null' => 0,
'add_term' => 1,
'save_terms' => 1,
'load_terms' => 1,
'return_format' => 'object',
'multiple' => 1,
),
array(
'key' => 'field_5aa8eb5906999',
'label' => __( 'Extra Links', 'directorytheme' ),
'name' => 'extra_links',
'type' => 'repeater',
'instructions' => __( 'These links are shown on Listing Detail Page. click on <b>Add Button</b>', 'directorytheme' ),
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'collapsed' => '',
'layout' => 'block',
'button_label' => __( 'Add Button', 'directorytheme' ),
'row_min' => '0',
'max' => '0',
'sub_fields' => array(
array(
'key' => 'field_5aa8eb720plk1',
'label' => __( 'Button Text', 'directorytheme' ),
'name' => 'button_text',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'field_5aa8eb720plk2',
'label' => __( 'Button Link', 'directorytheme' ),
'name' => 'button_link',
'type' => 'link',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'allow_null' => 0,
'allow_archives' => 0,
'multiple' => 0,
),
array(
'key' => 'field_5aa8eb720plk3',
'label' => __( 'Button Backgrond Color' , 'directorytheme' ),
'name' => 'button_bg_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '#000',
'placeholder' => '',
'maxlength' => '',
'rows' => '',
'new_lines' => '',
),
array(
'key' => 'field_5aa8eb720plk4',
'label' => __( 'Button Text Color', 'directorytheme'),
'name' => 'btn_text_color',
'type' => 'color_picker',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '#fff',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
),
),
array(
'key' => 'field_5aa8ec230plm4',
'label' => __( 'Shortcode', 'directorytheme' ),
'name' => 'pre_shortcode',
'type' => 'repeater',
'instructions' => __('These links are shown on Listing Detail Page. click on <b>Add Shortcode</b>','directorytheme'),
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'collapsed' => '',
'layout' => 'row',
'button_label' => __( 'Add Shortcode', 'directorytheme' ),
'row_min' => '0',
'max' => '0',
'sub_fields' => array(
array(
'key' => 'field_5aa0ec231plm4',
'label' => __( 'Shortcode', 'directorytheme' ),
'name' => 'sub_shortcode',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
),
),
array(
'key' => 'field_5ba9ec231plh8',
'label' => __( 'Facebook Link', 'directorytheme' ),
'name' => 'facebook_link',
'type' => 'url',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => 'https://www.facebook.com/',
),
array(
'key' => 'field_5ba9fc231poh2',
'label' => __( 'Twitter Link', 'directorytheme'),
'name' => 'twitter_link',
'type' => 'url',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => 'https://www.twitter.com/',
),
array(
'key' => 'field_5ba3gc231pod4',
'label' => __( 'Instagram Link', 'directorytheme'),
'name' => 'instagram_link',
'type' => 'url',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => 'https://www.instagram.com/',
),
array(
'key' => 'field_5ba3gc234pjl7',
'label' => __( 'LinkedIn Link', 'directorytheme'),
'name' => 'linkedin_link',
'type' => 'url',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => 'https://www.linkedin.com/',
),
array(
'key' => 'field_6axd08e9a1db9',
'label' => __( 'expiration date', 'directorytheme'),
'name' => 'exp_date',
'type' => 'date_picker',
'instructions' => __( '(Select a date for this listing to re-vert back to a free listing)', 'directorytheme'),
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'display_format' => 'd/m/Y',
'return_format' => 'd/m/Y',
'first_day' => 1,
),
array(
'key' => 'field_5axe05e9a1db9',
'label' => __( 'After expire listing where to move it', 'directorytheme'),
'name' => 'expire_lstatus',
'type' => 'select',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
/*'choices' => array(
0 => 'Draft',
1 => 'Free',
2 => 'Premium',
),*/
'choices' => $ex_optin,
'default_value' => array(
0 => 0,
),
'allow_null' => 0,
'multiple' => 0,
'ui' => 0,
'ajax' => 0,
'return_format' => 'value',
'placeholder' => '',
),
),
'location' => array(
array(
array(
'param' => 'post_type',
'operator' => '==',
'value' => 'listings',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => array(
0 => 'the_content',
),
'active' => 1,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_5a41cc3310721',
'title' => 'Show/Hide Banner Setting',
'fields' => array(
array(
'key' => 'field_5a4df4afsd4f57',
'label' => __( 'Page Banner Setting' , 'directorytheme' ),
'name' => 'show_hide_page_bann_switcher',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 1,
'ui' => 1,
'ui_on_text' => 'Show',
'ui_off_text' => 'Hide',
),
array(
'key' => 'show_hide_page_title',
'label' => __('Page Title' , 'directorytheme' ),
'name' => 'show_hide_page_title_switcher',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_5a4df4afsd4f57',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 1,
'ui' => 1,
'ui_on_text' => 'Show',
'ui_off_text' => 'Hide',
),
),
'location' => array(
array(
array(
'param' => 'post_type',
'operator' => '==',
'value' => 'page',
),
array(
'param' => 'page_type',
'operator' => '!=',
'value' => 'front_page',
),
),
),
'menu_order' => 0,
'position' => 'side',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => array(
0 => 'featured_image',
),
'active' => 1,
'description' => '',
));
endif;