=== Elementor - Header, Footer & Blocks ===
Contributors: brainstormforce, Nikschavan
Tags: elementor, header footer builder, header, footer, page builder, template builder, landing page builder, front-end editor
Donate link: https://www.paypal.me/BrainstormForce
Requires at least: 4.4
Requires PHP: 5.4
Tested up to: 5.3
Stable tag: 1.2.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Create Header and Footer for your site using Elementor Page Builder.

== Description ==

Have you ever imagined you could create your website header and footer with <a href="https://elementor.com/?ref=1352">Elementor</a>?

The Elementor – Header, Footer & Blocks plugin allows you to create a layout with Elementor and set it as a header/footer or use as a custom block easily on your website.

All you need to do is –

1. Design a layout using Elementor.
2. Select whether it should be applied as the header or footer. 
3. Select target locations where the template should appear.
4. The template will be automatically applied as the header/footer on selected locations. 
5. To display a template as a block, just copy the shortcode and display it anywhere on the website. 

Easy peasy!

You can refer to our step-by-step article that will help you <a href="https://uaelementor.com/header-footer-with-elementor/?utm_source=wp-repo&utm_campaign=header-footer-elementor&utm_medium=description">set Elementor headers and footers</a> quickly.

= Features of Elementor – Header, Footer & Blocks =

- Create attractive pages and templates to be used as a header or footer.
- Usefully customized header and footer across the website.
- Design useful custom blocks and add them anywhere with a shortcode. 


= Themes you can use Elementor – Header, Footer & Blocks with =

The Elementor – Header, Footer & Blocks isn’t universally compatible with all WordPress themes. Here is a list of themes you can use it with

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.
2. <a href="https://shareasale.com/r.cfm?b=642802&u=1115254&m=55096&urllink=themeisle%2Ecom%2Fthemes%2Fneve%2F&afftrack=">Neve.</a>
3. <a href="https://shareasale.com/r.cfm?b=642802&u=1115254&m=55096&urllink=themeisle%2Ecom%2Fthemes%2Fhestia%2F&afftrack=">Hestia.</a>
4. GeneratePress.
5. OceanWP.
6. Genesis.
7. Phlox Theme.
8. Attesa Theme.

Do not see your theme listed here? Don’t Worry! 

A plugin itself offers inbuild options to add theme support. 

Also, theme authors can add <a href="https://github.com/Nikschavan/header-footer-elementor/wiki/Adding-Header-Footer-Elementor-support-for-your-theme">support for Elementor – Header, Footer & Blocks through their theme</a> easily.

= LOOKING FOR PREMIUM ELEMENTOR ADDONS AND WIDGETS? =
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 creative and unique Elementor widgets that add more functionality and flexibility to your favorite page builder.

= HAVE YOU TRIED ASTRA WITH ELEMENTOR? =

Powering over 500,000+ WordPress websites, Astra is loved for the performance and ease-of-use it offers.

= WHY PEOPLE LOVE ASTRA? =

**Better Performance** - Optimized code and modular architecture make Astra the most lightweight theme for a faster loading website!

**Page Builder’s Best Friend** - Astra works great with all page builders. Its support for custom layouts, Elementor templates, and ready-made starter sites makes it the best <a href="https://wpastra.com/theme-for-elementor/?utm_source=wp-repo&utm_medium=astra_desc&utm_campaign=header_footer_elementor">theme for Elementor</a>.

**Easy Customization** - Astra takes away the pain and time spent in coding. With all the settings available in the customizer itself, Astra lets you manage all the theme options with just a few clicks.

**Deeper Integrations** - Astra works seamlessly with all WooCommerce plugins, LifterLMS, LearnDash, etc. Therefore, you can now build online stores or websites offering online courses with Astra and Elementor!

**Ready-to-use complete website demos** - Astra offers free ready-made website demos built with Elementor. You can choose any of the <a href="https://wpastra.com/elementor-templates-free-downloads/">Elementor Templates</a>, tweak them as you want and go live in minutes!

