File: /home/zwafgyp/lacalita/wp-content/plugins/rey-core/inc/gutenberg/acf-fields/blocks-fields.php
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if( function_exists('acf_add_local_field_group') ):
acf_add_local_field_group(array(
'key' => 'group_6117cc99b0977',
'title' => 'Global Sections Block',
'fields' => array(
array(
'key' => 'field_6117ce17b9d0c',
'label' => 'Global Section',
'name' => 'global_section',
'type' => 'global_sections',
'instructions' => 'Pick a global section',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'rey_export' => 'post_id',
),
),
'location' => array(
array(
array(
'param' => 'block',
'operator' => '==',
'value' => 'acf/reycore-elementor-global-sections',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => true,
'description' => '',
));
acf_add_local_field_group(array(
'key' => 'group_6116d662ca951',
'title' => 'Posts-v1 Block',
'fields' => array(
array(
'key' => 'field_611770892b547',
'label' => 'Layout',
'name' => '',
'type' => 'accordion',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'open' => 1,
'multi_expand' => 0,
'endpoint' => 0,
),
array(
'key' => 'field_6117709e2b548',
'label' => 'Columns',
'name' => 'columns',
'type' => 'range',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'min' => 1,
'max' => 5,
'step' => 1,
'prepend' => '',
'append' => '',
),
array(
'key' => 'field_611770e82b549',
'label' => 'Posts Limit',
'name' => 'limit',
'type' => 'number',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_61176e6d2b542',
'operator' => '!=',
'value' => 'manual',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => 4,
'placeholder' => '',
'prepend' => '',
'append' => '',
'min' => 1,
'max' => 20,
'step' => 1,
),
array(
'key' => 'field_6117c3ad2efe9',
'label' => 'Gap Size (px)',
'name' => 'gap_size',
'type' => 'number',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => 30,
'placeholder' => '',
'prepend' => '',
'append' => '',
'min' => 1,
'max' => 100,
'step' => 1,
),
array(
'key' => 'field_6117be3aa398e',
'label' => 'Vertical separator',
'name' => 'vertical_separator',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_6117709e2b548',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => '',
'ui_off_text' => '',
),
array(
'key' => 'field_611775a62c2c9',
'label' => 'Numerotation',
'name' => 'numerotation',
'type' => 'select',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_6117709e2b548',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'numbers' => 'Numbers',
'roman' => 'Roman Numbers',
),
'default_value' => false,
'allow_null' => 1,
'multiple' => 0,
'ui' => 0,
'return_format' => 'value',
'ajax' => 0,
'placeholder' => '',
),
array(
'key' => 'field_61176538749db',
'label' => 'Query Data',
'name' => '',
'type' => 'accordion',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'open' => 0,
'multi_expand' => 0,
'endpoint' => 0,
),
array(
'key' => 'field_61176e6d2b542',
'label' => 'Query type',
'name' => 'query_type',
'type' => 'select',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'related' => 'Related (same category)',
'custom' => 'Custom term selection',
'manual' => 'Manually pick posts',
),
'default_value' => 'related',
'allow_null' => 0,
'multiple' => 0,
'ui' => 0,
'return_format' => 'value',
'ajax' => 0,
'placeholder' => '',
),
array(
'key' => 'field_61176f242b543',
'label' => 'Categories',
'name' => 'categories',
'type' => 'taxonomy',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_61176e6d2b542',
'operator' => '==',
'value' => 'custom',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'taxonomy' => 'category',
'field_type' => 'checkbox',
'add_term' => 0,
'save_terms' => 0,
'load_terms' => 0,
'return_format' => 'id',
'multiple' => 0,
'allow_null' => 0,
),
array(
'key' => 'field_61176f782b544',
'label' => 'Tags',
'name' => 'tags',
'type' => 'taxonomy',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_61176e6d2b542',
'operator' => '==',
'value' => 'custom',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'taxonomy' => 'post_tag',
'field_type' => 'checkbox',
'add_term' => 0,
'save_terms' => 0,
'load_terms' => 0,
'return_format' => 'id',
'multiple' => 0,
'allow_null' => 0,
),
array(
'key' => 'field_611781f5d19ca',
'label' => 'Pick posts',
'name' => 'manual_posts',
'type' => 'post_object',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_61176e6d2b542',
'operator' => '==',
'value' => 'manual',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'post_type' => array(
0 => 'post',
),
'taxonomy' => '',
'allow_null' => 0,
'multiple' => 0,
'return_format' => 'id',
'ui' => 1,
),
array(
'key' => 'field_61176fa12b545',
'label' => 'Order by',
'name' => 'order_by',
'type' => 'select',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'date' => 'Date',
'title' => 'Title',
'menu_order' => 'Menu Order',
'rand' => 'Random',
),
'default_value' => 'date',
'allow_null' => 0,
'multiple' => 0,
'ui' => 0,
'return_format' => 'value',
'ajax' => 0,
'placeholder' => '',
),
array(
'key' => 'field_611770342b546',
'label' => 'Order direction',
'name' => 'order_direction',
'type' => 'radio',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'asc' => 'Ascending',
'desc' => 'Descending',
),
'allow_null' => 0,
'other_choice' => 0,
'default_value' => '',
'layout' => 'horizontal',
'return_format' => 'value',
'save_other_choice' => 0,
),
array(
'key' => 'field_61176548749dc',
'label' => 'Components',
'name' => '',
'type' => 'accordion',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'open' => 0,
'multi_expand' => 0,
'endpoint' => 0,
),
array(
'key' => 'field_611771f6f2947',
'label' => 'Show Image',
'name' => 'show_image',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 1,
'ui' => 1,
'ui_on_text' => '',
'ui_off_text' => '',
),
array(
'key' => 'field_6117720ff2948',
'label' => 'Show Date',
'name' => 'show_date',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 1,
'ui' => 1,
'ui_on_text' => '',
'ui_off_text' => '',
),
array(
'key' => 'field_61177223f294a',
'label' => 'Show Categories',
'name' => 'show_categories',
'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_61177281f294d',
'label' => 'Show Excerpt',
'name' => 'show_excerpt',
'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_61177426bc1e5',
'label' => 'Excerpt length',
'name' => 'excerpt_length',
'type' => 'number',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_61177281f294d',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'min' => 20,
'max' => 300,
'step' => '',
),
array(
'key' => 'field_61177254f294b',
'label' => 'Image styles',
'name' => '',
'type' => 'accordion',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_611771f6f2947',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'open' => 0,
'multi_expand' => 0,
'endpoint' => 0,
),
array(
'key' => 'field_6117718ff2946',
'label' => 'Image alignment',
'name' => 'image_alignment',
'type' => 'select',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'top' => 'Top Image',
'left' => 'Left Image',
'right' => 'Right image',
),
'default_value' => 'left',
'allow_null' => 0,
'multiple' => 0,
'ui' => 0,
'return_format' => 'value',
'ajax' => 0,
'placeholder' => '',
),
array(
'key' => 'field_6117727ff294c',
'label' => 'Image Size',
'name' => 'image_size',
'type' => 'select',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '__image-size-selection',
'id' => '',
),
'choices' => array(
'thumbnail' => 'Thumbnail',
'medium' => 'Medium',
'large' => 'Large',
'full' => 'Large',
),
'default_value' => 'medium',
'allow_null' => 0,
'multiple' => 0,
'ui' => 0,
'return_format' => 'value',
'ajax' => 0,
'placeholder' => '',
),
array(
'key' => 'field_611772acf294e',
'label' => 'Image width',
'name' => 'image_width',
'type' => 'number',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'min' => 20,
'max' => '',
'step' => '',
),
array(
'key' => 'field_6117744ebc1e6',
'label' => 'Image height',
'name' => 'image_height',
'type' => 'number',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'min' => 20,
'max' => '',
'step' => '',
),
array(
'key' => 'field_6117aec8e725e',
'label' => 'Image roundness',
'name' => 'image_roundness',
'type' => 'number',
'instructions' => '',
'required' => 0,
'conditional_logic' => array(
array(
array(
'field' => 'field_611771f6f2947',
'operator' => '==',
'value' => '1',
),
),
),
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'min' => '',
'max' => '',
'step' => '',
),
array(
'key' => 'field_61177473bc1e7',
'label' => 'Title styles',
'name' => '',
'type' => 'accordion',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'open' => 0,
'multi_expand' => 0,
'endpoint' => 0,
),
array(
'key' => 'field_61177491bc1e8',
'label' => 'Title size',
'name' => 'title_size',
'type' => 'button_group',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'choices' => array(
'xxs' => 'XXS',
'xs' => 'XS',
'sm' => 'SM',
'md' => 'MD',
'lg' => 'LG',
),
'allow_null' => 0,
'default_value' => 'sm',
'layout' => 'horizontal',
'return_format' => 'value',
),
),
'location' => array(
array(
array(
'param' => 'block',
'operator' => '==',
'value' => 'acf/reycore-posts-v1',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => true,
'description' => '',
));
endif;