@@ -17,140 +17,7 @@ class Think_Customizer {
17
17
protected static $ instance = null ;
18
18
19
19
/**
20
- * <code>
21
- *[
22
- * [
23
- * 'id' => 'banner',
24
- * 'title' => 'Banner',
25
- * 'priority' => 1,
26
- * 'active_callback' => 'is_front_page'
27
- * 'controls' => [
28
- * [
29
- * 'id' => 'custom_logo',
30
- * 'label' => 'Banner cropped IMG',
31
- * 'type' => 'cropped_image',
32
- * 'description' => 'LOGO uploader',
33
- * 'width' => 1920,
34
- * 'height' => 1080
35
- * ],
36
- * [
37
- * 'id' => 'banner_simple_image',
38
- * 'label' => 'Banner Simple IMG',
39
- * 'type' => 'image',
40
- * 'selector' => 'img.banner-simple-img'
41
- * ],
42
- * [
43
- * 'id' => 'banner_home_title',
44
- * 'label' => 'Banner Title',
45
- * 'type' => 'input',
46
- * 'default' => 'Bla bla bla bla',
47
- * 'selector' => '.banner-title'
48
- * ],
49
- * [
50
- * 'id' => 'custom_background',
51
- * 'label' => 'Background COLOR',
52
- * 'type' => 'color',
53
- * 'selector' => '.custom-background'
54
- * ],
55
- * [
56
- * 'id' => 'logo_position',
57
- * 'label' => 'Position for logo',
58
- * 'type' => 'radio',
59
- * 'choices' => [
60
- * 'inleft' => 'Left',
61
- * 'inright' => 'Right',
62
- * ],
63
- * 'selector' => '.logo',
64
- * ],
65
- * [
66
- * 'id' => 'banner_description',
67
- * 'label' => 'Description',
68
- * 'type' => 'textarea',
69
- * 'default' => 'Bla bla bla bla',
70
- * 'selector' => '.banner-description'
71
- * ],
72
- * [
73
- * 'id' => 'banner_additional_info',
74
- * 'label' => 'Display additional information',
75
- * 'type' => 'checkbox',
76
- * ],
77
- * [
78
- * 'id' => 'askjhdkjsah',
79
- * 'label' => 'Description',
80
- * 'type' => 'tinyMCE',
81
- * 'selector' => '.banner_description'
82
- * ],
83
- * [
84
- * 'id' => 'kjdhkjasd',
85
- * 'label' => 'WrapDescription',
86
- * 'type' => 'tinyMCE',
87
- * 'default' => 'Bla bla bla bla',
88
- * 'selector' => '.asdsadsds'
89
- * ],
90
- * [
91
- * 'id' => 'banner_description_hyap_editor',
92
- * 'label' => 'WrapDescription',
93
- * 'type' => 'tinyMCE',
94
- * 'default' => 'Bla bla bla bla',
95
- * 'selector' => '.asdasdasdsadasdas'
96
- * ],
97
- * [
98
- * 'id' => 'ksudhfksdhfkjdshfkj',
99
- * 'label' => 'WrapDescription',
100
- * 'type' => 'tinyMCE',
101
- * 'default' => 'Bla bla bla bla',
102
- * 'selector' => '.asdasdasdsadsadas'
103
- * ],
104
- * ]
105
- * ],
106
- * [
107
- * 'id' => 'test',
108
- * 'title' => 'TEST section',
109
- * 'priority' => 1,
110
- * 'controls' => [
111
- * [
112
- * 'id' => 'date',
113
- * 'label' => 'Date',
114
- * 'type' => 'date',
115
- * 'selector' => '.copyright.date'
116
- * ],
117
- * [
118
- * 'id' => 'think_image',
119
- * 'label' => 'Image',
120
- * 'type' => 'image',
121
- * 'selector' => 'img.think-image'
122
- * ],
123
- * [
124
- * 'id' => 'select',
125
- * 'label' => 'Select',
126
- * 'type' => 'select',
127
- * 'choices' => [
128
- * 'inleft' => 'Left',
129
- * 'inright' => 'Right',
130
- * ],
131
- * 'selector' => '.banner-title'
132
- * ],
133
- * [
134
- * 'id' => 'color',
135
- * 'label' => 'Color',
136
- * 'type' => 'color',
137
- * 'selector' => '.think-color'
138
- * ],
139
- * [
140
- * 'id' => 'layout',
141
- * 'label' => 'Choice Layout',
142
- * 'type' => 'radio',
143
- * 'choices' => [
144
- * 0 => 'Without Sidebar',
145
- * 1 => 'With sidebar',
146
- * ],
147
- * 'selector' => '.sidebar',
148
- * ]
149
- * ]
150
- * ],
151
- *];
152
- * </code>.
153
- *
20
+ * Structure of customizeable options
154
21
*
155
22
* @var array
156
23
*/
0 commit comments