1120 lines
27 KiB
PHP
1120 lines
27 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,
|
||
|
|
'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',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'acfe_group_modal_close' => 0,
|
||
|
|
'acfe_group_modal_button' => '',
|
||
|
|
'acfe_group_modal_size' => 'large',
|
||
|
|
),
|
||
|
|
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,
|
||
|
|
'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',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'acfe_group_modal_close' => 0,
|
||
|
|
'acfe_group_modal_button' => '',
|
||
|
|
'acfe_group_modal_size' => 'large',
|
||
|
|
),
|
||
|
|
array(
|
||
|
|
'key' => 'field_65db65a892815',
|
||
|
|
'label' => 'Баннеры правый сайдбар ПК',
|
||
|
|
'name' => 'banners_right_sidebar',
|
||
|
|
'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,
|
||
|
|
'sub_fields' => array(
|
||
|
|
array(
|
||
|
|
'key' => 'field_65db664492817',
|
||
|
|
'label' => 'Баннер №1',
|
||
|
|
'name' => 'right_sidebar_first',
|
||
|
|
'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,
|
||
|
|
'sub_fields' => array(
|
||
|
|
array(
|
||
|
|
'key' => 'field_65de1288ecc58',
|
||
|
|
'label' => 'Изображение',
|
||
|
|
'name' => 'image_banner',
|
||
|
|
'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_65de12b7ecc59',
|
||
|
|
'label' => 'Ссылка',
|
||
|
|
'name' => 'link',
|
||
|
|
'aria-label' => '',
|
||
|
|
'type' => 'url',
|
||
|
|
'instructions' => '',
|
||
|
|
'required' => 0,
|
||
|
|
'conditional_logic' => 0,
|
||
|
|
'wrapper' => array(
|
||
|
|
'width' => '',
|
||
|
|
'class' => '',
|
||
|
|
'id' => '',
|
||
|
|
),
|
||
|
|
'relevanssi_exclude' => 0,
|
||
|
|
'default_value' => '',
|
||
|
|
'placeholder' => '',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'acfe_group_modal_close' => 0,
|
||
|
|
'acfe_group_modal_button' => '',
|
||
|
|
'acfe_group_modal_size' => 'large',
|
||
|
|
),
|
||
|
|
array(
|
||
|
|
'key' => 'field_65db667c92818',
|
||
|
|
'label' => 'Баннер №2',
|
||
|
|
'name' => 'right_sidebar_second',
|
||
|
|
'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,
|
||
|
|
'sub_fields' => array(
|
||
|
|
array(
|
||
|
|
'key' => 'field_65de130e128f8',
|
||
|
|
'label' => 'Изображение',
|
||
|
|
'name' => 'image_banner',
|
||
|
|
'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_65de1327128f9',
|
||
|
|
'label' => 'Ссылка',
|
||
|
|
'name' => 'link',
|
||
|
|
'aria-label' => '',
|
||
|
|
'type' => 'url',
|
||
|
|
'instructions' => '',
|
||
|
|
'required' => 0,
|
||
|
|
'conditional_logic' => 0,
|
||
|
|
'wrapper' => array(
|
||
|
|
'width' => '',
|
||
|
|
'class' => '',
|
||
|
|
'id' => '',
|
||
|
|
),
|
||
|
|
'relevanssi_exclude' => 0,
|
||
|
|
'default_value' => '',
|
||
|
|
'placeholder' => '',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'acfe_group_modal_close' => 0,
|
||
|
|
'acfe_group_modal_button' => '',
|
||
|
|
'acfe_group_modal_size' => 'large',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'acfe_group_modal_close' => 0,
|
||
|
|
'acfe_group_modal_button' => '',
|
||
|
|
'acfe_group_modal_size' => 'large',
|
||
|
|
),
|
||
|
|
array(
|
||
|
|
'key' => 'field_65db68c251f51',
|
||
|
|
'label' => 'Баннеры левый сайдбар ПК',
|
||
|
|
'name' => 'banners_left_sidebar',
|
||
|
|
'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,
|
||
|
|
'sub_fields' => array(
|
||
|
|
array(
|
||
|
|
'key' => 'field_65db68c251f52',
|
||
|
|
'label' => 'Баннер №1',
|
||
|
|
'name' => 'left_sidebar_first',
|
||
|
|
'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,
|
||
|
|
'sub_fields' => array(
|
||
|
|
array(
|
||
|
|
'key' => 'field_65de13cc10dba',
|
||
|
|
'label' => 'Изображение',
|
||
|
|
'name' => 'image_banner',
|
||
|
|
'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_65de13e510dbb',
|
||
|
|
'label' => 'Ссылка',
|
||
|
|
'name' => 'link',
|
||
|
|
'aria-label' => '',
|
||
|
|
'type' => 'url',
|
||
|
|
'instructions' => '',
|
||
|
|
'required' => 0,
|
||
|
|
'conditional_logic' => 0,
|
||
|
|
'wrapper' => array(
|
||
|
|
'width' => '',
|
||
|
|
'class' => '',
|
||
|
|
'id' => '',
|
||
|
|
),
|
||
|
|
'relevanssi_exclude' => 0,
|
||
|
|
'default_value' => '',
|
||
|
|
'placeholder' => '',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'acfe_group_modal_close' => 0,
|
||
|
|
'acfe_group_modal_button' => '',
|
||
|
|
'acfe_group_modal_size' => 'large',
|
||
|
|
),
|
||
|
|
array(
|
||
|
|
'key' => 'field_65db68c251f53',
|
||
|
|
'label' => 'Баннер №2',
|
||
|
|
'name' => 'left_sidebar_second',
|
||
|
|
'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,
|
||
|
|
'sub_fields' => array(
|
||
|
|
array(
|
||
|
|
'key' => 'field_65de140210dbc',
|
||
|
|
'label' => 'Изображение',
|
||
|
|
'name' => 'image_banner',
|
||
|
|
'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_65de150cf66ad',
|
||
|
|
'label' => 'Ссылка',
|
||
|
|
'name' => 'link',
|
||
|
|
'aria-label' => '',
|
||
|
|
'type' => 'url',
|
||
|
|
'instructions' => '',
|
||
|
|
'required' => 0,
|
||
|
|
'conditional_logic' => 0,
|
||
|
|
'wrapper' => array(
|
||
|
|
'width' => '',
|
||
|
|
'class' => '',
|
||
|
|
'id' => '',
|
||
|
|
),
|
||
|
|
'relevanssi_exclude' => 0,
|
||
|
|
'default_value' => '',
|
||
|
|
'placeholder' => '',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'acfe_group_modal_close' => 0,
|
||
|
|
'acfe_group_modal_button' => '',
|
||
|
|
'acfe_group_modal_size' => 'large',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'acfe_group_modal_close' => 0,
|
||
|
|
'acfe_group_modal_button' => '',
|
||
|
|
'acfe_group_modal_size' => 'large',
|
||
|
|
),
|
||
|
|
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,
|
||
|
|
'sub_fields' => array(
|
||
|
|
array(
|
||
|
|
'key' => 'field_65df510cf4080',
|
||
|
|
'label' => 'Изображение',
|
||
|
|
'name' => 'image_banner',
|
||
|
|
'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' => '',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'acfe_group_modal_close' => 0,
|
||
|
|
'acfe_group_modal_button' => '',
|
||
|
|
'acfe_group_modal_size' => 'large',
|
||
|
|
),
|
||
|
|
array(
|
||
|
|
'key' => 'field_65dc4de8dc91a',
|
||
|
|
'label' => 'Баннеры между постами ПК',
|
||
|
|
'name' => 'banner_between_posts',
|
||
|
|
'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' => 'image_banner',
|
||
|
|
'name' => 'image_banner',
|
||
|
|
'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',
|
||
|
|
'parent_repeater' => 'field_65dc4de8dc91a',
|
||
|
|
),
|
||
|
|
array(
|
||
|
|
'key' => 'field_65de14607bfc9',
|
||
|
|
'label' => 'Ссылка',
|
||
|
|
'name' => 'link',
|
||
|
|
'aria-label' => '',
|
||
|
|
'type' => 'url',
|
||
|
|
'instructions' => '',
|
||
|
|
'required' => 0,
|
||
|
|
'conditional_logic' => 0,
|
||
|
|
'wrapper' => array(
|
||
|
|
'width' => '',
|
||
|
|
'class' => '',
|
||
|
|
'id' => '',
|
||
|
|
),
|
||
|
|
'relevanssi_exclude' => 0,
|
||
|
|
'default_value' => '',
|
||
|
|
'placeholder' => '',
|
||
|
|
'parent_repeater' => 'field_65dc4de8dc91a',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
),
|
||
|
|
array(
|
||
|
|
'key' => 'field_65e05594c586e',
|
||
|
|
'label' => 'Баннеры на мобильных устройствах',
|
||
|
|
'name' => 'banners_right_sidebar_mobile',
|
||
|
|
'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,
|
||
|
|
'sub_fields' => array(
|
||
|
|
array(
|
||
|
|
'key' => 'field_65e05594c586f',
|
||
|
|
'label' => 'Баннер №1',
|
||
|
|
'name' => 'right_sidebar_first',
|
||
|
|
'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,
|
||
|
|
'sub_fields' => array(
|
||
|
|
array(
|
||
|
|
'key' => 'field_65e05594c5870',
|
||
|
|
'label' => 'Изображение',
|
||
|
|
'name' => 'image_banner',
|
||
|
|
'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_65e05594c5871',
|
||
|
|
'label' => 'Ссылка',
|
||
|
|
'name' => 'link',
|
||
|
|
'aria-label' => '',
|
||
|
|
'type' => 'url',
|
||
|
|
'instructions' => '',
|
||
|
|
'required' => 0,
|
||
|
|
'conditional_logic' => 0,
|
||
|
|
'wrapper' => array(
|
||
|
|
'width' => '',
|
||
|
|
'class' => '',
|
||
|
|
'id' => '',
|
||
|
|
),
|
||
|
|
'relevanssi_exclude' => 0,
|
||
|
|
'default_value' => '',
|
||
|
|
'placeholder' => '',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'acfe_group_modal_close' => 0,
|
||
|
|
'acfe_group_modal_button' => '',
|
||
|
|
'acfe_group_modal_size' => 'large',
|
||
|
|
),
|
||
|
|
array(
|
||
|
|
'key' => 'field_65e05594c5872',
|
||
|
|
'label' => 'Баннер №2',
|
||
|
|
'name' => 'right_sidebar_second',
|
||
|
|
'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,
|
||
|
|
'sub_fields' => array(
|
||
|
|
array(
|
||
|
|
'key' => 'field_65e05594c5873',
|
||
|
|
'label' => 'Изображение',
|
||
|
|
'name' => 'image_banner',
|
||
|
|
'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_65e05594c5874',
|
||
|
|
'label' => 'Ссылка',
|
||
|
|
'name' => 'link',
|
||
|
|
'aria-label' => '',
|
||
|
|
'type' => 'url',
|
||
|
|
'instructions' => '',
|
||
|
|
'required' => 0,
|
||
|
|
'conditional_logic' => 0,
|
||
|
|
'wrapper' => array(
|
||
|
|
'width' => '',
|
||
|
|
'class' => '',
|
||
|
|
'id' => '',
|
||
|
|
),
|
||
|
|
'relevanssi_exclude' => 0,
|
||
|
|
'default_value' => '',
|
||
|
|
'placeholder' => '',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'acfe_group_modal_close' => 0,
|
||
|
|
'acfe_group_modal_button' => '',
|
||
|
|
'acfe_group_modal_size' => 'large',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'acfe_group_modal_close' => 0,
|
||
|
|
'acfe_group_modal_button' => '',
|
||
|
|
'acfe_group_modal_size' => 'large',
|
||
|
|
),
|
||
|
|
array(
|
||
|
|
'key' => 'field_65e055c7c587c',
|
||
|
|
'label' => 'Баннеры между постами Гаджет',
|
||
|
|
'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' => 'image_banner',
|
||
|
|
'name' => 'image_banner',
|
||
|
|
'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',
|
||
|
|
'parent_repeater' => 'field_65e055c7c587c',
|
||
|
|
),
|
||
|
|
array(
|
||
|
|
'key' => 'field_65e055c7c587e',
|
||
|
|
'label' => 'Ссылка',
|
||
|
|
'name' => 'link',
|
||
|
|
'aria-label' => '',
|
||
|
|
'type' => 'url',
|
||
|
|
'instructions' => '',
|
||
|
|
'required' => 0,
|
||
|
|
'conditional_logic' => 0,
|
||
|
|
'wrapper' => array(
|
||
|
|
'width' => '',
|
||
|
|
'class' => '',
|
||
|
|
'id' => '',
|
||
|
|
),
|
||
|
|
'relevanssi_exclude' => 0,
|
||
|
|
'default_value' => '',
|
||
|
|
'placeholder' => '',
|
||
|
|
'parent_repeater' => 'field_65e055c7c587c',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
),
|
||
|
|
array(
|
||
|
|
'key' => 'field_65e055d2c587f',
|
||
|
|
'label' => 'Баннер в хеддере Гаджет',
|
||
|
|
'name' => 'banner_in_header_mobile',
|
||
|
|
'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,
|
||
|
|
'sub_fields' => array(
|
||
|
|
array(
|
||
|
|
'key' => 'field_65e055d2c5880',
|
||
|
|
'label' => 'Изображение',
|
||
|
|
'name' => 'image_banner',
|
||
|
|
'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_65e055d2c5881',
|
||
|
|
'label' => 'Ссылка',
|
||
|
|
'name' => 'link',
|
||
|
|
'aria-label' => '',
|
||
|
|
'type' => 'url',
|
||
|
|
'instructions' => '',
|
||
|
|
'required' => 0,
|
||
|
|
'conditional_logic' => 0,
|
||
|
|
'wrapper' => array(
|
||
|
|
'width' => '',
|
||
|
|
'class' => '',
|
||
|
|
'id' => '',
|
||
|
|
),
|
||
|
|
'relevanssi_exclude' => 0,
|
||
|
|
'default_value' => '',
|
||
|
|
'placeholder' => '',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'acfe_group_modal_close' => 0,
|
||
|
|
'acfe_group_modal_button' => '',
|
||
|
|
'acfe_group_modal_size' => 'large',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'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' => 1709201281,
|
||
|
|
));
|
||
|
|
|
||
|
|
endif;
|