Header Footer Elementor - Version 1.0.12

Version Description

  • Fix: Compatibility with Elementor 2.0 changed canvas template path.
Download this release

Release Info

Developer Nikschavan
Plugin Icon Header Footer Elementor
Version 1.0.12
Comparing to
See all releases

Code changes from version 1.0.11 to 1.0.12

admin/class-hfe-admin.php CHANGED
@@ -256,7 +256,14 @@ class HFE_Admin {
256
  global $post;
257
 
258
  if ( 'elementor-hf' == $post->post_type ) {
259
- return ELEMENTOR_PATH . '/includes/page-templates/canvas.php';
 
 
 
 
 
 
 
260
  }
261
 
262
  return $single_template;
256
  global $post;
257
 
258
  if ( 'elementor-hf' == $post->post_type ) {
259
+
260
+ $elementor_2_0_canvas = ELEMENTOR_PATH . '/modules/page-templates/templates/canvas.php';
261
+
262
+ if ( file_exists( $elementor_2_0_canvas ) ) {
263
+ return $elementor_2_0_canvas;
264
+ } else {
265
+ return ELEMENTOR_PATH . '/includes/page-templates/canvas.php';
266
+ }
267
  }
268
 
269
  return $single_template;
header-footer-elementor.php CHANGED
@@ -1,18 +1,18 @@
1
  <?php
2
  /**
3
- * Plugin Name: Create Header / Footer with Elementor
4
  * Plugin URI: https://github.com/Nikschavan/header-footer-elementor
5
  * Description: Create Header and Footer for your site using Elementor Page Builder.
6
  * Author: Brainstorm Force, Nikhil Chavan
7
  * Author URI: https://www.brainstormforce.com/
8
  * Text Domain: header-footer-elementor
9
  * Domain Path: /languages
10
- * Version: 1.0.11
11
  *
12
  * @package header-footer-elementor
13
  */
14
 
15
- define( 'HFE_VER', '1.0.11' );
16
  define( 'HFE_DIR', plugin_dir_path( __FILE__ ) );
17
  define( 'HFE_URL', plugins_url( '/', __FILE__ ) );
18
  define( 'HFE_PATH', plugin_basename( __FILE__ ) );
1
  <?php
2
  /**
3
+ * Plugin Name: Header Footer Elementor
4
  * Plugin URI: https://github.com/Nikschavan/header-footer-elementor
5
  * Description: Create Header and Footer for your site using Elementor Page Builder.
6
  * Author: Brainstorm Force, Nikhil Chavan
7
  * Author URI: https://www.brainstormforce.com/
8
  * Text Domain: header-footer-elementor
9
  * Domain Path: /languages
10
+ * Version: 1.0.12
11
  *
12
  * @package header-footer-elementor
13
  */
14
 
15
+ define( 'HFE_VER', '1.0.12' );
16
  define( 'HFE_DIR', plugin_dir_path( __FILE__ ) );
17
  define( 'HFE_URL', plugins_url( '/', __FILE__ ) );
18
  define( 'HFE_PATH', plugin_basename( __FILE__ ) );
readme.txt CHANGED
@@ -1,11 +1,11 @@
1
- === Create Header / Footer with Elementor ===
2
  Contributors: brainstormforce, Nikschavan
3
  Tags: elementor, header footer builder, header, footer, page builder, template builder, landing page builder, front-end editor
4
  Donate link: https://www.paypal.me/BrainstormForce
5
  Requires at least: 4.4
6
  Requires PHP: 5.4
7
  Tested up to: 4.9.4
8
- Stable tag: 1.0.11
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -17,25 +17,29 @@ Create header and footer of your site easily using [Elementor](https://goo.gl/qh
17
 
18
  All you need to do is -
19
 
20
- 1. Design a Header or Footer Template.
21
- 2. Select the template type to be used for header or footer.
22
- 3. The template will be used throughout the site as header / footer.
 
 
23
 
24
  = Features of Header Footer Elementor =
25
 
26
  - Create attractive pages and templates that can be displayed as a Header or Footer.
27
  - Lets you use a fully customized header or footer across the website.
28
 
29
- The plugin only works with limited number of themes as of now, here is the list of supported themes -
30
 
31
  1. <a href="https://wpastra.com/?utm_source=wp-repo&utm_campaign=header-footer-elementor&utm_medium=description&bsf=162">Astra</a> - The Fastest, Most Lightweight &amp; Customizable WordPress Theme.
32
- 2. GeneratePress Theme.
33
- 3. Genesis Theme.
34
- 4. OceanWP Theme.
35
- 5. Beaver Builder theme.
36
 
37
- If you are a theme developer <a href="https://github.com/Nikschavan/header-footer-elementor/wiki/Adding-Header-Footer-Elementor-support-for-your-theme">here</a> is a quick tutorial on how you can add support for the Header Footer Elementor from your theme.
38
 
 
 
39
 
40
  = Supported & Actively Developed =
41
  Need help with something? Have an issue to report? [Get in touch](https://github.com/Nikschavan/header-footer-elementor "Header Footer elementor on GitHub"). with us on GitHub.
@@ -82,7 +86,6 @@ If you are a theme developer <a href="https://github.com/Nikschavan/header-foote
82
  If you are using a pre-made theme, The best approach would be to contact yoru theme developer and provide them link to the <a href="https://github.com/Nikschavan/header-footer-elementor/wiki/Adding-Header-Footer-Elementor-support-for-your-theme">Wiki article</a> on how they can add support for the plugin.
83
  If the above is nnot possible, You can also add support for the plugin from your child theme. Just follow <a href="https://github.com/Nikschavan/header-footer-elementor/wiki/Add-support-to-Header-Footer-Elementor-from-the-Child-Theme">this article</a>
84
 
85
-
86
  == Screenshots ==
87
 
88
  1. Go to Appearane -> Header Footer Builder to create a new template.
@@ -90,6 +93,9 @@ If the above is nnot possible, You can also add support for the plugin from your
90
 
91
  == Changelog ==
92
 
 
 
 
93
  = 1.0.11 =
94
  - Load the CSS footer early in the page to avoid slow rendering of CSS.
95
  - Change the schema.org links to be https.
1
+ === Header Footer Elementor ===
2
  Contributors: brainstormforce, Nikschavan
3
  Tags: elementor, header footer builder, header, footer, page builder, template builder, landing page builder, front-end editor
4
  Donate link: https://www.paypal.me/BrainstormForce
5
  Requires at least: 4.4
6
  Requires PHP: 5.4
7
  Tested up to: 4.9.4
8
+ Stable tag: 1.0.12
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
17
 
18
  All you need to do is -
19
 
20
+ 1. Design a layout using Elementor.
21
+ 2. Select whether it should be applied as the header or footer.
22
+ 3. The template will be automatically applied as the header/footer. Easy peasy!
23
+
24
+ [Here is the step by step article](https://uaelementor.com/header-footer-with-elementor/?utm_source=wp-repo&utm_campaign=header-footer-elementor&utm_medium=description "UAElementor") with screenshots.
25
 
26
  = Features of Header Footer Elementor =
27
 
28
  - Create attractive pages and templates that can be displayed as a Header or Footer.
29
  - Lets you use a fully customized header or footer across the website.
30
 
31
+ The plugin works best with these themes
32
 
33
  1. <a href="https://wpastra.com/?utm_source=wp-repo&utm_campaign=header-footer-elementor&utm_medium=description&bsf=162">Astra</a> - The Fastest, Most Lightweight &amp; Customizable WordPress Theme.
34
+ 2. GeneratePress.
35
+ 3. OceanWP.
36
+ 4. Genesis.
37
+ 5. Phlox Theme.
38
 
39
+ If you are a theme developer you can add support for the Header Footer Elementor from your theme easily. <a href="https://github.com/Nikschavan/header-footer-elementor/wiki/Adding-Header-Footer-Elementor-support-for-your-theme">Read instructions here</a>.
40
 
41
+ = Looking for premium Elementor Addons and Widgets? =
42
+ Check <a href="https://uaelementor.com/?utm_source=wp-repo&utm_campaign=header-footer-elementor&utm_medium=description">Ultimate Addons for Elementor</a>. It is a library of unique Elementor addons and widgets to add more functionality and flexibility to your favorite page builder.
43
 
44
  = Supported & Actively Developed =
45
  Need help with something? Have an issue to report? [Get in touch](https://github.com/Nikschavan/header-footer-elementor "Header Footer elementor on GitHub"). with us on GitHub.
86
  If you are using a pre-made theme, The best approach would be to contact yoru theme developer and provide them link to the <a href="https://github.com/Nikschavan/header-footer-elementor/wiki/Adding-Header-Footer-Elementor-support-for-your-theme">Wiki article</a> on how they can add support for the plugin.
87
  If the above is nnot possible, You can also add support for the plugin from your child theme. Just follow <a href="https://github.com/Nikschavan/header-footer-elementor/wiki/Add-support-to-Header-Footer-Elementor-from-the-Child-Theme">this article</a>
88
 
 
89
  == Screenshots ==
90
 
91
  1. Go to Appearane -> Header Footer Builder to create a new template.
93
 
94
  == Changelog ==
95
 
96
+ = 1.0.12 =
97
+ - Fix: Compatibility with Elementor 2.0 changed canvas template path.
98
+
99
  = 1.0.11 =
100
  - Load the CSS footer early in the page to avoid slow rendering of CSS.
101
  - Change the schema.org links to be https.