AnyWhere Elementor - Version 1.2

Version Description

= * Added WPML Compatibility.

=

Download this release

Release Info

Developer wpvibes
Plugin Icon 128x128 AnyWhere Elementor
Version 1.2
Comparing to
See all releases

Code changes from version 1.1 to 1.2

Files changed (3) hide show
  1. anywhere-elementor.php +2 -2
  2. includes/bootstrap.php +3 -0
  3. readme.txt +4 -1
anywhere-elementor.php CHANGED
@@ -4,7 +4,7 @@
4
  * Description: Allows you to insert elementor pages and library templates anywhere using shortcodes.
5
  * Plugin URI: http://www.elementoraddons.com/
6
  * Author: WPVibes
7
- * Version: 1.1
8
  * Author URI: http://wpvibes.com/
9
  * Text Domain: wts_ae
10
  *
@@ -12,7 +12,7 @@
12
 
13
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
14
 
15
- define( 'AE_VERSION', '0.5' );
16
 
17
  define( 'WTS_AE__FILE__', __FILE__ );
18
  define( 'WTS_AE_PLUGIN_BASE', plugin_basename( WTS_AE__FILE__ ) );
4
  * Description: Allows you to insert elementor pages and library templates anywhere using shortcodes.
5
  * Plugin URI: http://www.elementoraddons.com/
6
  * Author: WPVibes
7
+ * Version: 1.2
8
  * Author URI: http://wpvibes.com/
9
  * Text Domain: wts_ae
10
  *
12
 
13
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
14
 
15
+ define( 'AE_VERSION', '1.2' );
16
 
17
  define( 'WTS_AE__FILE__', __FILE__ );
18
  define( 'WTS_AE_PLUGIN_BASE', plugin_basename( WTS_AE__FILE__ ) );
includes/bootstrap.php CHANGED
@@ -10,6 +10,9 @@ function wts_insert_elementor($atts){
10
  }
11
 
12
  $post_id = $atts['id'];
 
 
 
13
  $response = Plugin::instance()->frontend->get_builder_content_for_display($post_id);
14
  return $response;
15
  }
10
  }
11
 
12
  $post_id = $atts['id'];
13
+
14
+ $post_id = apply_filters( 'wpml_object_id', $post_id, 'ae_global_templates' );
15
+
16
  $response = Plugin::instance()->frontend->get_builder_content_for_display($post_id);
17
  return $response;
18
  }
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: wpvibes, webtechstreet, tejwanihemant
3
  Tags: page-builder, elementor
4
  Requires at least: 4.4
5
- Tested up to: 5.2.2
6
  Stable tag: 4.9
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -47,6 +47,9 @@ Note: This plugin is an addon of Elementor Page Builder (https://wordpress.org/p
47
 
48
  == Changelog ==
49
 
 
 
 
50
  == 1.1 ==
51
  * Option to view and copy shortcode from All Template view (without opening template to edit.).
52
 
2
  Contributors: wpvibes, webtechstreet, tejwanihemant
3
  Tags: page-builder, elementor
4
  Requires at least: 4.4
5
+ Tested up to: 5.3
6
  Stable tag: 4.9
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
47
 
48
  == Changelog ==
49
 
50
+ == 1.2 ==
51
+ * Added WPML Compatibility.
52
+
53
  == 1.1 ==
54
  * Option to view and copy shortcode from All Template view (without opening template to edit.).
55