22 lines
456 B
PHP
22 lines
456 B
PHP
|
<?php
|
||
|
|
||
|
if (! isset($prefix)) {
|
||
|
$prefix = '';
|
||
|
}
|
||
|
|
||
|
$options = [
|
||
|
$prefix . 'attachments_carousel_width' => [
|
||
|
'label' => __( 'Maximum width of the area containing the attachments carousel', 'tainacan-blocksy' ),
|
||
|
'type' => 'ct-slider',
|
||
|
'value' => 100,
|
||
|
'min' => 20,
|
||
|
'max' => 100,
|
||
|
'unit' => '%',
|
||
|
'defaultUnit' => '%',
|
||
|
'responsive' => true,
|
||
|
'divider' => 'top',
|
||
|
'sync' => blocksy_sync_single_post_container([
|
||
|
'prefix' => $prefix
|
||
|
])
|
||
|
],
|
||
|
];
|