895 lines
21 KiB
PHP
895 lines
21 KiB
PHP
<?php
|
|
|
|
if( function_exists('acf_add_local_field_group') ):
|
|
|
|
acf_add_local_field_group(array(
|
|
'key' => 'group_65d0befc4dd22',
|
|
'title' => 'Общие настройки',
|
|
'fields' => array(
|
|
array(
|
|
'key' => 'field_65d0befc01b4d',
|
|
'label' => 'Логотип сайта',
|
|
'name' => 'site_logo',
|
|
'aria-label' => '',
|
|
'type' => 'image',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'return_format' => 'url',
|
|
'library' => 'all',
|
|
'min_width' => '',
|
|
'min_height' => '',
|
|
'min_size' => '',
|
|
'max_width' => '',
|
|
'max_height' => '',
|
|
'max_size' => '',
|
|
'mime_types' => '',
|
|
'preview_size' => 'medium',
|
|
'uploader' => '',
|
|
'acfe_thumbnail' => 0,
|
|
),
|
|
array(
|
|
'key' => 'field_65d2f5c51edf6',
|
|
'label' => 'Копирайт',
|
|
'name' => 'copyright',
|
|
'aria-label' => '',
|
|
'type' => 'text',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'default_value' => 'АгроЭксперт',
|
|
'maxlength' => '',
|
|
'placeholder' => '',
|
|
'prepend' => '',
|
|
'append' => '',
|
|
),
|
|
array(
|
|
'key' => 'field_65d609d4ee8f5',
|
|
'label' => 'Email',
|
|
'name' => 'email',
|
|
'aria-label' => '',
|
|
'type' => 'email',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'default_value' => '',
|
|
'placeholder' => '',
|
|
'prepend' => '',
|
|
'append' => '',
|
|
),
|
|
array(
|
|
'key' => 'field_65d609e5ee8f6',
|
|
'label' => 'Адрес',
|
|
'name' => 'address',
|
|
'aria-label' => '',
|
|
'type' => 'text',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'default_value' => '',
|
|
'maxlength' => '',
|
|
'placeholder' => '',
|
|
'prepend' => '',
|
|
'append' => '',
|
|
),
|
|
array(
|
|
'key' => 'field_65d609ffee8f7',
|
|
'label' => 'Телефон',
|
|
'name' => 'phone',
|
|
'aria-label' => '',
|
|
'type' => 'text',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'default_value' => '',
|
|
'maxlength' => '',
|
|
'placeholder' => '',
|
|
'prepend' => '',
|
|
'append' => '',
|
|
),
|
|
array(
|
|
'key' => 'field_65d9c6d34f280',
|
|
'label' => 'Политика конфиденциальности',
|
|
'name' => 'privacy_policy',
|
|
'aria-label' => '',
|
|
'type' => 'group',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'layout' => 'block',
|
|
'acfe_seamless_style' => 0,
|
|
'acfe_group_modal' => 0,
|
|
'acfe_group_modal_close' => 0,
|
|
'acfe_group_modal_button' => '',
|
|
'acfe_group_modal_size' => 'large',
|
|
'sub_fields' => array(
|
|
array(
|
|
'key' => 'field_65d9de4263d6b',
|
|
'label' => 'Выводимый текст',
|
|
'name' => 'output_text',
|
|
'aria-label' => '',
|
|
'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_65d9deef63d6c',
|
|
'label' => 'Файл политики',
|
|
'name' => 'file',
|
|
'aria-label' => '',
|
|
'type' => 'file',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'uploader' => '',
|
|
'return_format' => 'array',
|
|
'min_size' => '',
|
|
'max_size' => '',
|
|
'mime_types' => '',
|
|
'library' => 'all',
|
|
),
|
|
array(
|
|
'key' => 'field_65e04e8a2cf58',
|
|
'label' => 'Файл свидетельства',
|
|
'name' => 'file_certificate',
|
|
'aria-label' => '',
|
|
'type' => 'file',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'uploader' => '',
|
|
'return_format' => 'array',
|
|
'min_size' => '',
|
|
'max_size' => '',
|
|
'mime_types' => '',
|
|
'library' => 'all',
|
|
),
|
|
),
|
|
),
|
|
array(
|
|
'key' => 'field_65d9c80255855',
|
|
'label' => 'Параметры для Яндекс Карты',
|
|
'name' => 'yandex_params',
|
|
'aria-label' => '',
|
|
'type' => 'group',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'layout' => 'block',
|
|
'acfe_seamless_style' => 0,
|
|
'acfe_group_modal' => 0,
|
|
'acfe_group_modal_close' => 0,
|
|
'acfe_group_modal_button' => '',
|
|
'acfe_group_modal_size' => 'large',
|
|
'sub_fields' => array(
|
|
array(
|
|
'key' => 'field_65d9c9c53ab69',
|
|
'label' => 'Широта',
|
|
'name' => 'latitude',
|
|
'aria-label' => '',
|
|
'type' => 'text',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'default_value' => '',
|
|
'maxlength' => '',
|
|
'placeholder' => '',
|
|
'prepend' => '',
|
|
'append' => '',
|
|
),
|
|
array(
|
|
'key' => 'field_65d9c9f93ab6a',
|
|
'label' => 'Долгота',
|
|
'name' => 'longitude',
|
|
'aria-label' => '',
|
|
'type' => 'text',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'default_value' => '',
|
|
'maxlength' => '',
|
|
'placeholder' => '',
|
|
'prepend' => '',
|
|
'append' => '',
|
|
),
|
|
array(
|
|
'key' => 'field_65d9ca173ab6b',
|
|
'label' => 'Наименование метки на карте',
|
|
'name' => 'name_point',
|
|
'aria-label' => '',
|
|
'type' => 'text',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'default_value' => '',
|
|
'maxlength' => '',
|
|
'placeholder' => '',
|
|
'prepend' => '',
|
|
'append' => '',
|
|
),
|
|
array(
|
|
'key' => 'field_65d9ca263ab6c',
|
|
'label' => 'Изображение метки',
|
|
'name' => 'image_point',
|
|
'aria-label' => '',
|
|
'type' => 'image',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'uploader' => '',
|
|
'return_format' => 'array',
|
|
'acfe_thumbnail' => 0,
|
|
'min_width' => '',
|
|
'min_height' => '',
|
|
'min_size' => '',
|
|
'max_width' => '',
|
|
'max_height' => '',
|
|
'max_size' => '',
|
|
'mime_types' => '',
|
|
'preview_size' => 'medium',
|
|
'library' => 'all',
|
|
),
|
|
),
|
|
),
|
|
array(
|
|
'key' => 'field_65db68c251f51',
|
|
'label' => 'Баннеры левый сайдбар Desktop',
|
|
'name' => 'left_sidebar_banners_desktop',
|
|
'aria-label' => '',
|
|
'type' => 'repeater',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'acfe_repeater_stylised_button' => 0,
|
|
'layout' => 'table',
|
|
'pagination' => 0,
|
|
'min' => 0,
|
|
'max' => 0,
|
|
'collapsed' => '',
|
|
'button_label' => 'Добавить',
|
|
'rows_per_page' => 20,
|
|
'sub_fields' => array(
|
|
array(
|
|
'key' => 'field_65e6eff1e3a9e',
|
|
'label' => 'Изображение',
|
|
'name' => 'image',
|
|
'aria-label' => '',
|
|
'type' => 'image',
|
|
'instructions' => '',
|
|
'required' => 1,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'uploader' => '',
|
|
'return_format' => 'array',
|
|
'acfe_thumbnail' => 0,
|
|
'min_width' => '',
|
|
'min_height' => '',
|
|
'min_size' => '',
|
|
'max_width' => '',
|
|
'max_height' => '',
|
|
'max_size' => '',
|
|
'mime_types' => '',
|
|
'preview_size' => 'medium',
|
|
'library' => 'all',
|
|
'parent_repeater' => 'field_65db68c251f51',
|
|
),
|
|
array(
|
|
'key' => 'field_65e6f01ee3aa0',
|
|
'label' => 'Ссылка',
|
|
'name' => 'link',
|
|
'aria-label' => '',
|
|
'type' => 'text',
|
|
'instructions' => '',
|
|
'required' => 1,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'default_value' => '',
|
|
'maxlength' => '',
|
|
'placeholder' => '',
|
|
'prepend' => '',
|
|
'append' => '',
|
|
'parent_repeater' => 'field_65db68c251f51',
|
|
),
|
|
),
|
|
),
|
|
array(
|
|
'key' => 'field_65e6f18c2909f',
|
|
'label' => 'Баннеры левый сайдбар Mobile',
|
|
'name' => 'left_sidebar_banners_mobile',
|
|
'aria-label' => '',
|
|
'type' => 'repeater',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'acfe_repeater_stylised_button' => 0,
|
|
'layout' => 'table',
|
|
'pagination' => 0,
|
|
'min' => 0,
|
|
'max' => 0,
|
|
'collapsed' => '',
|
|
'button_label' => 'Добавить',
|
|
'rows_per_page' => 20,
|
|
'sub_fields' => array(
|
|
array(
|
|
'key' => 'field_65e6f18c290a0',
|
|
'label' => 'Изображение',
|
|
'name' => 'image',
|
|
'aria-label' => '',
|
|
'type' => 'image',
|
|
'instructions' => '',
|
|
'required' => 1,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'uploader' => '',
|
|
'return_format' => 'array',
|
|
'acfe_thumbnail' => 0,
|
|
'min_width' => '',
|
|
'min_height' => '',
|
|
'min_size' => '',
|
|
'max_width' => '',
|
|
'max_height' => '',
|
|
'max_size' => '',
|
|
'mime_types' => '',
|
|
'preview_size' => 'medium',
|
|
'library' => 'all',
|
|
'parent_repeater' => 'field_65e6f18c2909f',
|
|
),
|
|
array(
|
|
'key' => 'field_65e6f18c290a1',
|
|
'label' => 'Ссылка',
|
|
'name' => 'link',
|
|
'aria-label' => '',
|
|
'type' => 'text',
|
|
'instructions' => '',
|
|
'required' => 1,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'default_value' => '',
|
|
'maxlength' => '',
|
|
'placeholder' => '',
|
|
'prepend' => '',
|
|
'append' => '',
|
|
'parent_repeater' => 'field_65e6f18c2909f',
|
|
),
|
|
),
|
|
),
|
|
array(
|
|
'key' => 'field_65db65a892815',
|
|
'label' => 'Баннеры правый сайдбар Desktop',
|
|
'name' => 'right_sidebar_banners_desktop',
|
|
'aria-label' => '',
|
|
'type' => 'repeater',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'acfe_repeater_stylised_button' => 0,
|
|
'layout' => 'table',
|
|
'pagination' => 0,
|
|
'min' => 0,
|
|
'max' => 0,
|
|
'collapsed' => '',
|
|
'button_label' => 'Добавить',
|
|
'rows_per_page' => 20,
|
|
'sub_fields' => array(
|
|
array(
|
|
'key' => 'field_65e6ef15311f6',
|
|
'label' => 'Изображение',
|
|
'name' => 'image',
|
|
'aria-label' => '',
|
|
'type' => 'image',
|
|
'instructions' => '',
|
|
'required' => 1,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'uploader' => '',
|
|
'return_format' => 'array',
|
|
'acfe_thumbnail' => 0,
|
|
'min_width' => '',
|
|
'min_height' => '',
|
|
'min_size' => '',
|
|
'max_width' => '',
|
|
'max_height' => '',
|
|
'max_size' => '',
|
|
'mime_types' => '',
|
|
'preview_size' => 'medium',
|
|
'library' => 'all',
|
|
'parent_repeater' => 'field_65db65a892815',
|
|
),
|
|
array(
|
|
'key' => 'field_65e6ef2c311f7',
|
|
'label' => 'Ссылка',
|
|
'name' => 'link',
|
|
'aria-label' => '',
|
|
'type' => 'text',
|
|
'instructions' => '',
|
|
'required' => 1,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'default_value' => '',
|
|
'maxlength' => '',
|
|
'placeholder' => '',
|
|
'prepend' => '',
|
|
'append' => '',
|
|
'parent_repeater' => 'field_65db65a892815',
|
|
),
|
|
),
|
|
),
|
|
array(
|
|
'key' => 'field_65e6f1c333933',
|
|
'label' => 'Баннеры правый сайдбар Mobile',
|
|
'name' => 'right_sidebar_banners_mobile',
|
|
'aria-label' => '',
|
|
'type' => 'repeater',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'acfe_repeater_stylised_button' => 0,
|
|
'layout' => 'table',
|
|
'pagination' => 0,
|
|
'min' => 0,
|
|
'max' => 0,
|
|
'collapsed' => '',
|
|
'button_label' => 'Добавить',
|
|
'rows_per_page' => 20,
|
|
'sub_fields' => array(
|
|
array(
|
|
'key' => 'field_65e6f1c333934',
|
|
'label' => 'Изображение',
|
|
'name' => 'image',
|
|
'aria-label' => '',
|
|
'type' => 'image',
|
|
'instructions' => '',
|
|
'required' => 1,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'uploader' => '',
|
|
'return_format' => 'array',
|
|
'acfe_thumbnail' => 0,
|
|
'min_width' => '',
|
|
'min_height' => '',
|
|
'min_size' => '',
|
|
'max_width' => '',
|
|
'max_height' => '',
|
|
'max_size' => '',
|
|
'mime_types' => '',
|
|
'preview_size' => 'medium',
|
|
'library' => 'all',
|
|
'parent_repeater' => 'field_65e6f1c333933',
|
|
),
|
|
array(
|
|
'key' => 'field_65e6f1c333935',
|
|
'label' => 'Ссылка',
|
|
'name' => 'link',
|
|
'aria-label' => '',
|
|
'type' => 'text',
|
|
'instructions' => '',
|
|
'required' => 1,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'default_value' => '',
|
|
'maxlength' => '',
|
|
'placeholder' => '',
|
|
'prepend' => '',
|
|
'append' => '',
|
|
'parent_repeater' => 'field_65e6f1c333933',
|
|
),
|
|
),
|
|
),
|
|
array(
|
|
'key' => 'field_65dcc369d882e',
|
|
'label' => 'Баннер в шапке сайта',
|
|
'name' => 'banner_in_header',
|
|
'aria-label' => '',
|
|
'type' => 'group',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'layout' => 'block',
|
|
'acfe_seamless_style' => 0,
|
|
'acfe_group_modal' => 0,
|
|
'acfe_group_modal_close' => 0,
|
|
'acfe_group_modal_button' => '',
|
|
'acfe_group_modal_size' => 'large',
|
|
'sub_fields' => array(
|
|
array(
|
|
'key' => 'field_65df510cf4089',
|
|
'label' => 'Изображение для Desktop-версии',
|
|
'name' => 'image_desktop',
|
|
'aria-label' => '',
|
|
'type' => 'image',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'uploader' => '',
|
|
'return_format' => 'array',
|
|
'acfe_thumbnail' => 0,
|
|
'min_width' => '',
|
|
'min_height' => '',
|
|
'min_size' => '',
|
|
'max_width' => '',
|
|
'max_height' => '',
|
|
'max_size' => '',
|
|
'mime_types' => '',
|
|
'preview_size' => 'medium',
|
|
'library' => 'all',
|
|
),
|
|
array(
|
|
'key' => 'field_65df510cf4080',
|
|
'label' => 'Изображение для мобильных',
|
|
'name' => 'image_mobile',
|
|
'aria-label' => '',
|
|
'type' => 'image',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'uploader' => '',
|
|
'return_format' => 'array',
|
|
'acfe_thumbnail' => 0,
|
|
'min_width' => '',
|
|
'min_height' => '',
|
|
'min_size' => '',
|
|
'max_width' => '',
|
|
'max_height' => '',
|
|
'max_size' => '',
|
|
'mime_types' => '',
|
|
'preview_size' => 'medium',
|
|
'library' => 'all',
|
|
),
|
|
array(
|
|
'key' => 'field_65df5124f4081',
|
|
'label' => 'Ссылка',
|
|
'name' => 'link',
|
|
'aria-label' => '',
|
|
'type' => 'url',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'default_value' => '',
|
|
'placeholder' => '',
|
|
),
|
|
),
|
|
),
|
|
array(
|
|
'key' => 'field_65dc4de8dc91a',
|
|
'label' => 'Баннеры между постами Desktop',
|
|
'name' => 'banner_between_posts_desktop',
|
|
'aria-label' => '',
|
|
'type' => 'repeater',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'acfe_repeater_stylised_button' => 0,
|
|
'layout' => 'table',
|
|
'pagination' => 0,
|
|
'min' => 0,
|
|
'max' => 0,
|
|
'collapsed' => '',
|
|
'button_label' => 'Добавить',
|
|
'rows_per_page' => 20,
|
|
'sub_fields' => array(
|
|
array(
|
|
'key' => 'field_65dc4e00dc91b',
|
|
'label' => 'Изображение',
|
|
'name' => 'image',
|
|
'aria-label' => '',
|
|
'type' => 'image',
|
|
'instructions' => '',
|
|
'required' => 1,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'uploader' => '',
|
|
'return_format' => 'array',
|
|
'acfe_thumbnail' => 0,
|
|
'min_width' => '',
|
|
'min_height' => '',
|
|
'min_size' => '',
|
|
'max_width' => '',
|
|
'max_height' => '',
|
|
'max_size' => '',
|
|
'mime_types' => '',
|
|
'preview_size' => 'medium',
|
|
'library' => 'all',
|
|
'parent_repeater' => 'field_65dc4de8dc91a',
|
|
),
|
|
array(
|
|
'key' => 'field_65de14607bfc9',
|
|
'label' => 'Ссылка',
|
|
'name' => 'link',
|
|
'aria-label' => '',
|
|
'type' => 'url',
|
|
'instructions' => '',
|
|
'required' => 1,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'default_value' => '',
|
|
'placeholder' => '',
|
|
'parent_repeater' => 'field_65dc4de8dc91a',
|
|
),
|
|
),
|
|
),
|
|
array(
|
|
'key' => 'field_65e055c7c587c',
|
|
'label' => 'Баннеры между постами Mobile',
|
|
'name' => 'banner_between_posts_mobile',
|
|
'aria-label' => '',
|
|
'type' => 'repeater',
|
|
'instructions' => '',
|
|
'required' => 0,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'acfe_repeater_stylised_button' => 0,
|
|
'layout' => 'table',
|
|
'pagination' => 0,
|
|
'min' => 0,
|
|
'max' => 0,
|
|
'collapsed' => '',
|
|
'button_label' => 'Добавить',
|
|
'rows_per_page' => 20,
|
|
'sub_fields' => array(
|
|
array(
|
|
'key' => 'field_65e055c7c587d',
|
|
'label' => 'Изображение',
|
|
'name' => 'image',
|
|
'aria-label' => '',
|
|
'type' => 'image',
|
|
'instructions' => '',
|
|
'required' => 1,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'uploader' => '',
|
|
'return_format' => 'array',
|
|
'acfe_thumbnail' => 0,
|
|
'min_width' => '',
|
|
'min_height' => '',
|
|
'min_size' => '',
|
|
'max_width' => '',
|
|
'max_height' => '',
|
|
'max_size' => '',
|
|
'mime_types' => '',
|
|
'preview_size' => 'medium',
|
|
'library' => 'all',
|
|
'parent_repeater' => 'field_65e055c7c587c',
|
|
),
|
|
array(
|
|
'key' => 'field_65e055c7c587e',
|
|
'label' => 'Ссылка',
|
|
'name' => 'link',
|
|
'aria-label' => '',
|
|
'type' => 'url',
|
|
'instructions' => '',
|
|
'required' => 1,
|
|
'conditional_logic' => 0,
|
|
'wrapper' => array(
|
|
'width' => '',
|
|
'class' => '',
|
|
'id' => '',
|
|
),
|
|
'relevanssi_exclude' => 0,
|
|
'default_value' => '',
|
|
'placeholder' => '',
|
|
'parent_repeater' => 'field_65e055c7c587c',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
'location' => array(
|
|
array(
|
|
array(
|
|
'param' => 'options_page',
|
|
'operator' => '==',
|
|
'value' => 'theme-settings',
|
|
),
|
|
),
|
|
),
|
|
'menu_order' => 0,
|
|
'position' => 'normal',
|
|
'style' => 'default',
|
|
'label_placement' => 'top',
|
|
'instruction_placement' => 'label',
|
|
'hide_on_screen' => '',
|
|
'active' => true,
|
|
'description' => '',
|
|
'show_in_rest' => 0,
|
|
'acfe_display_title' => '',
|
|
'acfe_autosync' => array(
|
|
0 => 'php',
|
|
),
|
|
'acfe_form' => 0,
|
|
'acfe_meta' => '',
|
|
'acfe_note' => '',
|
|
'modified' => 1709636110,
|
|
));
|
|
|
|
endif; |