Skip to content

Commit

Permalink
0.1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
Stiofan committed Jun 13, 2024
1 parent 7b88ce7 commit 83ee77b
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
6 changes: 6 additions & 0 deletions blocks/class-blockstrap-widget-modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,12 @@ public function output($args=[], $widget_args=[], $content='')
global $bs_modal_content,$bs_modal_header_count;
if ($bs_modal_header_count) {
foreach ($bs_modal_content as $content) {
$content = do_shortcode( $content );

if (function_exists('do_blocks')) {
$content = do_blocks( $content );
}

echo $content;
}
$bs_modal_header_count = 0; // reset the
Expand Down
8 changes: 7 additions & 1 deletion blocks/class-blockstrap-widget-offcanvas.php
Original file line number Diff line number Diff line change
Expand Up @@ -503,11 +503,17 @@ public function output($args=[], $widget_args=[], $content='')
global $bs_offcanvas_content,$bs_offcanvas_header_count;
if ($bs_offcanvas_header_count) {
foreach ($bs_offcanvas_content as $content) {
$content = do_shortcode( $content );

if (function_exists('do_blocks')) {
$content = do_blocks( $content );
}

echo $content;
}
$bs_offcanvas_header_count = 0; // reset the
}
});
}, 1);

$bs_offcanvas_header_count++;

Expand Down
4 changes: 2 additions & 2 deletions blockstrap-page-builder-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Plugin Name: BlockStrap Page Builder Blocks
* Plugin URI: https://ayecode.io/
* Description: BlockStrap - A FSE page builder for WordPress
* Version: 0.1.18
* Version: 0.1.19
* Author: AyeCode
* Author URI: https://ayecode.io
* Text Domain: blockstrap-page-builder-blocks
Expand All @@ -21,7 +21,7 @@
*/


define('BLOCKSTRAP_BLOCKS_VERSION', '0.1.18');
define('BLOCKSTRAP_BLOCKS_VERSION', '0.1.19');

/**
* The BlockStrap Class
Expand Down
5 changes: 3 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://ayecode.io
Tags: page builder, bootstrap, blocks, builder, design
Requires at least: 6.0
Tested up to: 6.5
Stable tag: 0.1.18
Stable tag: 0.1.19
Requires PHP: 7.2
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Expand Down Expand Up @@ -176,10 +176,11 @@ Automatic updates should work seamlessly. We always suggest you backup your webs

== Changelog ==

= 0.1.18 =
= 0.1.19 =
* BS > Offcanvas block added for creating Offcanvas items - ADDED
* Accordion block not setting parent ID which could break some advanced features - FIXED
* Gallery block not setting uploaded images alt tag - FIXED
* Modal and Offcanvas in footer not rendering shortcodes - FIXED

= 0.1.17 =
* BS > Modal block added for creating popups - ADDED
Expand Down

0 comments on commit 83ee77b

Please sign in to comment.