2020-12-30 03:31:53 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
if (! isset($prefix)) {
|
|
|
|
$prefix = '';
|
|
|
|
}
|
|
|
|
|
|
|
|
$options = [
|
|
|
|
blocksy_rand_md5() => [
|
|
|
|
'type' => 'ct-condition',
|
|
|
|
'condition' => [
|
|
|
|
$prefix . 'page_structure_type' => 'type-gm|type-mg'
|
|
|
|
],
|
|
|
|
'options' => [
|
|
|
|
$prefix . 'document_attachments_columns' => [
|
2021-04-14 17:40:23 +00:00
|
|
|
'label' => __( 'Document and Attachments columns width', 'tainacan-blocksy' ),
|
|
|
|
'desc' => __( 'This option is only available when using two columns layout', 'tainacan-blocksy'),
|
2020-12-30 03:31:53 +00:00
|
|
|
'type' => 'ct-slider',
|
|
|
|
'value' => '60%',
|
|
|
|
'units' => blocksy_units_config([
|
|
|
|
[
|
|
|
|
'unit' => '%',
|
|
|
|
'min' => 20,
|
|
|
|
'max' => 80,
|
|
|
|
]
|
|
|
|
]),
|
|
|
|
'responsive' => false,
|
|
|
|
'divider' => 'top',
|
|
|
|
'sync' => blocksy_sync_single_post_container([
|
|
|
|
'prefix' => $prefix
|
|
|
|
])
|
2022-06-10 20:25:27 +00:00
|
|
|
]
|
|
|
|
]
|
2020-12-30 03:31:53 +00:00
|
|
|
]
|
|
|
|
];
|