Version Description
- Added shortcodes generator
- Added new filters
- Fixed bugs
Download this release
Release Info
Developer | TemplateMonster 2002 |
Plugin | Cherry Projects |
Version | 1.2.0 |
Comparing to | |
See all releases |
Code changes from version 1.1.0 to 1.2.0
- admin/includes/class-projects-admin.php +517 -5
- admin/includes/class-projects-meta-boxes.php +10 -266
- admin/includes/class-projects-options-page.php +2 -1
- cherry-framework/cherry-core.php +17 -3
- cherry-framework/config.json +43 -21
- cherry-framework/languages/cherry-framework.pot +119 -0
- cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php +21 -11
- cherry-framework/modules/cherry-customizer/assets/fonts/google.json +3684 -1834
- cherry-framework/modules/cherry-customizer/cherry-customizer.php +27 -12
- cherry-framework/modules/cherry-db-updater/cherry-db-updater.php +381 -0
- cherry-framework/modules/cherry-dynamic-css/cherry-dynamic-css.php +3 -2
- cherry-framework/modules/cherry-dynamic-css/inc/class-cherry-dynamic-css-collector.php +2 -2
- cherry-framework/modules/cherry-dynamic-css/inc/class-cherry-dynamic-css-utilities.php +17 -0
- cherry-framework/modules/cherry-handler/assets/js/cherry-handler.js +28 -6
- cherry-framework/modules/cherry-handler/assets/js/min/cherry-handler.min.js +1 -1
- cherry-framework/modules/cherry-handler/cherry-handler.php +25 -25
- cherry-framework/modules/cherry-interface-builder/cherry-interface-builder.php +39 -34
- cherry-framework/modules/cherry-interface-builder/inc/assets/cherry-interface-builder.js +5 -1
- cherry-framework/modules/cherry-interface-builder/inc/assets/cherry-interface-builder.scss +15 -10
- cherry-framework/modules/cherry-interface-builder/inc/assets/min/cherry-interface-builder.min.css +1 -1
- cherry-framework/modules/cherry-interface-builder/inc/assets/min/cherry-interface-builder.min.js +1 -1
- cherry-framework/modules/cherry-interface-builder/inc/views/component-accordion.php +3 -3
- cherry-framework/modules/cherry-interface-builder/inc/views/component-repeater.php +3 -3
- cherry-framework/modules/cherry-interface-builder/inc/views/component-tab-horizontal.php +3 -3
- cherry-framework/modules/cherry-interface-builder/inc/views/component-tab-vertical.php +4 -4
- cherry-framework/modules/cherry-interface-builder/inc/views/component-toggle.php +3 -3
- cherry-framework/modules/cherry-interface-builder/inc/views/control.php +3 -3
- cherry-framework/modules/cherry-interface-builder/inc/views/form.php +1 -1
- cherry-framework/modules/cherry-interface-builder/inc/views/html.php +1 -1
- cherry-framework/modules/cherry-interface-builder/inc/views/section.php +3 -3
- cherry-framework/modules/cherry-interface-builder/inc/views/settings-children-title.php +1 -1
- cherry-framework/modules/cherry-interface-builder/inc/views/settings.php +3 -3
- cherry-framework/modules/cherry-interface-builder/inc/views/tab-children-title.php +2 -2
- cherry-framework/modules/cherry-interface-builder/inc/views/toggle-children-title.php +2 -2
- cherry-framework/modules/cherry-js-core/assets/js/min/cherry-js-core.min.js +1 -1
- cherry-framework/modules/cherry-js-core/cherry-js-core.php +1 -1
- cherry-framework/modules/cherry-post-formats-api/cherry-post-formats-api.php +0 -1
- cherry-framework/modules/cherry-post-formats-api/inc/class-cherry-facebook-embed.php +1 -1
- cherry-framework/modules/cherry-template-manager/cherry-template-manager.php +14 -5
- cherry-framework/modules/cherry-template-manager/inc/cherry-template-loader.php +23 -27
- cherry-framework/modules/cherry-template-manager/inc/cherry-template-parser.php +39 -36
- cherry-framework/modules/cherry-ui-elements/cherry-ui-elements.php +2 -3
- cherry-framework/modules/cherry-ui-elements/i-ui.php +1 -1
- cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-button/ui-button.php +10 -11
- cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-button/view/button-view.php +7 -7
- cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/min/ui-checkbox.min.js +1 -1
- cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/ui-checkbox.js +13 -12
- cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/ui-checkbox.php +21 -18
- cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/ui-colorpicker.php +15 -15
- cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/min/ui-iconpicker.min.js +1 -1
- cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/ui-iconpicker.js +60 -7
- cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/ui-iconpicker.php +36 -14
- cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/min/ui-media.min.js +1 -156
- cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/ui-media.js +1 -1
- cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/ui-media.php +9 -8
- cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-radio/ui-radio.php +28 -26
- cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-repeater/ui-repeater.php +9 -10
- cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-select/ui-select.php +42 -39
- cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-slider/ui-slider.php +9 -8
- cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-stepper/ui-stepper.php +18 -16
- cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-switcher/ui-switcher.php +22 -19
- cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-text/ui-text.php +22 -19
- cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-textarea/ui-textarea.php +17 -15
- cherry-framework/modules/cherry-ui-elements/ui-element.php +1 -1
- cherry-framework/modules/cherry-utility/cherry-utility.php +2 -2
- cherry-framework/modules/cherry-utility/inc/cherry-attributes-utilit.php +1 -1
- cherry-framework/modules/cherry-utility/inc/cherry-media-utilit.php +34 -29
- cherry-framework/modules/cherry-utility/inc/cherry-meta-data-utilit.php +1 -2
- cherry-framework/modules/cherry-utility/inc/cherry-satellite-utilit.php +2 -4
- cherry-framework/modules/cherry-widget-factory/cherry-widget-factory.php +2 -2
- cherry-framework/modules/cherry-widget-factory/inc/class-cherry-abstract-widget.php +1 -1
- cherry-framework/modules/cherry5-insert-shortcode/assets/cherry-insert-shortcode.js +271 -0
- cherry-framework/modules/cherry5-insert-shortcode/assets/cherry-insert-shortcode.scss +484 -0
- cherry-framework/modules/cherry5-insert-shortcode/assets/min/cherry-insert-shortcode.min.css +1 -0
- cherry-framework/modules/cherry5-insert-shortcode/assets/min/cherry-insert-shortcode.min.js +1 -0
- cherry-framework/modules/cherry5-insert-shortcode/cherry5-insert-shortcode.php +266 -0
- cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-button.php +71 -0
- cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php +285 -0
- cherry-framework/modules/cherry5-insert-shortcode/inc/views/insert-shortcode-pop-up.php +49 -0
- cherry-framework/modules/cherry5-insert-shortcode/inc/views/shortcode-content-area.php +23 -0
- cherry-framework/modules/cherry5-insert-shortcode/inc/views/shortcode-has-not-option.php +22 -0
- cherry-framework/modules/cherry5-insert-shortcode/inc/views/shortcode-options.php +25 -0
- cherry-framework/setup.php +1 -1
- cherry-projects.php +49 -3
- public/includes/class-cherry-projects-template-callbacks.php +2 -2
- public/includes/class-projects-data.php +33 -22
- public/includes/class-projects-single-data.php +1 -1
- readme.txt +8 -2
admin/includes/class-projects-admin.php
CHANGED
@@ -37,6 +37,8 @@ class Cherry_Projects_Admin {
|
|
37 |
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
38 |
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_styles' ) );
|
39 |
|
|
|
|
|
40 |
}
|
41 |
|
42 |
/**
|
@@ -146,19 +148,22 @@ class Cherry_Projects_Admin {
|
|
146 |
}
|
147 |
|
148 |
/**
|
149 |
-
*
|
150 |
-
*
|
|
|
151 |
*/
|
152 |
public function enqueue_scripts() {
|
153 |
$screen = get_current_screen();
|
|
|
154 |
if ( ! empty( $screen->post_type ) && 'projects' === $screen->post_type ) {
|
155 |
|
156 |
}
|
157 |
}
|
158 |
|
159 |
/**
|
160 |
-
*
|
161 |
-
*
|
|
|
162 |
*/
|
163 |
public function enqueue_styles() {
|
164 |
$screen = get_current_screen();
|
@@ -168,6 +173,513 @@ class Cherry_Projects_Admin {
|
|
168 |
}
|
169 |
}
|
170 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
171 |
/**
|
172 |
* Returns the instance.
|
173 |
*
|
@@ -195,4 +707,4 @@ function cherry_projects_admin() {
|
|
195 |
return Cherry_Projects_Admin::get_instance();
|
196 |
}
|
197 |
|
198 |
-
cherry_projects_admin();
|
37 |
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
38 |
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_styles' ) );
|
39 |
|
40 |
+
// Shortcode insert module registration
|
41 |
+
add_action( 'after_setup_theme', array( $this, 'shortcode_registration' ), 10 );
|
42 |
}
|
43 |
|
44 |
/**
|
148 |
}
|
149 |
|
150 |
/**
|
151 |
+
* Enqueue admin scripts
|
152 |
+
*
|
153 |
+
* @return void
|
154 |
*/
|
155 |
public function enqueue_scripts() {
|
156 |
$screen = get_current_screen();
|
157 |
+
|
158 |
if ( ! empty( $screen->post_type ) && 'projects' === $screen->post_type ) {
|
159 |
|
160 |
}
|
161 |
}
|
162 |
|
163 |
/**
|
164 |
+
* Enqueue admin styles
|
165 |
+
*
|
166 |
+
* @return void
|
167 |
*/
|
168 |
public function enqueue_styles() {
|
169 |
$screen = get_current_screen();
|
173 |
}
|
174 |
}
|
175 |
|
176 |
+
/**
|
177 |
+
* Shortcode registration
|
178 |
+
*
|
179 |
+
* @return void
|
180 |
+
*/
|
181 |
+
public function shortcode_registration() {
|
182 |
+
cherry_projects()->get_core()->init_module( 'cherry5-insert-shortcode', array() );
|
183 |
+
|
184 |
+
$utility = cherry_projects()->get_core()->modules['cherry-utility']->utility;
|
185 |
+
|
186 |
+
$category_list = $utility->satellite->get_terms_array( CHERRY_PROJECTS_NAME . '_category', 'slug' );
|
187 |
+
$tag_list = $utility->satellite->get_terms_array( CHERRY_PROJECTS_NAME . '_tag', 'slug' );
|
188 |
+
|
189 |
+
cherry5_register_shortcode(
|
190 |
+
array(
|
191 |
+
'title' => esc_html__( 'Projects', 'cherry-projects' ),
|
192 |
+
'description' => esc_html__( 'Showcase your projects using a variety of layouts with Cherry Projects plugin', 'cherry-projects' ),
|
193 |
+
'icon' => '<span class="dashicons dashicons-layout"></span>',
|
194 |
+
'slug' => 'cherry-prijects-plugin',
|
195 |
+
'shortcodes' => array(
|
196 |
+
array(
|
197 |
+
'title' => esc_html__( 'Projects', 'cherry-projects' ),
|
198 |
+
'description' => esc_html__( 'Shortcode is used to display the projects list with set parameters.', 'cherry-projects' ),
|
199 |
+
'icon' => '<span class="dashicons dashicons-layout"></span>',
|
200 |
+
'slug' => 'cherry_projects',
|
201 |
+
'options' => array(
|
202 |
+
|
203 |
+
'listing_layout' => array(
|
204 |
+
'type' => 'radio',
|
205 |
+
'title' => esc_html__( 'Projects listing layout', 'cherry-projects' ),
|
206 |
+
'description' => esc_html__( 'Choose projects listing view layout.', 'cherry-projects' ),
|
207 |
+
'value' => 'grid-layout',
|
208 |
+
'display_input' => false,
|
209 |
+
'options' => array(
|
210 |
+
'grid-layout' => array(
|
211 |
+
'label' => esc_html__( 'Grid', 'cherry-projects' ),
|
212 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/list-layout-grid.svg',
|
213 |
+
'slave' => 'projects-listing-layout-grid-layout',
|
214 |
+
),
|
215 |
+
'masonry-layout' => array(
|
216 |
+
'label' => esc_html__( 'Masonry', 'cherry-projects' ),
|
217 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/list-layout-masonry.svg',
|
218 |
+
'slave' => 'projects-listing-layout-masonry-layout',
|
219 |
+
),
|
220 |
+
'justified-layout' => array(
|
221 |
+
'label' => esc_html__( 'Justified', 'cherry-projects' ),
|
222 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/list-layout-justified.svg',
|
223 |
+
'slave' => 'projects-listing-layout-justified-layout',
|
224 |
+
),
|
225 |
+
'cascading-grid-layout' => array(
|
226 |
+
'label' => esc_html__( 'Cascading grid', 'cherry-projects' ),
|
227 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/list-layout-cascading-grid.svg',
|
228 |
+
'slave' => 'projects-listing-layout-cascading-grid-layout',
|
229 |
+
),
|
230 |
+
'list-layout' => array(
|
231 |
+
'label' => esc_html__( 'List', 'cherry-projects' ),
|
232 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/list-layout-listing.svg',
|
233 |
+
'slave' => 'projects-listing-layout-list-layout',
|
234 |
+
),
|
235 |
+
),
|
236 |
+
),
|
237 |
+
|
238 |
+
'loading_mode' => array(
|
239 |
+
'type' => 'radio',
|
240 |
+
'title' => esc_html__( 'Pagination mode', 'cherry-projects' ),
|
241 |
+
'description' => esc_html__( 'Choose projects pagination mode', 'cherry-projects' ),
|
242 |
+
'value' => 'ajax-pagination-mode',
|
243 |
+
'class' => '',
|
244 |
+
'display_input' => false,
|
245 |
+
'options' => array(
|
246 |
+
'ajax-pagination-mode' => array(
|
247 |
+
'label' => esc_html__( 'Ajax pagination', 'cherry-projects' ),
|
248 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/loading-mode-ajax-pagination.svg',
|
249 |
+
),
|
250 |
+
'more-button-mode' => array(
|
251 |
+
'label' => esc_html__( 'More button', 'cherry-projects' ),
|
252 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/loading-mode-ajax-more-button.svg',
|
253 |
+
),
|
254 |
+
'lazy-loading-mode' => array(
|
255 |
+
'label' => esc_html__( 'Lazy loading', 'cherry-projects' ),
|
256 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/loading-mode-lazy-loading.svg',
|
257 |
+
),
|
258 |
+
'none-mode' => array(
|
259 |
+
'label' => esc_html__( 'None', 'cherry-projects' ),
|
260 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/loading-mode-none.svg',
|
261 |
+
),
|
262 |
+
),
|
263 |
+
),
|
264 |
+
|
265 |
+
'load_animation' => array(
|
266 |
+
'type' => 'radio',
|
267 |
+
'title' => esc_html__( 'Loading animation', 'cherry-projects' ),
|
268 |
+
'description' => esc_html__( 'Choose posts loading animation', 'cherry-projects' ),
|
269 |
+
'value' => 'loading-animation-move-up',
|
270 |
+
'class' => '',
|
271 |
+
'display_input' => false,
|
272 |
+
'options' => array(
|
273 |
+
'loading-animation-fade' => array(
|
274 |
+
'label' => esc_html__( 'Fade animation', 'cherry-projects' ),
|
275 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/animation-fade.svg',
|
276 |
+
),
|
277 |
+
'loading-animation-scale' => array(
|
278 |
+
'label' => esc_html__( 'Scale animation', 'cherry-projects' ),
|
279 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/animation-scale.svg',
|
280 |
+
),
|
281 |
+
'loading-animation-move-up' => array(
|
282 |
+
'label' => esc_html__( 'Move Up animation', 'cherry-projects' ),
|
283 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/animation-move-up.svg',
|
284 |
+
),
|
285 |
+
'loading-animation-flip' => array(
|
286 |
+
'label' => esc_html__( 'Flip animation', 'cherry-projects' ),
|
287 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/animation-flip.svg',
|
288 |
+
),
|
289 |
+
'loading-animation-helix' => array(
|
290 |
+
'label' => esc_html__( 'Helix animation', 'cherry-projects' ),
|
291 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/animation-helix.svg',
|
292 |
+
),
|
293 |
+
'loading-animation-fall-perspective' => array(
|
294 |
+
'label' => esc_html__( 'Fall perspective animation', 'cherry-projects' ),
|
295 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/animation-fall-perspective.svg',
|
296 |
+
),
|
297 |
+
),
|
298 |
+
),
|
299 |
+
|
300 |
+
'hover_animation' => array(
|
301 |
+
'type' => 'radio',
|
302 |
+
'title' => esc_html__( 'Hover animation', 'cherry-projects' ),
|
303 |
+
'description' => esc_html__( 'Choose posts images hover animation', 'cherry-projects' ),
|
304 |
+
'value' => 'simple-scale',
|
305 |
+
'class' => '',
|
306 |
+
'display_input' => false,
|
307 |
+
'options' => array(
|
308 |
+
'simple-fade' => array(
|
309 |
+
'label' => esc_html__( 'Fade', 'cherry-projects' ),
|
310 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/hover-fade.svg',
|
311 |
+
),
|
312 |
+
'simple-scale' => array(
|
313 |
+
'label' => esc_html__( 'Scale', 'cherry-projects' ),
|
314 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/hover-scale.svg',
|
315 |
+
),
|
316 |
+
'custom' => array(
|
317 |
+
'label' => esc_html__( 'Custom', 'cherry-projects' ),
|
318 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/inherit.svg',
|
319 |
+
),
|
320 |
+
),
|
321 |
+
),
|
322 |
+
|
323 |
+
'filter_visible' => array(
|
324 |
+
'type' => 'switcher',
|
325 |
+
'title' => esc_html__( 'Filters', 'cherry-projects' ),
|
326 |
+
'description' => esc_html__( 'Enable/disable listing filters', 'cherry-projects' ),
|
327 |
+
'value' => 'true',
|
328 |
+
'toggle' => array(
|
329 |
+
'true_toggle' => esc_html__( 'Show', 'cherry-projects' ),
|
330 |
+
'false_toggle' => esc_html__( 'Hide', 'cherry-projects' ),
|
331 |
+
),
|
332 |
+
),
|
333 |
+
|
334 |
+
'filter_type' => array(
|
335 |
+
'type' => 'radio',
|
336 |
+
'title' => esc_html__( 'Filter type', 'cherry-projects' ),
|
337 |
+
'description' => esc_html__( 'Select if you want to filter posts by tag or by category.', 'cherry-projects' ),
|
338 |
+
'value' => 'category',
|
339 |
+
'display-input' => true,
|
340 |
+
'options' => array(
|
341 |
+
'category' => array(
|
342 |
+
'label' => esc_html__( 'Category', 'cherry-projects' ),
|
343 |
+
'slave' => 'projects-filter-type-category',
|
344 |
+
),
|
345 |
+
'tag' => array(
|
346 |
+
'label' => esc_html__( 'Tag', 'cherry-projects' ),
|
347 |
+
'slave' => 'projects-filter-type-tag',
|
348 |
+
),
|
349 |
+
),
|
350 |
+
),
|
351 |
+
|
352 |
+
'category_list' => array(
|
353 |
+
'type' => 'select',
|
354 |
+
'title' => esc_html__( 'Projects filter categories list', 'cherry-projects' ),
|
355 |
+
'multiple' => true,
|
356 |
+
'value' => array(),
|
357 |
+
'class' => 'cherry-multi-select',
|
358 |
+
'options' => $category_list,
|
359 |
+
'master' => 'projects-filter-type-category',
|
360 |
+
),
|
361 |
+
|
362 |
+
'tags_list' => array(
|
363 |
+
'type' => 'select',
|
364 |
+
'title' => esc_html__( 'Projects filter tags list', 'cherry-projects' ),
|
365 |
+
'multiple' => true,
|
366 |
+
'value' => array(),
|
367 |
+
'class' => 'cherry-multi-select',
|
368 |
+
'options' => $tag_list,
|
369 |
+
'master' => 'projects-filter-type-tag',
|
370 |
+
),
|
371 |
+
|
372 |
+
'order_filter_visible' => array(
|
373 |
+
'type' => 'switcher',
|
374 |
+
'title' => esc_html__( 'Order filters', 'cherry-projects' ),
|
375 |
+
'description' => esc_html__( 'Enable/disable order filters', 'cherry-projects' ),
|
376 |
+
'value' => 'false',
|
377 |
+
'toggle' => array(
|
378 |
+
'true_toggle' => 'On',
|
379 |
+
'false_toggle' => 'Off',
|
380 |
+
'true_slave' => 'projects-order-filter-visible-true',
|
381 |
+
'false_slave' => 'projects-order-filter-visible-false',
|
382 |
+
),
|
383 |
+
),
|
384 |
+
|
385 |
+
'order_filter_default_value' => array(
|
386 |
+
'type' => 'radio',
|
387 |
+
'title' => esc_html__( 'Order filter default value', 'cherry-projects' ),
|
388 |
+
'value' => 'desc',
|
389 |
+
'display-input' => true,
|
390 |
+
'options' => array(
|
391 |
+
'desc' => array(
|
392 |
+
'label' => esc_html__( 'DESC', 'cherry-projects' ),
|
393 |
+
),
|
394 |
+
'asc' => array(
|
395 |
+
'label' => esc_html__( 'ASC', 'cherry-projects' ),
|
396 |
+
),
|
397 |
+
),
|
398 |
+
'master' => 'projects-order-filter-visible-true',
|
399 |
+
),
|
400 |
+
|
401 |
+
'orderby_filter_default_value' => array(
|
402 |
+
'type' => 'radio',
|
403 |
+
'title' => esc_html__( 'Order by filter default value', 'cherry-projects' ),
|
404 |
+
'value' => 'date',
|
405 |
+
'display-input' => true,
|
406 |
+
'options' => array(
|
407 |
+
'date' => array(
|
408 |
+
'label' => esc_html__( 'Date', 'cherry-projects' ),
|
409 |
+
),
|
410 |
+
'name' => array(
|
411 |
+
'label' => esc_html__( 'Name', 'cherry-projects' ),
|
412 |
+
),
|
413 |
+
'modified' => array(
|
414 |
+
'label' => esc_html__( 'Modified', 'cherry-projects' ),
|
415 |
+
),
|
416 |
+
'comment_count' => array(
|
417 |
+
'label' => esc_html__( 'Comments', 'cherry-projects' ),
|
418 |
+
),
|
419 |
+
),
|
420 |
+
'master' => 'projects-order-filter-visible-true',
|
421 |
+
),
|
422 |
+
|
423 |
+
'posts_format' => array(
|
424 |
+
'type' => 'radio',
|
425 |
+
'title' => esc_html__( 'Post Format', 'cherry-projects' ),
|
426 |
+
'value' => 'post-format-all',
|
427 |
+
'display-input' => true,
|
428 |
+
'options' => array(
|
429 |
+
'post-format-all' => array(
|
430 |
+
'label' => esc_html__( 'All formats', 'cherry-projects' ),
|
431 |
+
),
|
432 |
+
'post-format-standard' => array(
|
433 |
+
'label' => esc_html__( 'Standard', 'cherry-projects' ),
|
434 |
+
),
|
435 |
+
'post-format-image' => array(
|
436 |
+
'label' => esc_html__( 'Image', 'cherry-projects' ),
|
437 |
+
),
|
438 |
+
'post-format-gallery' => array(
|
439 |
+
'label' => esc_html__( 'Gallery', 'cherry-projects' ),
|
440 |
+
),
|
441 |
+
'post-format-audio' => array(
|
442 |
+
'label' => esc_html__( 'Audio', 'cherry-projects' ),
|
443 |
+
),
|
444 |
+
'post-format-video' => array(
|
445 |
+
'label' => esc_html__( 'Video', 'cherry-projects' ),
|
446 |
+
),
|
447 |
+
),
|
448 |
+
),
|
449 |
+
|
450 |
+
'single_term' => array(
|
451 |
+
'type' => 'text',
|
452 |
+
'title' => esc_html__( 'Single term slug', 'cherry-projects' ),
|
453 |
+
'value' => '',
|
454 |
+
),
|
455 |
+
|
456 |
+
'column_number' => array(
|
457 |
+
'type' => 'slider',
|
458 |
+
'title' => esc_html__( 'Column number', 'cherry-projects' ),
|
459 |
+
'description' => esc_html__( 'Select number of columns for masonry and grid projects layouts. (Min 2, max 6)', 'cherry-projects' ),
|
460 |
+
'max_value' => 6,
|
461 |
+
'min_value' => 2,
|
462 |
+
'value' => 3,
|
463 |
+
),
|
464 |
+
|
465 |
+
'post_per_page' => array(
|
466 |
+
'type' => 'slider',
|
467 |
+
'title' => esc_html__( 'Posts per page', 'cherry-projects' ),
|
468 |
+
'description' => esc_html__( 'Select how many posts per page do you want to display(-1 means that will show all projects)', 'cherry-projects' ),
|
469 |
+
'max_value' => 50,
|
470 |
+
'min_value' => -1,
|
471 |
+
'value' => 9,
|
472 |
+
),
|
473 |
+
|
474 |
+
'item_margin' => array(
|
475 |
+
'type' => 'slider',
|
476 |
+
'title' => esc_html__( 'Item margin', 'cherry-projects' ),
|
477 |
+
'description' => esc_html__( 'Select projects item margin (outer indent) value.', 'cherry-projects' ),
|
478 |
+
'max_value' => 50,
|
479 |
+
'min_value' => 0,
|
480 |
+
'value' => 4,
|
481 |
+
),
|
482 |
+
|
483 |
+
'justified_fixed_height' => array(
|
484 |
+
'type' => 'slider',
|
485 |
+
'title' => esc_html__( 'Justified fixed height', 'cherry-projects' ),
|
486 |
+
'description' => esc_html__( 'Select projects item justified height value.', 'cherry-projects' ),
|
487 |
+
'max_value' => 1000,
|
488 |
+
'min_value' => 50,
|
489 |
+
'value' => 300,
|
490 |
+
'master' => 'projects-listing-layout-justified-layout',
|
491 |
+
),
|
492 |
+
|
493 |
+
'grid_template' => array(
|
494 |
+
'type' => 'text',
|
495 |
+
'title' => esc_html__( 'Grid template', 'cherry-projects' ),
|
496 |
+
'description' => esc_html__( 'Grid content template', 'cherry-projects' ),
|
497 |
+
'value' => 'grid-default.tmpl',
|
498 |
+
'master' => 'projects-listing-layout-grid-layout',
|
499 |
+
),
|
500 |
+
|
501 |
+
'masonry_template' => array(
|
502 |
+
'type' => 'text',
|
503 |
+
'title' => esc_html__( 'Masonry template', 'cherry-projects' ),
|
504 |
+
'description' => esc_html__( 'Masonry content template', 'cherry-projects' ),
|
505 |
+
'value' => 'masonry-default.tmpl',
|
506 |
+
'master' => 'projects-listing-layout-masonry-layout',
|
507 |
+
),
|
508 |
+
|
509 |
+
'justified_template' => array(
|
510 |
+
'type' => 'text',
|
511 |
+
'title' => esc_html__( 'Justified template', 'cherry-projects' ),
|
512 |
+
'description' => esc_html__( 'Justified content template', 'cherry-projects' ),
|
513 |
+
'value' => 'justified-default.tmpl',
|
514 |
+
'master' => 'projects-listing-layout-justified-layout',
|
515 |
+
),
|
516 |
+
|
517 |
+
'cascading_grid_template' => array(
|
518 |
+
'type' => 'text',
|
519 |
+
'title' => esc_html__( 'Cascading grid template', 'cherry-projects' ),
|
520 |
+
'description' => esc_html__( 'Cascading grid template', 'cherry-projects' ),
|
521 |
+
'value' => 'cascading-grid-default.tmpl',
|
522 |
+
'master' => 'projects-listing-layout-cascading-grid-layout',
|
523 |
+
),
|
524 |
+
|
525 |
+
'list_template' => array(
|
526 |
+
'type' => 'text',
|
527 |
+
'title' => esc_html__( 'List template', 'cherry-projects' ),
|
528 |
+
'description' => esc_html__( 'List content template', 'cherry-projects' ),
|
529 |
+
'value' => 'list-default.tmpl',
|
530 |
+
'master' => 'projects-listing-layout-list-layout',
|
531 |
+
),
|
532 |
+
),
|
533 |
+
),
|
534 |
+
array(
|
535 |
+
'title' => esc_html__( 'Projects Terms', 'cherry-projects' ),
|
536 |
+
'description' => esc_html__( 'The shortcode displays Category and Tag sections content listing with set parameters.', 'cherry-projects' ),
|
537 |
+
'icon' => '<span class="dashicons dashicons-category"></span>',
|
538 |
+
'slug' => 'cherry_projects_terms',
|
539 |
+
'options' => array(
|
540 |
+
|
541 |
+
'term_type' => array(
|
542 |
+
'type' => 'radio',
|
543 |
+
'title' => esc_html__( 'Filter type', 'cherry-projects' ),
|
544 |
+
'description' => esc_html__( 'Select if you want to filter posts by tag or by category.', 'cherry-projects' ),
|
545 |
+
'value' => 'category',
|
546 |
+
'display-input' => true,
|
547 |
+
'options' => array(
|
548 |
+
'category' => array(
|
549 |
+
'label' => esc_html__( 'Category', 'cherry-projects' ),
|
550 |
+
),
|
551 |
+
'tag' => array(
|
552 |
+
'label' => esc_html__( 'Tag', 'cherry-projects' ),
|
553 |
+
),
|
554 |
+
),
|
555 |
+
),
|
556 |
+
|
557 |
+
'listing_layout' => array(
|
558 |
+
'type' => 'radio',
|
559 |
+
'title' => esc_html__( 'Terms listing layout', 'cherry-projects' ),
|
560 |
+
'description' => esc_html__( 'Choose terms listing view layout.', 'cherry-projects' ),
|
561 |
+
'value' => 'grid-layout',
|
562 |
+
'display_input' => false,
|
563 |
+
'options' => array(
|
564 |
+
'grid-layout' => array(
|
565 |
+
'label' => esc_html__( 'Grid', 'cherry-projects' ),
|
566 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/list-layout-grid.svg',
|
567 |
+
'slave' => 'projects-listing-layout-grid-layout',
|
568 |
+
),
|
569 |
+
'masonry-layout' => array(
|
570 |
+
'label' => esc_html__( 'Masonry', 'cherry-projects' ),
|
571 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/list-layout-masonry.svg',
|
572 |
+
'slave' => 'projects-listing-layout-masonry-layout',
|
573 |
+
),
|
574 |
+
'cascading-grid-layout' => array(
|
575 |
+
'label' => esc_html__( 'Cascading grid', 'cherry-projects' ),
|
576 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/list-layout-cascading-grid.svg',
|
577 |
+
'slave' => 'projects-listing-layout-cascading-grid-layout',
|
578 |
+
),
|
579 |
+
'list-layout' => array(
|
580 |
+
'label' => esc_html__( 'List', 'cherry-projects' ),
|
581 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/list-layout-listing.svg',
|
582 |
+
'slave' => 'projects-listing-layout-list-layout',
|
583 |
+
),
|
584 |
+
),
|
585 |
+
),
|
586 |
+
|
587 |
+
'load_animation' => array(
|
588 |
+
'type' => 'radio',
|
589 |
+
'title' => esc_html__( 'Loading animation', 'cherry-projects' ),
|
590 |
+
'description' => esc_html__( 'Choose terms loading animation', 'cherry-projects' ),
|
591 |
+
'value' => 'loading-animation-move-up',
|
592 |
+
'class' => '',
|
593 |
+
'display_input' => false,
|
594 |
+
'options' => array(
|
595 |
+
'loading-animation-fade' => array(
|
596 |
+
'label' => esc_html__( 'Fade animation', 'cherry-projects' ),
|
597 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/animation-fade.svg',
|
598 |
+
),
|
599 |
+
'loading-animation-scale' => array(
|
600 |
+
'label' => esc_html__( 'Scale animation', 'cherry-projects' ),
|
601 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/animation-scale.svg',
|
602 |
+
),
|
603 |
+
'loading-animation-move-up' => array(
|
604 |
+
'label' => esc_html__( 'Move Up animation', 'cherry-projects' ),
|
605 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/animation-move-up.svg',
|
606 |
+
),
|
607 |
+
'loading-animation-flip' => array(
|
608 |
+
'label' => esc_html__( 'Flip animation', 'cherry-projects' ),
|
609 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/animation-flip.svg',
|
610 |
+
),
|
611 |
+
'loading-animation-helix' => array(
|
612 |
+
'label' => esc_html__( 'Helix animation', 'cherry-projects' ),
|
613 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/animation-helix.svg',
|
614 |
+
),
|
615 |
+
'loading-animation-fall-perspective' => array(
|
616 |
+
'label' => esc_html__( 'Fall perspective animation', 'cherry-projects' ),
|
617 |
+
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/animation-fall-perspective.svg',
|
618 |
+
),
|
619 |
+
),
|
620 |
+
),
|
621 |
+
|
622 |
+
'column_number' => array(
|
623 |
+
'type' => 'slider',
|
624 |
+
'title' => esc_html__( 'Column number', 'cherry-projects' ),
|
625 |
+
'description' => esc_html__( 'Select number of columns for masonry and grid projects layouts. (Min 2, max 6)', 'cherry-projects' ),
|
626 |
+
'max_value' => 6,
|
627 |
+
'min_value' => 2,
|
628 |
+
'value' => 3,
|
629 |
+
),
|
630 |
+
|
631 |
+
'post_per_page' => array(
|
632 |
+
'type' => 'slider',
|
633 |
+
'title' => esc_html__( 'Posts per page', 'cherry-projects' ),
|
634 |
+
'description' => esc_html__( 'Select how many posts per page do you want to display(-1 means that will show all projects)', 'cherry-projects' ),
|
635 |
+
'max_value' => 50,
|
636 |
+
'min_value' => -1,
|
637 |
+
'value' => 6,
|
638 |
+
),
|
639 |
+
|
640 |
+
'item_margin' => array(
|
641 |
+
'type' => 'slider',
|
642 |
+
'title' => esc_html__( 'Item margin', 'cherry-projects' ),
|
643 |
+
'description' => esc_html__( 'Select projects item margin (outer indent) value.', 'cherry-projects' ),
|
644 |
+
'max_value' => 50,
|
645 |
+
'min_value' => 0,
|
646 |
+
'value' => 4,
|
647 |
+
),
|
648 |
+
|
649 |
+
'grid_template' => array(
|
650 |
+
'type' => 'text',
|
651 |
+
'title' => esc_html__( 'Grid template', 'cherry-projects' ),
|
652 |
+
'description' => esc_html__( 'Grid content template', 'cherry-projects' ),
|
653 |
+
'value' => 'terms-grid-default.tmpl',
|
654 |
+
),
|
655 |
+
|
656 |
+
'masonry_template' => array(
|
657 |
+
'type' => 'text',
|
658 |
+
'title' => esc_html__( 'Masonry template', 'cherry-projects' ),
|
659 |
+
'description' => esc_html__( 'Masonry content template', 'cherry-projects' ),
|
660 |
+
'value' => 'terms-masonry-default.tmpl',
|
661 |
+
),
|
662 |
+
|
663 |
+
'cascading_grid_template' => array(
|
664 |
+
'type' => 'text',
|
665 |
+
'title' => esc_html__( 'Cascading grid template', 'cherry-projects' ),
|
666 |
+
'description' => esc_html__( 'Cascading grid template', 'cherry-projects' ),
|
667 |
+
'value' => 'terms-cascading-grid-default.tmpl',
|
668 |
+
),
|
669 |
+
|
670 |
+
'list_template' => array(
|
671 |
+
'type' => 'text',
|
672 |
+
'title' => esc_html__( 'List template', 'cherry-projects' ),
|
673 |
+
'description' => esc_html__( 'List content template', 'cherry-projects' ),
|
674 |
+
'value' => 'terms-list-default.tmpl',
|
675 |
+
),
|
676 |
+
),
|
677 |
+
),
|
678 |
+
),
|
679 |
+
)
|
680 |
+
);
|
681 |
+
}
|
682 |
+
|
683 |
/**
|
684 |
* Returns the instance.
|
685 |
*
|
707 |
return Cherry_Projects_Admin::get_instance();
|
708 |
}
|
709 |
|
710 |
+
cherry_projects_admin();
|
admin/includes/class-projects-meta-boxes.php
CHANGED
@@ -44,7 +44,14 @@ class Cherry_Projects_Meta_Boxes {
|
|
44 |
public function init() {
|
45 |
$prefix = CHERRY_PROJECTS_POSTMETA;
|
46 |
|
47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
array(
|
49 |
'id' => 'projects-settings',
|
50 |
'title' => esc_html__( 'Popup settings', 'cherry-projects' ),
|
@@ -215,7 +222,7 @@ class Cherry_Projects_Meta_Boxes {
|
|
215 |
'parent' => 'image_format_tab',
|
216 |
'title' => esc_html__( 'Image margin', 'cherry-projects' ),
|
217 |
'description' => esc_html__( 'Select projects item margin (outer indent) value.(px)', 'cherry-projects' ),
|
218 |
-
'max_value' =>
|
219 |
'min_value' => 0,
|
220 |
'value' => 10,
|
221 |
),
|
@@ -327,274 +334,11 @@ class Cherry_Projects_Meta_Boxes {
|
|
327 |
),
|
328 |
),
|
329 |
),
|
330 |
-
//
|
331 |
)
|
332 |
)
|
333 |
);
|
334 |
|
335 |
-
|
336 |
-
|
337 |
-
/*cherry_projects()->get_core()->init_module( 'cherry-post-meta', array(
|
338 |
-
'id' => 'projects-settings',
|
339 |
-
'title' => esc_html__( 'Projects settings', '__tm' ),
|
340 |
-
'page' => array( CHERRY_PROJECTS_NAME ),
|
341 |
-
'context' => 'normal',
|
342 |
-
'priority' => 'high',
|
343 |
-
'callback_args' => false,
|
344 |
-
'fields' => array(
|
345 |
-
$prefix . '_external_link' => array(
|
346 |
-
'type' => 'text',
|
347 |
-
'label' => esc_html__( 'External link', 'cherry-projects' ),
|
348 |
-
'value' => '#',
|
349 |
-
),
|
350 |
-
$prefix . '_external_link_text' => array(
|
351 |
-
'type' => 'text',
|
352 |
-
'label' => esc_html__( 'External link text', 'cherry-projects' ),
|
353 |
-
'value' => '',
|
354 |
-
),
|
355 |
-
$prefix . '_external_link_target' => array(
|
356 |
-
'type' => 'radio',
|
357 |
-
'label' => esc_html__( 'External link target', 'cherry-projects' ),
|
358 |
-
'value' => 'blank',
|
359 |
-
'display-input' => true,
|
360 |
-
'options' => array(
|
361 |
-
'blank' => array(
|
362 |
-
'label' => esc_html__( 'Blank', 'cherry-projects' ),
|
363 |
-
),
|
364 |
-
'self' => array(
|
365 |
-
'label' => esc_html__( 'Self', 'cherry-projects' ),
|
366 |
-
),
|
367 |
-
),
|
368 |
-
),
|
369 |
-
$prefix . '_details' => array(
|
370 |
-
'type' => 'repeater',
|
371 |
-
'label' => esc_html__( 'Projects Details', 'cherry-projects' ),
|
372 |
-
'add_label' => esc_html__( 'Add Projects Details', 'cherry-projects' ),
|
373 |
-
'title_field' => 'detail_label',
|
374 |
-
'fields' => array(
|
375 |
-
'detail_label' => array(
|
376 |
-
'type' => 'text',
|
377 |
-
'id' => 'detail_label',
|
378 |
-
'name' => 'detail_label',
|
379 |
-
'placeholder' => esc_html__( 'Enter label', 'cherry-projects' ),
|
380 |
-
'label' => esc_html__( 'Detail Label', 'cherry-projects' ),
|
381 |
-
),
|
382 |
-
'detail_info' => array(
|
383 |
-
'type' => 'text',
|
384 |
-
'id' => 'detail_info',
|
385 |
-
'name' => 'detail_info',
|
386 |
-
'placeholder' => esc_html__( 'Enter info', 'cherry-projects' ),
|
387 |
-
'label' => esc_html__( 'Detail Info', 'cherry-projects' ),
|
388 |
-
),
|
389 |
-
),
|
390 |
-
),
|
391 |
-
$prefix . '_skills' => array(
|
392 |
-
'type' => 'repeater',
|
393 |
-
'label' => esc_html__( 'Projects skills', 'cherry-projects' ),
|
394 |
-
'add_label' => esc_html__( 'Add Skill', 'cherry-projects' ),
|
395 |
-
'title_field' => 'detail_label',
|
396 |
-
'fields' => array(
|
397 |
-
'skill_label' => array(
|
398 |
-
'type' => 'text',
|
399 |
-
'id' => 'skill_label',
|
400 |
-
'name' => 'skill_label',
|
401 |
-
'placeholder' => esc_html__( 'Skill label', 'cherry-projects' ),
|
402 |
-
'label' => esc_html__( 'Skill Label', 'cherry-projects' ),
|
403 |
-
),
|
404 |
-
'skill_value' => array(
|
405 |
-
'type' => 'slider',
|
406 |
-
'id' => 'skill_value',
|
407 |
-
'name' => 'skill_value',
|
408 |
-
'label' => esc_html__( 'Skill Value', 'cherry-projects' ),
|
409 |
-
),
|
410 |
-
),
|
411 |
-
),
|
412 |
-
),
|
413 |
-
) );
|
414 |
-
|
415 |
-
cherry_projects()->get_core()->init_module( 'cherry-post-meta', array(
|
416 |
-
'id' => 'image-format-settings',
|
417 |
-
'title' => esc_html__( 'Image Format Options', '__tm' ),
|
418 |
-
'page' => array( CHERRY_PROJECTS_NAME ),
|
419 |
-
'context' => 'normal',
|
420 |
-
'priority' => 'high',
|
421 |
-
'callback_args' => false,
|
422 |
-
'fields' => array(
|
423 |
-
$prefix . '_image_attachments_ids' => array(
|
424 |
-
'type' => 'media',
|
425 |
-
'label' => esc_html__( 'Additional images', 'cherry-projects' ),
|
426 |
-
'description' => esc_html__( 'Select attachments images', 'cherry-projects' ),
|
427 |
-
'display_image' => true,
|
428 |
-
'multi_upload' => true,
|
429 |
-
'upload_button_text' => __( 'Add images', 'cherry-projects' ),
|
430 |
-
'library_type' => 'image',
|
431 |
-
),
|
432 |
-
$prefix . '_listing_layout' => array(
|
433 |
-
'type' => 'radio',
|
434 |
-
'label' => esc_html__( 'Image listing layout', 'cherry-projects' ),
|
435 |
-
'value' => 'grid-layout',
|
436 |
-
'class' => '',
|
437 |
-
'display_input' => false,
|
438 |
-
'options' => array(
|
439 |
-
'grid-layout' => array(
|
440 |
-
'label' => esc_html__( 'Grid', 'cherry-projects' ),
|
441 |
-
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/list-layout-grid.svg',
|
442 |
-
'slave' => 'projects-listing-layout-grid-layout',
|
443 |
-
),
|
444 |
-
'masonry-layout' => array(
|
445 |
-
'label' => esc_html__( 'Masonry', 'cherry-projects' ),
|
446 |
-
'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/list-layout-masonry.svg',
|
447 |
-
'slave' => 'projects-listing-layout-masonry-layout',
|
448 |
-
),
|
449 |
-
),
|
450 |
-
),
|
451 |
-
$prefix . '_column_number' => array(
|
452 |
-
'type' => 'slider',
|
453 |
-
'label' => esc_html__( 'Column number', 'cherry-projects' ),
|
454 |
-
'max_value' => 10,
|
455 |
-
'min_value' => 1,
|
456 |
-
'value' => 3,
|
457 |
-
),
|
458 |
-
$prefix . '_image_margin' => array(
|
459 |
-
'type' => 'slider',
|
460 |
-
'label' => esc_html__( 'Image margin', 'cherry-projects' ),
|
461 |
-
'max_value' => 30,
|
462 |
-
'min_value' => 0,
|
463 |
-
'value' => 10,
|
464 |
-
),
|
465 |
-
),
|
466 |
-
) );
|
467 |
-
|
468 |
-
cherry_projects()->get_core()->init_module( 'cherry-post-meta', array(
|
469 |
-
'id' => 'gallery-format-settings',
|
470 |
-
'title' => esc_html__( 'Gallery Format Options', '__tm' ),
|
471 |
-
'page' => array( CHERRY_PROJECTS_NAME ),
|
472 |
-
'context' => 'normal',
|
473 |
-
'priority' => 'high',
|
474 |
-
'callback_args' => false,
|
475 |
-
'fields' => array(
|
476 |
-
$prefix . '_slider_attachments_ids' => array(
|
477 |
-
'type' => 'media',
|
478 |
-
'label' => esc_html__( 'Gallery images', 'cherry-projects' ),
|
479 |
-
'description' => esc_html__( 'Select gallery images', 'cherry-projects' ),
|
480 |
-
'display_image' => true,
|
481 |
-
'multi_upload' => true,
|
482 |
-
'upload_button_text' => __( 'Add images', 'cherry-projects' ),
|
483 |
-
'library_type' => 'image',
|
484 |
-
),
|
485 |
-
$prefix . '_slider_navigation' => array(
|
486 |
-
'type' => 'switcher',
|
487 |
-
'value' => 'true',
|
488 |
-
'label' => esc_html__( 'Use navigation?', 'cherry-projects' ),
|
489 |
-
),
|
490 |
-
$prefix . '_slider_loop' => array(
|
491 |
-
'type' => 'switcher',
|
492 |
-
'value' => 'true',
|
493 |
-
'label' => esc_html__( 'Use infinite scrolling?', 'cherry-projects' ),
|
494 |
-
),
|
495 |
-
$prefix . '_slider_thumbnails_position' => array(
|
496 |
-
'type' => 'radio',
|
497 |
-
'label' => esc_html__( 'Thumbnails position', 'cherry-projects' ),
|
498 |
-
'value' => 'bottom',
|
499 |
-
'display-input' => true,
|
500 |
-
'options' => array(
|
501 |
-
'top' => array(
|
502 |
-
'label' => esc_html__( 'Top', 'cherry-projects' ),
|
503 |
-
),
|
504 |
-
'bottom' => array(
|
505 |
-
'label' => esc_html__( 'Bottom', 'cherry-projects' ),
|
506 |
-
),
|
507 |
-
'right' => array(
|
508 |
-
'label' => esc_html__( 'Right', 'cherry-projects' ),
|
509 |
-
),
|
510 |
-
'left' => array(
|
511 |
-
'label' => esc_html__( 'Left', 'cherry-projects' ),
|
512 |
-
),
|
513 |
-
),
|
514 |
-
),
|
515 |
-
),
|
516 |
-
) );
|
517 |
-
|
518 |
-
cherry_projects()->get_core()->init_module( 'cherry-post-meta', array(
|
519 |
-
'id' => 'audio-format-settings',
|
520 |
-
'title' => esc_html__( 'Audio Format Options', '__tm' ),
|
521 |
-
'page' => array( CHERRY_PROJECTS_NAME ),
|
522 |
-
'context' => 'normal',
|
523 |
-
'priority' => 'high',
|
524 |
-
'callback_args' => false,
|
525 |
-
'fields' => array(
|
526 |
-
$prefix . '_audio_attachments_ids' => array(
|
527 |
-
'type' => 'media',
|
528 |
-
'label' => esc_html__( 'Audio source', 'cherry-projects' ),
|
529 |
-
'description' => esc_html__( 'Select audio source( mp3, m4a, ogg, wav, wma )', 'cherry-projects' ),
|
530 |
-
'display_image' => true,
|
531 |
-
'multi_upload' => true,
|
532 |
-
'upload_button_text' => __( 'Add sound', 'cherry-projects' ),
|
533 |
-
'library_type' => 'audio',
|
534 |
-
),
|
535 |
-
),
|
536 |
-
) );
|
537 |
-
|
538 |
-
cherry_projects()->get_core()->init_module( 'cherry-post-meta', array(
|
539 |
-
'id' => 'video-format-settings',
|
540 |
-
'title' => esc_html__( 'Video Format Options', '__tm' ),
|
541 |
-
'page' => array( CHERRY_PROJECTS_NAME ),
|
542 |
-
'context' => 'normal',
|
543 |
-
'priority' => 'high',
|
544 |
-
'callback_args' => false,
|
545 |
-
'fields' => array(
|
546 |
-
$prefix . '_video_list' => array(
|
547 |
-
'type' => 'repeater',
|
548 |
-
'label' => esc_html__( 'Video list', 'cherry-projects' ),
|
549 |
-
'add_label' => esc_html__( 'Add New Video', 'cherry-projects' ),
|
550 |
-
'title_field' => 'detail_label',
|
551 |
-
'fields' => array(
|
552 |
-
'video_type' => array(
|
553 |
-
'type' => 'radio',
|
554 |
-
'label' => esc_html__( 'Video source type', 'cherry-projects' ),
|
555 |
-
'id' => 'video_type',
|
556 |
-
'name' => 'video_type',
|
557 |
-
'display-input' => true,
|
558 |
-
'options' => array(
|
559 |
-
'embed' => array(
|
560 |
-
'label' => esc_html__( 'Embed video type', 'cherry-projects' ),
|
561 |
-
),
|
562 |
-
'html5' => array(
|
563 |
-
'label' => esc_html__( 'HTML5 video type', 'cherry-projects' ),
|
564 |
-
),
|
565 |
-
),
|
566 |
-
),
|
567 |
-
'video_embed' => array(
|
568 |
-
'type' => 'text',
|
569 |
-
'id' => 'video_embed',
|
570 |
-
'name' => 'video_embed',
|
571 |
-
'placeholder' => esc_html__( 'Select embed url', 'cherry-projects' ),
|
572 |
-
'label' => esc_html__( 'Video embed url', 'cherry-projects' ),
|
573 |
-
),
|
574 |
-
'video_src' => array(
|
575 |
-
'type' => 'media',
|
576 |
-
'id' => 'video_src',
|
577 |
-
'name' => 'video_src',
|
578 |
-
'label' => esc_html__( 'HTML5 Video source', 'cherry-projects' ),
|
579 |
-
'display_image' => true,
|
580 |
-
'multi_upload' => false,
|
581 |
-
'upload_button_text' => esc_html__( 'Add Video', 'cherry-projects' ),
|
582 |
-
'library_type' => 'video',
|
583 |
-
),
|
584 |
-
'poster_src' => array(
|
585 |
-
'type' => 'media',
|
586 |
-
'id' => 'poster_src',
|
587 |
-
'name' => 'poster_src',
|
588 |
-
'label' => esc_html__( 'HTML5 video poster', 'cherry-projects' ),
|
589 |
-
'display_image' => true,
|
590 |
-
'multi_upload' => false,
|
591 |
-
'upload_button_text' => esc_html__( 'Add Poster', 'cherry-projects' ),
|
592 |
-
'library_type' => 'image',
|
593 |
-
),
|
594 |
-
),
|
595 |
-
),
|
596 |
-
),
|
597 |
-
) );*/
|
598 |
}
|
599 |
|
600 |
/**
|
44 |
public function init() {
|
45 |
$prefix = CHERRY_PROJECTS_POSTMETA;
|
46 |
|
47 |
+
/**
|
48 |
+
* Metabox fields settings filtering
|
49 |
+
*
|
50 |
+
* @since 1.2.0
|
51 |
+
* @var array
|
52 |
+
*/
|
53 |
+
$meta_settings = apply_filters(
|
54 |
+
'cherry_projects_metabox_fields_settings',
|
55 |
array(
|
56 |
'id' => 'projects-settings',
|
57 |
'title' => esc_html__( 'Popup settings', 'cherry-projects' ),
|
222 |
'parent' => 'image_format_tab',
|
223 |
'title' => esc_html__( 'Image margin', 'cherry-projects' ),
|
224 |
'description' => esc_html__( 'Select projects item margin (outer indent) value.(px)', 'cherry-projects' ),
|
225 |
+
'max_value' => 50,
|
226 |
'min_value' => 0,
|
227 |
'value' => 10,
|
228 |
),
|
334 |
),
|
335 |
),
|
336 |
),
|
|
|
337 |
)
|
338 |
)
|
339 |
);
|
340 |
|
341 |
+
cherry_projects()->get_core()->init_module( 'cherry-post-meta', $meta_settings);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
342 |
}
|
343 |
|
344 |
/**
|
admin/includes/class-projects-options-page.php
CHANGED
@@ -41,7 +41,8 @@ class Cherry_Projects_Options_Page {
|
|
41 |
public $projects_options = array();
|
42 |
|
43 |
/**
|
44 |
-
*
|
|
|
45 |
* @var null
|
46 |
*/
|
47 |
public $utility = null;
|
41 |
public $projects_options = array();
|
42 |
|
43 |
/**
|
44 |
+
* Cherry utility instance
|
45 |
+
*
|
46 |
* @var null
|
47 |
*/
|
48 |
public $utility = null;
|
cherry-framework/cherry-core.php
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Class Cherry Core
|
4 |
-
* Version: 1.
|
5 |
*
|
6 |
* @package Cherry_Framework
|
7 |
* @subpackage Class
|
8 |
* @author Cherry Team <cherryframework@gmail.com>
|
9 |
* @copyright Copyright (c) 2012 - 2016, Cherry Team
|
10 |
* @link http://www.cherryframework.com/
|
11 |
-
* @license http://www.gnu.org/licenses/
|
12 |
*/
|
13 |
|
14 |
// If this file is called directly, abort.
|
@@ -87,6 +87,9 @@ if ( ! class_exists( 'Cherry_Core' ) ) {
|
|
87 |
add_action( 'after_setup_theme', array( 'Cherry_Core', 'load_all_modules' ), 2 );
|
88 |
add_action( 'after_setup_theme', array( $this, 'init_required_modules' ), 2 );
|
89 |
|
|
|
|
|
|
|
90 |
// Init modules with autoload seted up into true.
|
91 |
add_action( 'after_setup_theme', array( $this, 'init_autoload_modules' ), 9999 );
|
92 |
|
@@ -165,6 +168,17 @@ if ( ! class_exists( 'Cherry_Core' ) ) {
|
|
165 |
}
|
166 |
}
|
167 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
168 |
/**
|
169 |
* Init a required modules.
|
170 |
*
|
@@ -286,7 +300,7 @@ if ( ! class_exists( 'Cherry_Core' ) ) {
|
|
286 |
$class_name = self::get_class_name( $module );
|
287 |
|
288 |
if ( ! class_exists( $class_name ) ) {
|
289 |
-
echo '<p>Class <b>' . $class_name . '</b> not exist!</p>';
|
290 |
return false;
|
291 |
}
|
292 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Class Cherry Core
|
4 |
+
* Version: 1.4.0
|
5 |
*
|
6 |
* @package Cherry_Framework
|
7 |
* @subpackage Class
|
8 |
* @author Cherry Team <cherryframework@gmail.com>
|
9 |
* @copyright Copyright (c) 2012 - 2016, Cherry Team
|
10 |
* @link http://www.cherryframework.com/
|
11 |
+
* @license http://www.gnu.org/licenses/gpl-3.0.en.html
|
12 |
*/
|
13 |
|
14 |
// If this file is called directly, abort.
|
87 |
add_action( 'after_setup_theme', array( 'Cherry_Core', 'load_all_modules' ), 2 );
|
88 |
add_action( 'after_setup_theme', array( $this, 'init_required_modules' ), 2 );
|
89 |
|
90 |
+
// Load the framework textdomain.
|
91 |
+
add_action( 'after_setup_theme', array( $this, 'load_textdomain' ), 10 );
|
92 |
+
|
93 |
// Init modules with autoload seted up into true.
|
94 |
add_action( 'after_setup_theme', array( $this, 'init_autoload_modules' ), 9999 );
|
95 |
|
168 |
}
|
169 |
}
|
170 |
|
171 |
+
/**
|
172 |
+
* Load the framework textdomain.
|
173 |
+
*
|
174 |
+
* @since 1.4.0
|
175 |
+
*/
|
176 |
+
public function load_textdomain() {
|
177 |
+
$mo_file_path = dirname( __FILE__ ) . '/languages/' . get_locale() . '.mo';
|
178 |
+
|
179 |
+
load_textdomain( 'cherry-framework', $mo_file_path );
|
180 |
+
}
|
181 |
+
|
182 |
/**
|
183 |
* Init a required modules.
|
184 |
*
|
300 |
$class_name = self::get_class_name( $module );
|
301 |
|
302 |
if ( ! class_exists( $class_name ) ) {
|
303 |
+
echo '<p>Class <b>' . esc_html( $class_name ) . '</b> not exist!</p>';
|
304 |
return false;
|
305 |
}
|
306 |
|
cherry-framework/config.json
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
{
|
2 |
"name" : "Cherry Framework",
|
3 |
-
"version" : "1.
|
4 |
"description" : "",
|
5 |
-
"doc_link" : "",
|
6 |
"git_link" : "https://github.com/CherryFramework/cherry-framework",
|
7 |
"modules" : {
|
8 |
"cherry-breadcrumbs" : {
|
9 |
"name" : "Breadcrumb Trail",
|
10 |
"description" : "A breadcrumb menu script for WordPress.",
|
11 |
-
"version" : "1.1.
|
12 |
"doc_link" : "",
|
13 |
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-breadcrumbs",
|
14 |
"compatible" : ["theme", "plugin"],
|
@@ -19,19 +19,30 @@
|
|
19 |
"cherry-customizer" : {
|
20 |
"name" : "Customizer API",
|
21 |
"description" : "Customizer functionality.",
|
22 |
-
"version" : "1.1.
|
23 |
-
"doc_link" : "",
|
24 |
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-customizer",
|
25 |
"compatible" : ["theme", "plugin"],
|
26 |
"wordpress_org" : true,
|
27 |
"required" : false,
|
28 |
"dependencies" : []
|
29 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
"cherry-dynamic-css" : {
|
31 |
"name" : "Dynamic CSS",
|
32 |
"description" : "Generate CSS.",
|
33 |
-
"version" : "1.2.
|
34 |
-
"doc_link" : "",
|
35 |
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-dynamic-css",
|
36 |
"compatible" : ["theme", "plugin"],
|
37 |
"wordpress_org" : true,
|
@@ -52,8 +63,8 @@
|
|
52 |
"cherry-handler" : {
|
53 |
"name" : "Cherry handler",
|
54 |
"description" : "Initialize handlers.",
|
55 |
-
"version" : "1.
|
56 |
-
"doc_link" : "",
|
57 |
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-handler",
|
58 |
"compatible" : ["theme", "plugin"],
|
59 |
"wordpress_org" : true,
|
@@ -63,8 +74,8 @@
|
|
63 |
"cherry-interface-builder" : {
|
64 |
"name" : "Interface Builder",
|
65 |
"description" : "The module for the creation of interfaces in the WordPress admin panel.",
|
66 |
-
"version" : "1.
|
67 |
-
"doc_link" : "",
|
68 |
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-interface-builder",
|
69 |
"compatible" : ["theme", "plugin"],
|
70 |
"wordpress_org" : true,
|
@@ -75,7 +86,7 @@
|
|
75 |
"name" : "JS Core",
|
76 |
"description" : "Initialize global JS object which provides additional plugin functionality.",
|
77 |
"version" : "1.1.2",
|
78 |
-
"doc_link" : "",
|
79 |
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-js-core",
|
80 |
"compatible" : ["theme", "plugin"],
|
81 |
"wordpress_org" : true,
|
@@ -107,8 +118,8 @@
|
|
107 |
"cherry-template-manager" : {
|
108 |
"name" : "Template Manager",
|
109 |
"description" : "Module for load and parse *.tmpl files.",
|
110 |
-
"version" : "1.0.
|
111 |
-
"doc_link" : "",
|
112 |
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-template-manager",
|
113 |
"compatible" : ["theme", "plugin"],
|
114 |
"wordpress_org" : true,
|
@@ -130,7 +141,7 @@
|
|
130 |
"name": "Framework Toolkit",
|
131 |
"description": "Framework Toolkit contains various PHP utilities",
|
132 |
"version" : "1.2.0",
|
133 |
-
"doc_link": "",
|
134 |
"git_link": "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-toolkit",
|
135 |
"compatible": ["theme", "plugin"],
|
136 |
"wordpress_org": true,
|
@@ -140,8 +151,8 @@
|
|
140 |
"cherry-ui-elements" : {
|
141 |
"name" : "UI Elements",
|
142 |
"description" : "UI Elements",
|
143 |
-
"version" : "1.3.
|
144 |
-
"doc_link" : "",
|
145 |
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-ui-elements",
|
146 |
"compatible" : ["theme", "plugin"],
|
147 |
"wordpress_org" : true,
|
@@ -151,8 +162,8 @@
|
|
151 |
"cherry-utility" : {
|
152 |
"name" : "Utility",
|
153 |
"description" : "Multiple utility functions.",
|
154 |
-
"version" : "1.1.
|
155 |
-
"doc_link" : "",
|
156 |
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-utility",
|
157 |
"compatible" : ["theme", "plugin"],
|
158 |
"wordpress_org" : true,
|
@@ -162,13 +173,24 @@
|
|
162 |
"cherry-widget-factory" : {
|
163 |
"name" : "Widget Factory",
|
164 |
"description" : "Base widget class that simplifies creating of your own widgets.",
|
165 |
-
"version" : "1.2.
|
166 |
-
"doc_link" : "",
|
167 |
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-widget-factory",
|
168 |
"compatible" : ["theme", "plugin"],
|
169 |
"wordpress_org" : true,
|
170 |
"required" : false,
|
171 |
"dependencies" : [ "cherry-ui-elements" ]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
}
|
173 |
}
|
174 |
}
|
1 |
{
|
2 |
"name" : "Cherry Framework",
|
3 |
+
"version" : "1.4.0",
|
4 |
"description" : "",
|
5 |
+
"doc_link" : "https://github.com/CherryFramework/cherry-framework-docs",
|
6 |
"git_link" : "https://github.com/CherryFramework/cherry-framework",
|
7 |
"modules" : {
|
8 |
"cherry-breadcrumbs" : {
|
9 |
"name" : "Breadcrumb Trail",
|
10 |
"description" : "A breadcrumb menu script for WordPress.",
|
11 |
+
"version" : "1.1.2",
|
12 |
"doc_link" : "",
|
13 |
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-breadcrumbs",
|
14 |
"compatible" : ["theme", "plugin"],
|
19 |
"cherry-customizer" : {
|
20 |
"name" : "Customizer API",
|
21 |
"description" : "Customizer functionality.",
|
22 |
+
"version" : "1.1.5",
|
23 |
+
"doc_link" : "https://github.com/CherryFramework/cherry-framework-docs/blob/master/01.%20cherry-customizer.md",
|
24 |
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-customizer",
|
25 |
"compatible" : ["theme", "plugin"],
|
26 |
"wordpress_org" : true,
|
27 |
"required" : false,
|
28 |
"dependencies" : []
|
29 |
},
|
30 |
+
"cherry-db-updater" : {
|
31 |
+
"name" : "Database Updater",
|
32 |
+
"description" : "Handle database updates if required.",
|
33 |
+
"version" : "1.0.0",
|
34 |
+
"doc_link" : "",
|
35 |
+
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-db-updater",
|
36 |
+
"compatible" : ["theme", "plugin"],
|
37 |
+
"wordpress_org" : true,
|
38 |
+
"required" : false,
|
39 |
+
"dependencies" : []
|
40 |
+
},
|
41 |
"cherry-dynamic-css" : {
|
42 |
"name" : "Dynamic CSS",
|
43 |
"description" : "Generate CSS.",
|
44 |
+
"version" : "1.2.2",
|
45 |
+
"doc_link" : "https://github.com/CherryFramework/cherry-framework-docs/blob/master/03.%20cherry-dynamic-css.md",
|
46 |
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-dynamic-css",
|
47 |
"compatible" : ["theme", "plugin"],
|
48 |
"wordpress_org" : true,
|
63 |
"cherry-handler" : {
|
64 |
"name" : "Cherry handler",
|
65 |
"description" : "Initialize handlers.",
|
66 |
+
"version" : "1.1.1",
|
67 |
+
"doc_link" : "https://github.com/CherryFramework/cherry-framework-docs/blob/master/02.%20cherry-handler.md",
|
68 |
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-handler",
|
69 |
"compatible" : ["theme", "plugin"],
|
70 |
"wordpress_org" : true,
|
74 |
"cherry-interface-builder" : {
|
75 |
"name" : "Interface Builder",
|
76 |
"description" : "The module for the creation of interfaces in the WordPress admin panel.",
|
77 |
+
"version" : "1.1.2",
|
78 |
+
"doc_link" : "https://github.com/CherryFramework/cherry-framework-docs/blob/master/07.%20cherry-interface-builder.md",
|
79 |
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-interface-builder",
|
80 |
"compatible" : ["theme", "plugin"],
|
81 |
"wordpress_org" : true,
|
86 |
"name" : "JS Core",
|
87 |
"description" : "Initialize global JS object which provides additional plugin functionality.",
|
88 |
"version" : "1.1.2",
|
89 |
+
"doc_link" : "https://github.com/CherryFramework/cherry-framework-docs/blob/master/04.%20cherry-js-core.md",
|
90 |
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-js-core",
|
91 |
"compatible" : ["theme", "plugin"],
|
92 |
"wordpress_org" : true,
|
118 |
"cherry-template-manager" : {
|
119 |
"name" : "Template Manager",
|
120 |
"description" : "Module for load and parse *.tmpl files.",
|
121 |
+
"version" : "1.0.1",
|
122 |
+
"doc_link" : "https://github.com/CherryFramework/cherry-framework-docs/blob/master/05.%20cherry-template-manager.md",
|
123 |
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-template-manager",
|
124 |
"compatible" : ["theme", "plugin"],
|
125 |
"wordpress_org" : true,
|
141 |
"name": "Framework Toolkit",
|
142 |
"description": "Framework Toolkit contains various PHP utilities",
|
143 |
"version" : "1.2.0",
|
144 |
+
"doc_link": "https://github.com/CherryFramework/cherry-framework-docs/blob/master/100.%20cherry-toolkit.md",
|
145 |
"git_link": "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-toolkit",
|
146 |
"compatible": ["theme", "plugin"],
|
147 |
"wordpress_org": true,
|
151 |
"cherry-ui-elements" : {
|
152 |
"name" : "UI Elements",
|
153 |
"description" : "UI Elements",
|
154 |
+
"version" : "1.3.4",
|
155 |
+
"doc_link" : "https://github.com/CherryFramework/cherry-framework-docs/blob/master/09.%20cherry-ui-elements.md",
|
156 |
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-ui-elements",
|
157 |
"compatible" : ["theme", "plugin"],
|
158 |
"wordpress_org" : true,
|
162 |
"cherry-utility" : {
|
163 |
"name" : "Utility",
|
164 |
"description" : "Multiple utility functions.",
|
165 |
+
"version" : "1.1.5",
|
166 |
+
"doc_link" : "https://github.com/CherryFramework/cherry-framework-docs/blob/master/08.%20cherry-utility.md",
|
167 |
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-utility",
|
168 |
"compatible" : ["theme", "plugin"],
|
169 |
"wordpress_org" : true,
|
173 |
"cherry-widget-factory" : {
|
174 |
"name" : "Widget Factory",
|
175 |
"description" : "Base widget class that simplifies creating of your own widgets.",
|
176 |
+
"version" : "1.2.1",
|
177 |
+
"doc_link" : "https://github.com/CherryFramework/cherry-framework-docs/blob/master/06.%20cherry-widget-factory.md",
|
178 |
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-widget-factory",
|
179 |
"compatible" : ["theme", "plugin"],
|
180 |
"wordpress_org" : true,
|
181 |
"required" : false,
|
182 |
"dependencies" : [ "cherry-ui-elements" ]
|
183 |
+
},
|
184 |
+
"cherry5-insert-shortcode" : {
|
185 |
+
"name" : "Insert Shortcode",
|
186 |
+
"description" : "The module allows you to add shortcodes from editor tinyMCE.",
|
187 |
+
"version" : "1.0.0",
|
188 |
+
"doc_link" : "",
|
189 |
+
"git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry5-insert-shortcode",
|
190 |
+
"compatible" : [ "plugin" ],
|
191 |
+
"wordpress_org" : true,
|
192 |
+
"required" : false,
|
193 |
+
"dependencies" : [ "cherry-ui-elements", "cherry-interface-builder" ]
|
194 |
}
|
195 |
}
|
196 |
}
|
cherry-framework/languages/cherry-framework.pot
ADDED
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#, fuzzy
|
2 |
+
msgid ""
|
3 |
+
msgstr ""
|
4 |
+
"Project-Id-Version: cherry-framework\n"
|
5 |
+
"POT-Creation-Date: 2016-12-26 14:10+0200\n"
|
6 |
+
"PO-Revision-Date: 2016-12-09 16:29+0200\n"
|
7 |
+
"Last-Translator: \n"
|
8 |
+
"Language-Team: TemplateMonster\n"
|
9 |
+
"Language: en\n"
|
10 |
+
"MIME-Version: 1.0\n"
|
11 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
+
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Generator: Poedit 1.8.11\n"
|
14 |
+
"X-Poedit-Basepath: ..\n"
|
15 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
+
"X-Poedit-KeywordsList: __;_e;_n:1,2;_n_noop:1,2;_x:1,2c;_nx:1,2,4c;"
|
18 |
+
"_nx_noop:1,2,3c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;"
|
19 |
+
"esc_html_e;esc_html_x:1,2c\n"
|
20 |
+
"X-Poedit-SearchPath-0: .\n"
|
21 |
+
"X-Poedit-SearchPath-1: .\n"
|
22 |
+
|
23 |
+
#: modules/cherry-breadcrumbs/cherry-breadcrumbs.php:346
|
24 |
+
msgid "Home"
|
25 |
+
msgstr ""
|
26 |
+
|
27 |
+
#: modules/cherry-breadcrumbs/cherry-breadcrumbs.php:352
|
28 |
+
msgid "Browse:"
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: modules/cherry-breadcrumbs/cherry-breadcrumbs.php:354
|
32 |
+
msgid "404 Not Found"
|
33 |
+
msgstr ""
|
34 |
+
|
35 |
+
#: modules/cherry-breadcrumbs/cherry-breadcrumbs.php:355
|
36 |
+
msgid "Archives"
|
37 |
+
msgstr ""
|
38 |
+
|
39 |
+
#: modules/cherry-breadcrumbs/cherry-breadcrumbs.php:356
|
40 |
+
#, php-format
|
41 |
+
msgid "Search results for “%s”"
|
42 |
+
msgstr ""
|
43 |
+
|
44 |
+
#: modules/cherry-breadcrumbs/cherry-breadcrumbs.php:357
|
45 |
+
#, php-format
|
46 |
+
msgid "Page %s"
|
47 |
+
msgstr ""
|
48 |
+
|
49 |
+
#: modules/cherry-breadcrumbs/cherry-breadcrumbs.php:358
|
50 |
+
#, php-format
|
51 |
+
msgid "Minute %s"
|
52 |
+
msgstr ""
|
53 |
+
|
54 |
+
#: modules/cherry-breadcrumbs/cherry-breadcrumbs.php:359
|
55 |
+
#, php-format
|
56 |
+
msgid "Week %s"
|
57 |
+
msgstr ""
|
58 |
+
|
59 |
+
#: modules/cherry-customizer/cherry-customizer.php:269
|
60 |
+
msgid "Untitled Panel"
|
61 |
+
msgstr ""
|
62 |
+
|
63 |
+
#: modules/cherry-customizer/cherry-customizer.php:305
|
64 |
+
msgid "Untitled Section"
|
65 |
+
msgstr ""
|
66 |
+
|
67 |
+
#: modules/cherry-customizer/cherry-customizer.php:338
|
68 |
+
msgid "Untitled Control"
|
69 |
+
msgstr ""
|
70 |
+
|
71 |
+
#: modules/cherry-db-updater/cherry-db-updater.php:105
|
72 |
+
#, php-format
|
73 |
+
msgid ""
|
74 |
+
"Module DB Updater init error in %s - version and slug is required arguments"
|
75 |
+
msgstr ""
|
76 |
+
|
77 |
+
#: modules/cherry-db-updater/cherry-db-updater.php:106
|
78 |
+
msgid "We need to update your database to the latest version."
|
79 |
+
msgstr ""
|
80 |
+
|
81 |
+
#: modules/cherry-db-updater/cherry-db-updater.php:107
|
82 |
+
msgid "Update complete, thank you for updating to the latest version!"
|
83 |
+
msgstr ""
|
84 |
+
|
85 |
+
#: modules/cherry-db-updater/cherry-db-updater.php:331
|
86 |
+
msgid "Start Update"
|
87 |
+
msgstr ""
|
88 |
+
|
89 |
+
#: modules/cherry-db-updater/cherry-db-updater.php:368
|
90 |
+
msgid "Data Update"
|
91 |
+
msgstr ""
|
92 |
+
|
93 |
+
#: modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-button.php:63
|
94 |
+
msgid "Cherry shortcodes"
|
95 |
+
msgstr ""
|
96 |
+
|
97 |
+
#: modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:128
|
98 |
+
msgid "insert shortcode"
|
99 |
+
msgstr ""
|
100 |
+
|
101 |
+
#: modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:148
|
102 |
+
msgid "Shortcode List"
|
103 |
+
msgstr ""
|
104 |
+
|
105 |
+
#: modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:206
|
106 |
+
msgid "Shortcode not found."
|
107 |
+
msgstr ""
|
108 |
+
|
109 |
+
#: modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:261
|
110 |
+
msgid "Shortcode content."
|
111 |
+
msgstr ""
|
112 |
+
|
113 |
+
#: modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:262
|
114 |
+
msgid "Input shortcode content."
|
115 |
+
msgstr ""
|
116 |
+
|
117 |
+
#: modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:277
|
118 |
+
msgid "Shortcode not a have options."
|
119 |
+
msgstr ""
|
cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Module Name: Breadcrumb Trail
|
4 |
* Description: A breadcrumb menu script for WordPress
|
5 |
-
* Version: 1.1.
|
6 |
* Author: Cherry Team
|
7 |
* Author URI: http://www.cherryframework.com/
|
8 |
* License: GPLv3
|
@@ -207,7 +207,7 @@ if ( ! class_exists( 'Cherry_Breadcrumbs' ) ) {
|
|
207 |
$wrapper_css = implode( ' ', $wrapper_classes );
|
208 |
|
209 |
/* Open the breadcrumb trail containers. */
|
210 |
-
$result = "\n\t\t" . '<div class="' . $wrapper_css . '">';
|
211 |
|
212 |
$result .= sprintf( $this->args['wrapper_format'], $title, $breadcrumb );
|
213 |
|
@@ -343,20 +343,20 @@ if ( ! class_exists( 'Cherry_Breadcrumbs' ) ) {
|
|
343 |
}
|
344 |
|
345 |
if ( $use_custom_front_title ) {
|
346 |
-
$default = 'Home';
|
347 |
$page_on_front_title = $default;
|
348 |
$page_on_front_title = $this->prepare_label( $page_on_front_title, $default );
|
349 |
}
|
350 |
|
351 |
$labels = array(
|
352 |
-
'browse' => 'Browse:',
|
353 |
'home' => $page_on_front_title,
|
354 |
-
'error_404' => '404 Not Found',
|
355 |
-
'archives' => 'Archives',
|
356 |
-
'search' => 'Search results for “%s”',
|
357 |
-
'paged' => 'Page %s',
|
358 |
-
'archive_minute' => 'Minute %s',
|
359 |
-
'archive_week' => 'Week %s',
|
360 |
|
361 |
/* "%s" is replaced with the translated date/time format. */
|
362 |
'archive_minute_hour' => '%s',
|
@@ -1446,7 +1446,17 @@ if ( ! class_exists( 'Cherry_Breadcrumbs' ) ) {
|
|
1446 |
if ( $terms ) {
|
1447 |
|
1448 |
/* Sort the terms by ID and get the first category. */
|
1449 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1450 |
$term = get_term( $terms[0], 'category' );
|
1451 |
|
1452 |
/* If the category has a parent, add the hierarchy to the trail. */
|
2 |
/**
|
3 |
* Module Name: Breadcrumb Trail
|
4 |
* Description: A breadcrumb menu script for WordPress
|
5 |
+
* Version: 1.1.2
|
6 |
* Author: Cherry Team
|
7 |
* Author URI: http://www.cherryframework.com/
|
8 |
* License: GPLv3
|
207 |
$wrapper_css = implode( ' ', $wrapper_classes );
|
208 |
|
209 |
/* Open the breadcrumb trail containers. */
|
210 |
+
$result = "\n\t\t" . '<div class="' . esc_attr( $wrapper_css ) . '">';
|
211 |
|
212 |
$result .= sprintf( $this->args['wrapper_format'], $title, $breadcrumb );
|
213 |
|
343 |
}
|
344 |
|
345 |
if ( $use_custom_front_title ) {
|
346 |
+
$default = esc_html__( 'Home', 'cherry-framework' );
|
347 |
$page_on_front_title = $default;
|
348 |
$page_on_front_title = $this->prepare_label( $page_on_front_title, $default );
|
349 |
}
|
350 |
|
351 |
$labels = array(
|
352 |
+
'browse' => esc_html__( 'Browse:', 'cherry-framework' ),
|
353 |
'home' => $page_on_front_title,
|
354 |
+
'error_404' => esc_html__( '404 Not Found', 'cherry-framework' ),
|
355 |
+
'archives' => esc_html__( 'Archives', 'cherry-framework' ),
|
356 |
+
'search' => esc_html__( 'Search results for “%s”', 'cherry-framework' ),
|
357 |
+
'paged' => esc_html__( 'Page %s', 'cherry-framework' ),
|
358 |
+
'archive_minute' => esc_html__( 'Minute %s', 'cherry-framework' ),
|
359 |
+
'archive_week' => esc_html__( 'Week %s', 'cherry-framework' ),
|
360 |
|
361 |
/* "%s" is replaced with the translated date/time format. */
|
362 |
'archive_minute_hour' => '%s',
|
1446 |
if ( $terms ) {
|
1447 |
|
1448 |
/* Sort the terms by ID and get the first category. */
|
1449 |
+
if ( function_exists( 'wp_list_sort' ) ) {
|
1450 |
+
$terms = wp_list_sort( $terms, array(
|
1451 |
+
'term_id' => 'ASC',
|
1452 |
+
) );
|
1453 |
+
|
1454 |
+
} else {
|
1455 |
+
|
1456 |
+
// Backward compatibility with WordPress 4.6 or later.
|
1457 |
+
usort( $terms, '_usort_terms_by_ID' );
|
1458 |
+
}
|
1459 |
+
|
1460 |
$term = get_term( $terms[0], 'category' );
|
1461 |
|
1462 |
/* If the category has a parent, add the hierarchy to the trail. */
|
cherry-framework/modules/cherry-customizer/assets/fonts/google.json
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
"latin"
|
14 |
],
|
15 |
"version": "v9",
|
16 |
-
"lastModified": "2016-
|
17 |
"files": {
|
18 |
"regular": "http://fonts.gstatic.com/s/abeezee/v9/mE5BOuZKGln_Ex0uYKpIaw.ttf",
|
19 |
"italic": "http://fonts.gstatic.com/s/abeezee/v9/kpplLynmYgP0YtlJA3atRw.ttf"
|
@@ -30,11 +30,37 @@
|
|
30 |
"latin"
|
31 |
],
|
32 |
"version": "v6",
|
33 |
-
"lastModified": "2016-
|
34 |
"files": {
|
35 |
"regular": "http://fonts.gstatic.com/s/abel/v6/RpUKfqNxoyNe_ka23bzQ2A.ttf"
|
36 |
}
|
37 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
{
|
39 |
"kind": "webfonts#webfont",
|
40 |
"family": "Abril Fatface",
|
@@ -43,11 +69,11 @@
|
|
43 |
"regular"
|
44 |
],
|
45 |
"subsets": [
|
46 |
-
"latin",
|
47 |
-
"latin
|
48 |
],
|
49 |
"version": "v8",
|
50 |
-
"lastModified": "2016-
|
51 |
"files": {
|
52 |
"regular": "http://fonts.gstatic.com/s/abrilfatface/v8/X1g_KwGeBV3ajZIXQ9VnDojjx0o0jr6fNXxPgYh_a8Q.ttf"
|
53 |
}
|
@@ -63,7 +89,7 @@
|
|
63 |
"latin"
|
64 |
],
|
65 |
"version": "v6",
|
66 |
-
"lastModified": "2016-
|
67 |
"files": {
|
68 |
"regular": "http://fonts.gstatic.com/s/aclonica/v6/M6pHZMPwK3DiBSlo3jwAKQ.ttf"
|
69 |
}
|
@@ -79,7 +105,7 @@
|
|
79 |
"latin"
|
80 |
],
|
81 |
"version": "v5",
|
82 |
-
"lastModified": "2016-
|
83 |
"files": {
|
84 |
"regular": "http://fonts.gstatic.com/s/acme/v5/-J6XNtAHPZBEbsifCdBt-g.ttf"
|
85 |
}
|
@@ -95,7 +121,7 @@
|
|
95 |
"latin"
|
96 |
],
|
97 |
"version": "v6",
|
98 |
-
"lastModified": "2016-
|
99 |
"files": {
|
100 |
"regular": "http://fonts.gstatic.com/s/actor/v6/ugMf40CrRK6Jf6Yz_xNSmQ.ttf"
|
101 |
}
|
@@ -111,7 +137,7 @@
|
|
111 |
"latin"
|
112 |
],
|
113 |
"version": "v8",
|
114 |
-
"lastModified": "2016-
|
115 |
"files": {
|
116 |
"regular": "http://fonts.gstatic.com/s/adamina/v8/RUQfOodOMiVVYqFZcSlT9w.ttf"
|
117 |
}
|
@@ -130,12 +156,12 @@
|
|
130 |
"700"
|
131 |
],
|
132 |
"subsets": [
|
133 |
-
"latin",
|
134 |
"greek",
|
135 |
-
"latin
|
136 |
],
|
137 |
"version": "v4",
|
138 |
-
"lastModified": "2016-
|
139 |
"files": {
|
140 |
"100": "http://fonts.gstatic.com/s/adventpro/v4/87-JOpSUecTG50PBYK4ysi3USBnSvpkopQaUR-2r7iU.ttf",
|
141 |
"200": "http://fonts.gstatic.com/s/adventpro/v4/URTSSjIp0Wr-GrjxFdFWnGeudeTO44zf-ht3k-KNzwg.ttf",
|
@@ -154,11 +180,11 @@
|
|
154 |
"regular"
|
155 |
],
|
156 |
"subsets": [
|
157 |
-
"latin",
|
158 |
-
"latin
|
159 |
],
|
160 |
"version": "v5",
|
161 |
-
"lastModified": "2016-
|
162 |
"files": {
|
163 |
"regular": "http://fonts.gstatic.com/s/aguafinascript/v5/65g7cgMtMGnNlNyq_Z6CvMxLhO8OSNnfAp53LK1_iRs.ttf"
|
164 |
}
|
@@ -171,11 +197,11 @@
|
|
171 |
"regular"
|
172 |
],
|
173 |
"subsets": [
|
174 |
-
"latin",
|
175 |
-
"latin
|
176 |
],
|
177 |
"version": "v5",
|
178 |
-
"lastModified": "2016-
|
179 |
"files": {
|
180 |
"regular": "http://fonts.gstatic.com/s/akronim/v5/qA0L2CSArk3tuOWE1AR1DA.ttf"
|
181 |
}
|
@@ -188,11 +214,11 @@
|
|
188 |
"regular"
|
189 |
],
|
190 |
"subsets": [
|
191 |
-
"latin",
|
192 |
-
"latin
|
193 |
],
|
194 |
"version": "v5",
|
195 |
-
"lastModified": "2016-
|
196 |
"files": {
|
197 |
"regular": "http://fonts.gstatic.com/s/aladin/v5/PyuJ5cVHkduO0j5fAMKvAA.ttf"
|
198 |
}
|
@@ -208,7 +234,7 @@
|
|
208 |
"latin"
|
209 |
],
|
210 |
"version": "v6",
|
211 |
-
"lastModified": "2016-
|
212 |
"files": {
|
213 |
"regular": "http://fonts.gstatic.com/s/aldrich/v6/kMMW1S56gFx7RP_mW1g-Eg.ttf"
|
214 |
}
|
@@ -222,11 +248,11 @@
|
|
222 |
"700"
|
223 |
],
|
224 |
"subsets": [
|
225 |
-
"
|
226 |
-
"
|
227 |
],
|
228 |
"version": "v6",
|
229 |
-
"lastModified": "2016-
|
230 |
"files": {
|
231 |
"regular": "http://fonts.gstatic.com/s/alef/v6/ENvZ_P0HBDQxNZYCQO0lUA.ttf",
|
232 |
"700": "http://fonts.gstatic.com/s/alef/v6/VDgZJhEwudtOzOFQpZ8MEA.ttf"
|
@@ -245,11 +271,11 @@
|
|
245 |
"900italic"
|
246 |
],
|
247 |
"subsets": [
|
248 |
-
"latin",
|
249 |
-
"latin
|
250 |
],
|
251 |
"version": "v7",
|
252 |
-
"lastModified": "2016-
|
253 |
"files": {
|
254 |
"regular": "http://fonts.gstatic.com/s/alegreya/v7/62J3atXd6bvMU4qO_ca-eA.ttf",
|
255 |
"italic": "http://fonts.gstatic.com/s/alegreya/v7/cbshnQGxwmlHBjUil7DaIfesZW2xOQ-xsNqO47m55DA.ttf",
|
@@ -272,11 +298,11 @@
|
|
272 |
"900italic"
|
273 |
],
|
274 |
"subsets": [
|
275 |
-
"latin",
|
276 |
-
"latin
|
277 |
],
|
278 |
"version": "v6",
|
279 |
-
"lastModified": "2016-
|
280 |
"files": {
|
281 |
"regular": "http://fonts.gstatic.com/s/alegreyasc/v6/3ozeFnTbygMK6PfHh8B-iqCWcynf_cDxXwCLxiixG1c.ttf",
|
282 |
"italic": "http://fonts.gstatic.com/s/alegreyasc/v6/GOqmv3FLsJ2r6ZALMZVBmkeOrDcLawS7-ssYqLr2Xp4.ttf",
|
@@ -307,12 +333,12 @@
|
|
307 |
"900italic"
|
308 |
],
|
309 |
"subsets": [
|
310 |
-
"latin",
|
311 |
"latin-ext",
|
|
|
312 |
"vietnamese"
|
313 |
],
|
314 |
"version": "v3",
|
315 |
-
"lastModified": "2016-
|
316 |
"files": {
|
317 |
"100": "http://fonts.gstatic.com/s/alegreyasans/v3/TKyx_-JJ6MdpQruNk-t-PJFGFO4uyVFMfB6LZsii7kI.ttf",
|
318 |
"100italic": "http://fonts.gstatic.com/s/alegreyasans/v3/gRkSP2lBpqoMTVxg7DmVn2cDnjsrnI9_xJ-5gnBaHsE.ttf",
|
@@ -351,12 +377,12 @@
|
|
351 |
"900italic"
|
352 |
],
|
353 |
"subsets": [
|
354 |
-
"latin",
|
355 |
"latin-ext",
|
|
|
356 |
"vietnamese"
|
357 |
],
|
358 |
"version": "v3",
|
359 |
-
"lastModified": "2016-
|
360 |
"files": {
|
361 |
"100": "http://fonts.gstatic.com/s/alegreyasanssc/v3/trwFkDJLOJf6hqM93944kVnzStfdnFU-MXbO84aBs_M.ttf",
|
362 |
"100italic": "http://fonts.gstatic.com/s/alegreyasanssc/v3/qG3gA9iy5RpXMH4crZboqqakMVR0XlJhO7VdJ8yYvA4.ttf",
|
@@ -382,11 +408,11 @@
|
|
382 |
"regular"
|
383 |
],
|
384 |
"subsets": [
|
385 |
-
"latin",
|
386 |
-
"latin
|
387 |
],
|
388 |
"version": "v6",
|
389 |
-
"lastModified": "2016-
|
390 |
"files": {
|
391 |
"regular": "http://fonts.gstatic.com/s/alexbrush/v6/ooh3KJFbKJSUoIRWfiu8o_esZW2xOQ-xsNqO47m55DA.ttf"
|
392 |
}
|
@@ -402,7 +428,7 @@
|
|
402 |
"latin"
|
403 |
],
|
404 |
"version": "v5",
|
405 |
-
"lastModified": "2016-
|
406 |
"files": {
|
407 |
"regular": "http://fonts.gstatic.com/s/alfaslabone/v5/Qx6FPcitRwTC_k88tLPc-Yjjx0o0jr6fNXxPgYh_a8Q.ttf"
|
408 |
}
|
@@ -418,7 +444,7 @@
|
|
418 |
"latin"
|
419 |
],
|
420 |
"version": "v7",
|
421 |
-
"lastModified": "2016-
|
422 |
"files": {
|
423 |
"regular": "http://fonts.gstatic.com/s/alice/v7/wZTAfivekBqIg-rk63nFvQ.ttf"
|
424 |
}
|
@@ -434,7 +460,7 @@
|
|
434 |
"latin"
|
435 |
],
|
436 |
"version": "v8",
|
437 |
-
"lastModified": "2016-
|
438 |
"files": {
|
439 |
"regular": "http://fonts.gstatic.com/s/alike/v8/Ho8YpRKNk_202fwDiGNIyw.ttf"
|
440 |
}
|
@@ -450,7 +476,7 @@
|
|
450 |
"latin"
|
451 |
],
|
452 |
"version": "v6",
|
453 |
-
"lastModified": "2016-
|
454 |
"files": {
|
455 |
"regular": "http://fonts.gstatic.com/s/alikeangular/v6/OpeCu4xxI3qO1C7CZcJtPT3XH2uEnVI__ynTBvNyki8.ttf"
|
456 |
}
|
@@ -464,11 +490,11 @@
|
|
464 |
"700"
|
465 |
],
|
466 |
"subsets": [
|
467 |
-
"latin",
|
468 |
-
"latin
|
469 |
],
|
470 |
"version": "v7",
|
471 |
-
"lastModified": "2016-
|
472 |
"files": {
|
473 |
"regular": "http://fonts.gstatic.com/s/allan/v7/T3lemhgZmLQkQI2Qc2bQHA.ttf",
|
474 |
"700": "http://fonts.gstatic.com/s/allan/v7/zSxQiwo7wgnr7KkMXhSiag.ttf"
|
@@ -485,7 +511,7 @@
|
|
485 |
"latin"
|
486 |
],
|
487 |
"version": "v7",
|
488 |
-
"lastModified": "2016-
|
489 |
"files": {
|
490 |
"regular": "http://fonts.gstatic.com/s/allerta/v7/s9FOEuiJFTNbMe06ifzV8g.ttf"
|
491 |
}
|
@@ -501,7 +527,7 @@
|
|
501 |
"latin"
|
502 |
],
|
503 |
"version": "v7",
|
504 |
-
"lastModified": "2016-
|
505 |
"files": {
|
506 |
"regular": "http://fonts.gstatic.com/s/allertastencil/v7/CdSZfRtHbQrBohqmzSdDYFf2eT4jUldwg_9fgfY_tHc.ttf"
|
507 |
}
|
@@ -514,11 +540,11 @@
|
|
514 |
"regular"
|
515 |
],
|
516 |
"subsets": [
|
517 |
-
"latin",
|
518 |
-
"latin
|
519 |
],
|
520 |
"version": "v4",
|
521 |
-
"lastModified": "2016-
|
522 |
"files": {
|
523 |
"regular": "http://fonts.gstatic.com/s/allura/v4/4hcqgZanyuJ2gMYWffIR6A.ttf"
|
524 |
}
|
@@ -534,11 +560,11 @@
|
|
534 |
"700italic"
|
535 |
],
|
536 |
"subsets": [
|
537 |
-
"latin",
|
538 |
-
"latin
|
539 |
],
|
540 |
"version": "v8",
|
541 |
-
"lastModified": "2016-
|
542 |
"files": {
|
543 |
"regular": "http://fonts.gstatic.com/s/almendra/v8/PDpbB-ZF7deXAAEYPkQOeg.ttf",
|
544 |
"italic": "http://fonts.gstatic.com/s/almendra/v8/CNWLyiDucqVKVgr4EMidi_esZW2xOQ-xsNqO47m55DA.ttf",
|
@@ -554,11 +580,11 @@
|
|
554 |
"regular"
|
555 |
],
|
556 |
"subsets": [
|
557 |
-
"latin",
|
558 |
-
"latin
|
559 |
],
|
560 |
"version": "v6",
|
561 |
-
"lastModified": "2016-
|
562 |
"files": {
|
563 |
"regular": "http://fonts.gstatic.com/s/almendradisplay/v6/2Zuu97WJ_ez-87yz5Ai8fF6uyC_qD11hrFQ6EGgTJWI.ttf"
|
564 |
}
|
@@ -574,7 +600,7 @@
|
|
574 |
"latin"
|
575 |
],
|
576 |
"version": "v6",
|
577 |
-
"lastModified": "2016-
|
578 |
"files": {
|
579 |
"regular": "http://fonts.gstatic.com/s/almendrasc/v6/IuiLd8Fm9I6raSalxMoWeaCWcynf_cDxXwCLxiixG1c.ttf"
|
580 |
}
|
@@ -587,11 +613,11 @@
|
|
587 |
"regular"
|
588 |
],
|
589 |
"subsets": [
|
590 |
-
"latin",
|
591 |
-
"latin
|
592 |
],
|
593 |
"version": "v4",
|
594 |
-
"lastModified": "2016-
|
595 |
"files": {
|
596 |
"regular": "http://fonts.gstatic.com/s/amarante/v4/2dQHjIBWSpydit5zkJZnOw.ttf"
|
597 |
}
|
@@ -610,7 +636,7 @@
|
|
610 |
"latin"
|
611 |
],
|
612 |
"version": "v6",
|
613 |
-
"lastModified": "2016-
|
614 |
"files": {
|
615 |
"regular": "http://fonts.gstatic.com/s/amaranth/v6/7VcBog22JBHsHXHdnnycTA.ttf",
|
616 |
"italic": "http://fonts.gstatic.com/s/amaranth/v6/UrJlRY9LcVERJSvggsdBqPesZW2xOQ-xsNqO47m55DA.ttf",
|
@@ -627,16 +653,36 @@
|
|
627 |
"700"
|
628 |
],
|
629 |
"subsets": [
|
630 |
-
"latin",
|
631 |
-
"latin
|
632 |
],
|
633 |
"version": "v8",
|