﻿{"id":101,"date":"2026-02-25T17:07:14","date_gmt":"2026-02-25T16:07:14","guid":{"rendered":"https:\/\/baqueiro.es\/store\/?post_type=baqueiro_plugin&#038;p=101"},"modified":"2026-07-17T13:54:43","modified_gmt":"2026-07-17T11:54:43","slug":"b-easy-head-footer-elementor","status":"publish","type":"baqueiro_plugin","link":"https:\/\/baqueiro.es\/store\/plugins\/b-easy-head-footer-elementor\/","title":{"rendered":"[B] Easy Head &#038; Footer for Elementor"},"content":{"rendered":"<h2>The Problem<\/h2>\n<p>Elementor Pro&#8217;s Theme Builder is the standard way to create custom headers and footers, but many users and agencies only have the free version. Manually injecting header\/footer code is fragile, theme-dependent, and hard to maintain.<\/p>\n<h2>The Solution<\/h2>\n<p>Easy Head &amp; Footer for Elementor gives you a dedicated <strong>&#8220;Templates H\/F&#8221;<\/strong> custom post type that you design visually with Elementor (Free). Pick one template for the header and one for the footer in the plugin settings \u2014 they are rendered site-wide via <code>wp_body_open<\/code> and <code>wp_footer<\/code> hooks, with full Elementor Kit styling.<\/p>\n<h2>Key Capabilities<\/h2>\n<ul>\n<li><strong>Dedicated CPT<\/strong> \u2014 <code>bdw_ehfe_template<\/code> registered with full Elementor support; edit with the visual builder.<\/li>\n<li><strong>Display Conditions<\/strong> \u2014 restrict header\/footer to specific post types (include\/exclude) or URL patterns (substring or regex), without Elementor Pro.<\/li>\n<li><strong>Hide Theme Header\/Footer<\/strong> \u2014 inject CSS rules to hide the theme&#8217;s native header and footer, with customisable selectors.<\/li>\n<li><strong>Elementor Kit Integration<\/strong> \u2014 automatically adds <code>elementor-default<\/code> and <code>elementor-kit-{ID}<\/code> body classes so global colors, fonts, and styles apply.<\/li>\n<li><strong>Proper Asset Enqueuing<\/strong> \u2014 generates and enqueues each template&#8217;s CSS file via Elementor&#8217;s Post CSS API, so styles load in the head, not inline.<\/li>\n<li><strong>SEO Protection<\/strong> \u2014 template CPT pages are marked <code>noindex, nofollow<\/code> via meta tag and X-Robots-Tag header.<\/li>\n<li><strong>Editor Safety<\/strong> \u2014 header\/footer injection is automatically suppressed inside the Elementor preview iframe and editor backend.<\/li>\n<li><strong>Environment Checks<\/strong> \u2014 verifies PHP 8.1+, WP 5.8+, and Elementor active on every admin load; displays admin notices when requirements are not met.<\/li>\n<li><strong>Lightweight<\/strong> \u2014 zero external dependencies beyond Elementor Free; no JavaScript frameworks, no database tables.<\/li>\n<li><strong>Privacy-friendly<\/strong> \u2014 stores only one <code>wp_options<\/code> row (<code>bdw_ehfe_settings<\/code>); collects no user data, sets no cookies, makes no external requests.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Create and apply custom headers and footers site-wide using Elementor Free. Includes a dedicated template CPT, display conditions by Post Type or URL, and options to hide the theme&#8217;s default header\/footer via CSS \u2014 no Elementor Pro required.<\/p>\n","protected":false},"featured_media":109,"template":"","plugin_category":[37,38],"use_case":[42,39,41,40],"license_type":[44,43],"compatibility":[45],"class_list":["post-101","baqueiro_plugin","type-baqueiro_plugin","status-publish","has-post-thumbnail","hentry","plugin_category-design","plugin_category-elementor","use_case-agency","use_case-blog","use_case-corporate","use_case-landing-page","license_type-free","license_type-gpl","compatibility-elementor"],"_links":{"self":[{"href":"https:\/\/baqueiro.es\/store\/wp-json\/wp\/v2\/baqueiro_plugin\/101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/baqueiro.es\/store\/wp-json\/wp\/v2\/baqueiro_plugin"}],"about":[{"href":"https:\/\/baqueiro.es\/store\/wp-json\/wp\/v2\/types\/baqueiro_plugin"}],"version-history":[{"count":2,"href":"https:\/\/baqueiro.es\/store\/wp-json\/wp\/v2\/baqueiro_plugin\/101\/revisions"}],"predecessor-version":[{"id":107,"href":"https:\/\/baqueiro.es\/store\/wp-json\/wp\/v2\/baqueiro_plugin\/101\/revisions\/107"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/baqueiro.es\/store\/wp-json\/wp\/v2\/media\/109"}],"wp:attachment":[{"href":"https:\/\/baqueiro.es\/store\/wp-json\/wp\/v2\/media?parent=101"}],"wp:term":[{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/baqueiro.es\/store\/wp-json\/wp\/v2\/plugin_category?post=101"},{"taxonomy":"use_case","embeddable":true,"href":"https:\/\/baqueiro.es\/store\/wp-json\/wp\/v2\/use_case?post=101"},{"taxonomy":"license_type","embeddable":true,"href":"https:\/\/baqueiro.es\/store\/wp-json\/wp\/v2\/license_type?post=101"},{"taxonomy":"compatibility","embeddable":true,"href":"https:\/\/baqueiro.es\/store\/wp-json\/wp\/v2\/compatibility?post=101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}