Version Description
- Fixed bugs
Download this release
Release Info
Developer | TemplateMonster 2002 |
Plugin | Cherry Projects |
Version | 1.2.10 |
Comparing to | |
See all releases |
Code changes from version 1.2.9 to 1.2.10
cherry-projects.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Cherry Projects
|
4 |
* Plugin URI: http://www.cherryframework.com/
|
5 |
* Description: A projects plugin for WordPress.
|
6 |
-
* Version: 1.2.
|
7 |
* Author: Cherry Team
|
8 |
* Author URI: http://www.cherryframework.com/
|
9 |
* Text Domain: cherry-projects
|
@@ -13,7 +13,7 @@
|
|
13 |
*
|
14 |
* @package Cherry_Projects
|
15 |
* @author Cherry Team
|
16 |
-
* @version 1.2.
|
17 |
* @license GPL-3.0+
|
18 |
* @copyright 2002-2016, Cherry Team
|
19 |
*/
|
@@ -144,7 +144,7 @@ if ( ! class_exists( 'Cherry_Projects' ) ) {
|
|
144 |
*
|
145 |
* @since 1.0.0
|
146 |
*/
|
147 |
-
define( 'CHERRY_PROJECTS_VERSION', '1.2.
|
148 |
|
149 |
/**
|
150 |
* Set the slug of the plugin.
|
3 |
* Plugin Name: Cherry Projects
|
4 |
* Plugin URI: http://www.cherryframework.com/
|
5 |
* Description: A projects plugin for WordPress.
|
6 |
+
* Version: 1.2.10
|
7 |
* Author: Cherry Team
|
8 |
* Author URI: http://www.cherryframework.com/
|
9 |
* Text Domain: cherry-projects
|
13 |
*
|
14 |
* @package Cherry_Projects
|
15 |
* @author Cherry Team
|
16 |
+
* @version 1.2.10
|
17 |
* @license GPL-3.0+
|
18 |
* @copyright 2002-2016, Cherry Team
|
19 |
*/
|
144 |
*
|
145 |
* @since 1.0.0
|
146 |
*/
|
147 |
+
define( 'CHERRY_PROJECTS_VERSION', '1.2.10' );
|
148 |
|
149 |
/**
|
150 |
* Set the slug of the plugin.
|
public/assets/js/cherry-projects-scripts.js
CHANGED
@@ -10,7 +10,6 @@ var cherryProjectsFrontScripts = null;
|
|
10 |
|
11 |
elementorInit: function () {
|
12 |
// Elementor compatibility hooks init
|
13 |
-
console.log(2);
|
14 |
if ( elementor ) {
|
15 |
elementor.hooks.addAction(
|
16 |
'frontend/element_ready/cherry_projects.default',
|
@@ -275,7 +274,6 @@ var cherryProjectsFrontScripts = null;
|
|
275 |
|
276 |
cherryProjectsFrontScripts.init();
|
277 |
|
278 |
-
console.log(1);
|
279 |
$( window ).on( 'elementor/frontend/init', cherryProjectsFrontScripts.elementorInit );
|
280 |
|
281 |
}( jQuery, window.elementorFrontend ) );
|
10 |
|
11 |
elementorInit: function () {
|
12 |
// Elementor compatibility hooks init
|
|
|
13 |
if ( elementor ) {
|
14 |
elementor.hooks.addAction(
|
15 |
'frontend/element_ready/cherry_projects.default',
|
274 |
|
275 |
cherryProjectsFrontScripts.init();
|
276 |
|
|
|
277 |
$( window ).on( 'elementor/frontend/init', cherryProjectsFrontScripts.elementorInit );
|
278 |
|
279 |
}( jQuery, window.elementorFrontend ) );
|
public/includes/class-projects-term-data.php
CHANGED
@@ -146,6 +146,12 @@ class Cherry_Project_Term_Data extends Cherry_Project_Data {
|
|
146 |
$list_classes[] = 'column-mobile-' . $settings['column-number-mobile'];
|
147 |
}
|
148 |
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
$classes = implode( ' ', $list_classes );
|
150 |
|
151 |
$settings = json_encode( $settings );
|
@@ -154,7 +160,7 @@ class Cherry_Project_Term_Data extends Cherry_Project_Data {
|
|
154 |
$container_class = 'projects-terms-container cherry-animation-container ' . $this->options['listing-layout'] . ' ' . $this->options['loading-animation'];
|
155 |
|
156 |
$html .= sprintf( '<div class="%1$s" data-settings=\'%2$s\'>', $container_class, $settings );
|
157 |
-
$html .= '<div class="' . $classes . '"
|
158 |
$html .= $this->render_projects_term_items( $terms );
|
159 |
$html .= '</div>';
|
160 |
$html .= '</div>';
|
146 |
$list_classes[] = 'column-mobile-' . $settings['column-number-mobile'];
|
147 |
}
|
148 |
|
149 |
+
$data_attr = '';
|
150 |
+
|
151 |
+
if ( 'masonry-layout' === $this->options['listing-layout'] ) {
|
152 |
+
$data_attr = 'data-columns';
|
153 |
+
}
|
154 |
+
|
155 |
$classes = implode( ' ', $list_classes );
|
156 |
|
157 |
$settings = json_encode( $settings );
|
160 |
$container_class = 'projects-terms-container cherry-animation-container ' . $this->options['listing-layout'] . ' ' . $this->options['loading-animation'];
|
161 |
|
162 |
$html .= sprintf( '<div class="%1$s" data-settings=\'%2$s\'>', $container_class, $settings );
|
163 |
+
$html .= '<div class="' . $classes . '" ' . $data_attr . '>';
|
164 |
$html .= $this->render_projects_term_items( $terms );
|
165 |
$html .= '</div>';
|
166 |
$html .= '</div>';
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: TemplateMonster 2002
|
|
4 |
Tags: custom post type, projects, portfolio, cherry framework, elementor, elementor page builder
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 4.8.0
|
7 |
-
Stable tag: 1.2.
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -180,3 +180,7 @@ Standard templates can be rewritten in the theme. For that you need to create ch
|
|
180 |
= 1.2.9 =
|
181 |
|
182 |
* Fixed bugs
|
|
|
|
|
|
|
|
4 |
Tags: custom post type, projects, portfolio, cherry framework, elementor, elementor page builder
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 4.8.0
|
7 |
+
Stable tag: 1.2.10
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
180 |
= 1.2.9 =
|
181 |
|
182 |
* Fixed bugs
|
183 |
+
|
184 |
+
= 1.2.10 =
|
185 |
+
|
186 |
+
* Fixed bugs
|