-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathconfig.php
More file actions
69 lines (65 loc) · 1.84 KB
/
config.php
File metadata and controls
69 lines (65 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php if (!defined('FW')) die('Forbidden');
$cfg = array();
/**
* Default item widths for all builders
*
* It is better to use fw_ext_builder_get_item_width() function to retrieve the item widths
* because it has a filter and users will be able to customize the widths for a specific builder
*
* @see fw_ext_builder_get_item_width()
* @since 1.2.0
*
* old $cfg['default_item_widths'] https://github.com/ThemeFuse/Unyson-Builder-Extension/issues/8
* https://github.com/ThemeFuse/Unyson-Builder-Extension/blob/v1.1.17/config.php#L13
*/
$cfg['grid.columns'] = array(
'1_6' => array(
'title' => '1/6',
'backend_class' => 'fw-col-sm-2',
'frontend_class' => 'fw-col-xs-12 fw-col-sm-2',
),
'1_5' => array(
'title' => '1/5',
'backend_class' => 'fw-col-sm-15',
'frontend_class' => 'fw-col-xs-12 fw-col-sm-15',
),
'1_4' => array(
'title' => '1/4',
'backend_class' => 'fw-col-sm-3',
'frontend_class' => 'fw-col-xs-12 fw-col-sm-3',
),
'1_3' => array(
'title' => '1/3',
'backend_class' => 'fw-col-sm-4',
'frontend_class' => 'fw-col-xs-12 fw-col-sm-4',
),
'1_2' => array(
'title' => '1/2',
'backend_class' => 'fw-col-sm-6',
'frontend_class' => 'fw-col-xs-12 fw-col-sm-6',
),
'2_3' => array(
'title' => '2/3',
'backend_class' => 'fw-col-sm-8',
'frontend_class' => 'fw-col-xs-12 fw-col-sm-8',
),
'3_4' => array(
'title' => '3/4',
'backend_class' => 'fw-col-sm-9',
'frontend_class' => 'fw-col-xs-12 fw-col-sm-9',
),
'1_1' => array(
'title' => '1/1',
'backend_class' => 'fw-col-sm-12',
'frontend_class' => 'fw-col-xs-12',
),
);
/**
* @since 1.2.0
*/
$cfg['grid.row.class'] = 'fw-row';
/**
* @deprecated since 1.2.0
* if this is empty fw_ext_builder_get_item_width() will use $cfg['grid.columns']
*/
$cfg['default_item_widths'] = false;