Version Description
- FIXED: Bug with non Elementor authored content not showing in the PopBox - Fixes: https://wordpress.org/support/topic/not-working-video/
Download this release
Release Info
Developer | norewp |
Plugin | PopBox For Elementor |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
- modal-for-elementor.php +1 -1
- readme.txt +4 -1
- widgets/popup.php +7 -2
modal-for-elementor.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: PopBox For Elementor
|
4 |
* Description: Create content-rich popboxes for your site using the power of Elementor Page Builder
|
5 |
-
* Version: 1.0.
|
6 |
* Author: Zulfikar Nore
|
7 |
* Author URI: https://designsbynore.com/
|
8 |
* Plugin URI: https://designsbynore.com/popups/popbox/
|
2 |
/**
|
3 |
* Plugin Name: PopBox For Elementor
|
4 |
* Description: Create content-rich popboxes for your site using the power of Elementor Page Builder
|
5 |
+
* Version: 1.0.1
|
6 |
* Author: Zulfikar Nore
|
7 |
* Author URI: https://designsbynore.com/
|
8 |
* Plugin URI: https://designsbynore.com/popups/popbox/
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.me/NoreMarketing/5
|
|
4 |
Tags: PopBox, Modal, Popup, Elementor
|
5 |
Requires at least: 4.4
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -32,6 +32,9 @@ Brief video on setup (Sorry for the lack of sound): https://youtu.be/M3B9aLLTXKY
|
|
32 |
Go to settings > permalinks and click save. (you need to do that in order to register the popup post types.)
|
33 |
|
34 |
== Changelog ==
|
|
|
|
|
|
|
35 |
= 1.0.0 =
|
36 |
* FIXED: Issue when video contained in a popup did not stop playing after the closing - See topic: https://wordpress.org/support/topic/videos-in-popups/
|
37 |
* Code tidyup
|
4 |
Tags: PopBox, Modal, Popup, Elementor
|
5 |
Requires at least: 4.4
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 1.0.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
32 |
Go to settings > permalinks and click save. (you need to do that in order to register the popup post types.)
|
33 |
|
34 |
== Changelog ==
|
35 |
+
= 1.0.1 =
|
36 |
+
* FIXED: Bug with non Elementor authored content not showing in the PopBox - Fixes: https://wordpress.org/support/topic/not-working-video/
|
37 |
+
|
38 |
= 1.0.0 =
|
39 |
* FIXED: Issue when video contained in a popup did not stop playing after the closing - See topic: https://wordpress.org/support/topic/videos-in-popups/
|
40 |
* Code tidyup
|
widgets/popup.php
CHANGED
@@ -620,8 +620,13 @@ class ElementorModal extends Widget_Base {
|
|
620 |
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
621 |
<div class="modal-body">
|
622 |
<?php
|
623 |
-
$
|
624 |
-
|
|
|
|
|
|
|
|
|
|
|
625 |
?>
|
626 |
</div>
|
627 |
</div>
|
620 |
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
621 |
<div class="modal-body">
|
622 |
<?php
|
623 |
+
$elementor = get_post_meta( $selectedPopup->post->ID, '_elementor_edit_mode', true );
|
624 |
+
if ( $elementor ) {
|
625 |
+
$frontend = new Frontend;
|
626 |
+
echo $frontend->get_builder_content( $selectedPopup->post->ID, true );
|
627 |
+
} else {
|
628 |
+
the_content();
|
629 |
+
}
|
630 |
?>
|
631 |
</div>
|
632 |
</div>
|