2020-11-18 01:04:40 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
if (! isset($prefix)) {
|
|
|
|
$prefix = '';
|
|
|
|
}
|
|
|
|
|
|
|
|
$options = [
|
2021-01-03 21:17:51 +00:00
|
|
|
$prefix . 'tainacan_metadata_columns' => [
|
2021-04-14 17:40:23 +00:00
|
|
|
'label' => __( 'Metadata columns width', 'tainacan-blocksy' ),
|
2020-11-18 01:04:40 +00:00
|
|
|
'type' => 'ct-slider',
|
|
|
|
'value' => [
|
|
|
|
'mobile' => '200px',
|
|
|
|
'tablet' => '300px',
|
|
|
|
'desktop' => '400px',
|
|
|
|
],
|
|
|
|
'units' => blocksy_units_config([
|
|
|
|
[
|
|
|
|
'unit' => 'px',
|
|
|
|
'min' => 200,
|
|
|
|
'max' => 1200,
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'unit' => 'vw',
|
|
|
|
'min' => 20,
|
|
|
|
'max' => 100,
|
|
|
|
],
|
|
|
|
]),
|
|
|
|
'responsive' => true,
|
2021-01-03 23:47:07 +00:00
|
|
|
'divider' => 'bottom',
|
2020-12-23 12:38:30 +00:00
|
|
|
'sync' => blocksy_sync_single_post_container([
|
|
|
|
'prefix' => $prefix
|
|
|
|
])
|
2020-11-18 01:04:40 +00:00
|
|
|
],
|
|
|
|
];
|