Version Description
- Fix: nested columns css.
Download this release
Release Info
Developer | britner |
Plugin | Kadence Blocks – Gutenberg Page Builder Toolkit |
Version | 1.1.4 |
Comparing to | |
See all releases |
Code changes from version 1.1.3 to 1.1.4
- dist/class-kadence-blocks-frontend.php +3 -2
- kadence-blocks.php +2 -2
- readme.txt +5 -2
dist/class-kadence-blocks-frontend.php
CHANGED
@@ -250,6 +250,7 @@ class Kadence_Blocks_Frontend {
|
|
250 |
if ( is_object( $inner_block ) ) {
|
251 |
if ( isset( $inner_block->blockName ) ) {
|
252 |
if ( 'kadence/column' === $inner_block->blockName ) {
|
|
|
253 |
if ( isset( $inner_block->attrs ) && is_object( $inner_block->attrs ) ) {
|
254 |
$blockattr = $inner_block->attrs;
|
255 |
$csskey = $in_indexkey + 1;
|
@@ -291,8 +292,8 @@ class Kadence_Blocks_Frontend {
|
|
291 |
// Create CSS for Row/Layout.
|
292 |
$unique_id = $blockattr['uniqueID'];
|
293 |
$css .= $this->row_layout_array_css( $blockattr, $unique_id );
|
294 |
-
if ( isset( $
|
295 |
-
$css .= $this->column_layout_cycle( $
|
296 |
}
|
297 |
}
|
298 |
}
|
250 |
if ( is_object( $inner_block ) ) {
|
251 |
if ( isset( $inner_block->blockName ) ) {
|
252 |
if ( 'kadence/column' === $inner_block->blockName ) {
|
253 |
+
echo 'test';
|
254 |
if ( isset( $inner_block->attrs ) && is_object( $inner_block->attrs ) ) {
|
255 |
$blockattr = $inner_block->attrs;
|
256 |
$csskey = $in_indexkey + 1;
|
292 |
// Create CSS for Row/Layout.
|
293 |
$unique_id = $blockattr['uniqueID'];
|
294 |
$css .= $this->row_layout_array_css( $blockattr, $unique_id );
|
295 |
+
if ( isset( $inner_block['innerBlocks'] ) && ! empty( $inner_block['innerBlocks'] ) && is_array( $inner_block['innerBlocks'] ) ) {
|
296 |
+
$css .= $this->column_layout_cycle( $inner_block['innerBlocks'], $unique_id );
|
297 |
}
|
298 |
}
|
299 |
}
|
kadence-blocks.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Advanced Page Building Blocks for Gutenberg. Create custom column layouts, backgrounds, dual buttons, icons etc.
|
6 |
* Author: Kadence Themes
|
7 |
* Author URI: https://www.kadencethemes.com
|
8 |
-
* Version: 1.1.
|
9 |
* Text Domain: kadence-blocks
|
10 |
* License: GPL2+
|
11 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
@@ -20,7 +20,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
20 |
|
21 |
define( 'KT_BLOCKS_PATH', realpath( plugin_dir_path( __FILE__ ) ) . DIRECTORY_SEPARATOR );
|
22 |
define( 'KT_BLOCKS_URL', plugin_dir_url( __FILE__ ) );
|
23 |
-
define( 'KT_BLOCKS_VERSION', '1.1.
|
24 |
|
25 |
/**
|
26 |
* Add a check before redirecting
|
5 |
* Description: Advanced Page Building Blocks for Gutenberg. Create custom column layouts, backgrounds, dual buttons, icons etc.
|
6 |
* Author: Kadence Themes
|
7 |
* Author URI: https://www.kadencethemes.com
|
8 |
+
* Version: 1.1.4
|
9 |
* Text Domain: kadence-blocks
|
10 |
* License: GPL2+
|
11 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
20 |
|
21 |
define( 'KT_BLOCKS_PATH', realpath( plugin_dir_path( __FILE__ ) ) . DIRECTORY_SEPARATOR );
|
22 |
define( 'KT_BLOCKS_URL', plugin_dir_url( __FILE__ ) );
|
23 |
+
define( 'KT_BLOCKS_VERSION', '1.1.4' );
|
24 |
|
25 |
/**
|
26 |
* Add a check before redirecting
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: britner
|
|
3 |
Tags: gutenberg, blocks, page builder, google fonts, dual buttons, svg icons, editor width,
|
4 |
Donate link: https://www.kadencethemes.com/about-us/
|
5 |
Requires at least: 4.4
|
6 |
-
Tested up to:
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -78,6 +78,9 @@ Install the plugin into the `/wp-content/plugins/` folder, and activate it.
|
|
78 |
|
79 |
== Changelog ==
|
80 |
|
|
|
|
|
|
|
81 |
= 1.1.3 =
|
82 |
* Fix: Output CSS for non WordPress 5.0.
|
83 |
* Tweak Limited Margin CSS.
|
3 |
Tags: gutenberg, blocks, page builder, google fonts, dual buttons, svg icons, editor width,
|
4 |
Donate link: https://www.kadencethemes.com/about-us/
|
5 |
Requires at least: 4.4
|
6 |
+
Tested up to: 5.0.0
|
7 |
+
Stable tag: 1.1.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
78 |
|
79 |
== Changelog ==
|
80 |
|
81 |
+
= 1.1.4 =
|
82 |
+
* Fix: nested columns css.
|
83 |
+
|
84 |
= 1.1.3 =
|
85 |
* Fix: Output CSS for non WordPress 5.0.
|
86 |
* Tweak Limited Margin CSS.
|