blocksy-tainacan/tainacan-blocksy/inc/options/single-elements/attachments-carousel-width.php

22 lines
456 B
PHP
Raw Normal View History

<?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
])
],
];