= SUPPORTED & ACTIVELY DEVELOPED =
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.

Made with love at <a href="https://www.brainstormforce.com/?utm_source=wp-repo&utm_campaign=header-footer-elementor&utm_medium=description">Brainstorm Force</a>!

== Installation ==

1. Go to `Plugins -> Add New` and search for Header Footer Elementor.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to `Appearance -> Header Footer Builder` to build a header or footer layout using elementor.
4. After the layout is ready assign it as header or footer using the option `Select the type of template this is` (<a href="https://cloudup.com/clK2sPg9nXK+">screenshot</a>)

== Frequently Asked Questions ==

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 Elementor – Header, Footer & Blocks from your theme.

= How Does This Plugin Work? =

1. Go to Appearance -> Header Footer Builder to build a header or footer layout using Elementor.
2. Click on “Add New” and design a template with Elementor. 
3. Once the template is ready, set is as a header/footer/block using options “Type of Template” (<a href="https://share.getcloudapp.com/geurz2JR">screenshot</a>).
4. a) For Header/Footer - Select the target location with the option “Display On”. With this Header/Footer will be visible only on selected locations for selected “User Roles”.
   b) For Custom Block - Just copy the shortcode and add it anywhere on the website. Your designed template will display automatically. Display conditions or user roles will not be effective with shortcodes. 

= Can You Create a Mobile Responsive Header/Footer Using This Plugin? =

Yes, You can create the mobile responsive layout of your header using the plugin.  

The Elementor – Header, Footer & Blocks plugin just gives you a container where you can completely design the header using Elementor Page Builder, So the process of creating the mobile responsive layout is exactly the same as you would create a responsive layout of your other Elementor page.

Here is a documentation by Elementor Page builder which explains how you can create mobile responsive layouts using Elementor - <a href="https://elementor.com/introducing-mobile-editing/">https://elementor.com/introducing-mobile-editing/</a>
This same applies when you are creating your Header/Footer using this plugin.

= I Am NOT a Developer. How Can I Add Support for the Plugin from My Theme? =

The plugin offers two inbuild methods to add theme support. (<a href="https://share.getcloudapp.com/4gux9ykY">Screenshot</a>)

1. If your theme is unsupported by the plugin, you can see a tab “Theme Support” under Appearance -> Header Footer Builder. 
2. Select a suitable method.
3. In case inbuild methods won’t work, you can get in touch with your theme author and share the link <a href="https://github.com/Nikschavan/header-footer-elementor/wiki/Adding-Header-Footer-Elementor-support-for-your-theme">here</a>. With this link, your theme author will be able to add theme support very easily. 

= I Am a Developer. How Can I Add Support for the Plugin from the Theme? =

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 Elementor – Header, Footer & Blocks from your theme.

You can 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>.

== Screenshots ==

1. Go to Appearance -> Header Footer Builder to create a new template.
2. Assign template to be a header/footer and select display rules. 
3. Copy shortcode for Custom Blocks. 
4. Methods to add Theme Support.

== Changelog ==

= 1.2.1 =
- Categorize the Elementor widgets in a separate category in the Elementor window.
- Hide target rules options when a custom block template is selected.

= 1.2.0 =
- New: Support all the themes, Includes two separate fallback methods so that you can create custom headers and footers for any theme.
- New: Added target rule engine, which allows you to have different headers/footers for different pages.
- New: Added Retina Image Elementor widget, which can be used as a Site Logo.
- New: Added Copyright widget and Shortcode for current year & site title.
- Improvement: Allow before footer to work on Elementor Canvas Template when not using Astra Theme.
- Improvement: Added support of `Before Footer` action for all the themes.

= 1.1.4 =
- Fix: Flush permalinks on plugin update to Elementor error when trying to edit the Header/Footer.

