Page Templater For Elementor - Version 1.0.6

Version Description

  • Added strict check for GeneratePress as the active theme for previous update in order to avoid fatal error on title check
Download this release

Release Info

Developer WPDevHQ
Plugin Icon wp plugin Page Templater For Elementor
Version 1.0.6
Comparing to
See all releases

Code changes from version 1.0.5 to 1.0.6

elementemplator.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Elementor Templater: ElemenTemplator
4
  * Plugin URI: http://www.wpdevhq.com/plugins/elementor-templator
5
  * Description: A helper plugin for users of Elementor Pagebuilder.
6
- * Version: 1.0.5
7
  * Author: WPDevHQ
8
  * Author URI: http://www.wpdevhq.com/
9
  * Requires at least: 4.4
3
  * Plugin Name: Elementor Templater: ElemenTemplator
4
  * Plugin URI: http://www.wpdevhq.com/plugins/elementor-templator
5
  * Description: A helper plugin for users of Elementor Pagebuilder.
6
+ * Version: 1.0.6
7
  * Author: WPDevHQ
8
  * Author URI: http://www.wpdevhq.com/
9
  * Requires at least: 4.4
inc/elementemplater-functions.php CHANGED
@@ -83,6 +83,8 @@ if ( ! function_exists( 'elementor_page_content' ) ) {
83
  }
84
  add_action( 'elementor_page_elements', 'elementor_page_content', 20 );
85
 
 
 
86
  if ( ! function_exists( 'elementor_generate_title' ) ) {
87
 
88
  function elementor_generate_title() {
@@ -96,4 +98,5 @@ if ( ! function_exists( 'elementor_generate_title' ) ) {
96
  <?php endif;
97
  }
98
  }
99
- add_action( 'elementor_page_elements', 'elementor_generate_title', 10 );
 
83
  }
84
  add_action( 'elementor_page_elements', 'elementor_page_content', 20 );
85
 
86
+ $theme = get_option( 'template' );
87
+ if ( 'GeneratePress' == $theme || 'generatepress' == $theme ) {
88
  if ( ! function_exists( 'elementor_generate_title' ) ) {
89
 
90
  function elementor_generate_title() {
98
  <?php endif;
99
  }
100
  }
101
+ add_action( 'elementor_page_elements', 'elementor_generate_title', 10 );
102
+ }
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: WPDevHQ
3
  Tags: elementor, pagebuilder, page builder, page builder template, page builder templates, actions, storefront, twentysixteen, genesis, template builder, builder templates
4
  Requires at least: 4.4
5
  Tested up to: 4.6
6
- Stable tag: 1.0.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -88,6 +88,9 @@ Please visit the settings page located at Dasboard >> Settings >> Post Type Temp
88
 
89
  == Changelog ==
90
 
 
 
 
91
  = 1.0.5 =
92
  * NEW: Added support for GeneratePress page title options - title is now shown by default on the full width template and can be disabled via GeneratePress page options.
93
 
3
  Tags: elementor, pagebuilder, page builder, page builder template, page builder templates, actions, storefront, twentysixteen, genesis, template builder, builder templates
4
  Requires at least: 4.4
5
  Tested up to: 4.6
6
+ Stable tag: 1.0.6
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
88
 
89
  == Changelog ==
90
 
91
+ == 1.0.6 =
92
+ * Added strict check for GeneratePress as the active theme for previous update in order to avoid fatal error on title check
93
+
94
  = 1.0.5 =
95
  * NEW: Added support for GeneratePress page title options - title is now shown by default on the full width template and can be disabled via GeneratePress page options.
96