= 1.1.3 =
- Improvement: Allow changing the permalinks for the hfe templates (<a href="https://github.com/Nikschavan/header-footer-elementor/pull/162/">#162</a>) 
- Fix: WPML Translations do not work when using the Elementor Template as a shortcode. (<a href="https://github.com/Nikschavan/header-footer-elementor/pull/159/">#159</a>)
- Fix: Page content appears over the header. (<a href="https://github.com/Nikschavan/header-footer-elementor/pull/150/">#150</a>)
- Fix: Remove the deprecated function warning for shortcode functions. (Props <a href="https://github.com/hogash">@hogash</a> <a href="https://github.com/Nikschavan/header-footer-elementor/pull/145/">#145</a>)

= 1.1.2 =
- Fix: Depracated function warning from Elementor's method `\Elementor\Post_CSS_File`

= 1.1.1 =
- Fix: Blank header being displayed when only footer is translated using WPML.

= 1.1.0 =
- New: Rename plugin to be Header Footer & Blocks builder as now thee blocks templates can be used as shortcodes.
- New: Add templates before the footer for Astra Theme. Options for other themes will be coming soon.
- New: Use templates (Blocks) anywhere in your content with the help of shortcodes.
- Improvement: Improved the UI of the metabox for Header Footer post type.

= 1.0.16 =
- Fix: Make the theme not supported notice dismissable.
- Fix: Use specific selector when adding z-index for the header.

= 1.0.15 =
- Fix: Default Header being displayed for Generatepress and Gensis theme after v1.0.14.

= 1.0.14 =
- Fix: Fixes possible PHP notices/Errors due to WP_Query being called early for all the supported themes.

= 1.0.13 =
- Fix: PHP Notices and errors due to WP_Query being called early when some plugins use filters inside WP_Query.

= 1.0.12 = 
- Fix: Compatibility with Elementor 2.0 changed canvas template path.

= 1.0.11 = 
- Load the CSS footer early in the page to avoid slow rendering of CSS.
- Change the schema.org links to be https.
- Fix: Added correct schema markup for the footer.

= 1.0.10 = 
- Load the header layout correctly in the <body> in Elementor canvas template.
- Load the Elementor Pro CSS/JS files in <head>.
- Provide more filters for the helper functions.

= 1.0.9 = 
- Add Support for WPML.
- Updated the missing strings from the translations template.

= 1.0.8 = 
- Allow filters to override the WP_Query parameters when retreiving the Header / Footer template id.

= 1.0.7 =
- Fix: Dismissable notice not actually dismissing.

= 1.0.6 =
- New: Option to display the header/footer on the pages using Elementor Canvas Template.

= 1.0.5 =
- Fix: Correctly check if Elementor actually is active before using its methods. This fixes errors for sites using older versions of PHP where Elementor does not actually get activated.

= 1.0.4 =
- Improvement: Use Elementor's created instance when rendering the markup for header/footer - Credits <a href="https://github.com/itay9001">itay9001</a>

= 1.0.3 =
- Fix: Adding theme support for the plugin does not remove the "no supported" notice.

= 1.0.2 =
- New: Added support for the OceanWP Theme.
- Fix: Load the elementor header assets correctly in the header. This fixes header looking different just when loading the page as previously Elementor would load its CSS in the footer.
- Introduced helper functions for rendering and checking the headers to make it simpler to integrate HFE with more themes.

= 1.0.1 =
- New: Added support for the <a href="https://wpastra.com/?utm_source=wp-repo&utm_campaign=bb-header-footer&utm_medium=description-changelog">Astra</a> WordPress theme - The Fastest, Most Lightweight &amp; Customizable WordPress Theme.
* Moved the menu under Appearance -> Header Footer Builder.
* Fix: Header content getting hidden behind tha page content.
* Use Elemenntor's canvas template when designing header and footer layout to have full width experience.

= 1.0.0 =
* Initial Release.
