You can create custom Header & Footer in WordPress WITHOUT Elementor Pro using multiple complete methods. Below is a full, practical guide with ALL methods, from beginner to advanced, so you can choose what fits your website and skill level
METHOD 1: Use Free Plugin (Best & Easiest)
Plugin: Elementor Header & Footer Builder
(Free, works with Elementor Free)
Steps:
-
Go to Dashboard → Plugins → Add New
-
Install Elementor Header & Footer Builder
-
Go to Appearance → Header Footer Builder
-
Click Add New
-
Choose:
-
Type: Header or Footer
-
Display: Entire Website
-
-
Design using Elementor Free
-
Save & Publish
- No coding
- Fully visual
- Most popular method
METHOD 2: Use Theme Customizer (No Plugin)
Supported Themes:
-
Astra
-
GeneratePress
-
OceanWP
-
Kadence
Steps:
-
Go to Appearance → Customize
-
Open Header Builder / Footer Builder
-
Drag & drop elements
-
Publish
Lightweight
Limited design compared to Elementor
METHOD 3: Use WordPress Block (Gutenberg) Themes (Modern)
Works with:
-
Twenty Twenty-Four
-
Blocksy
-
Kadence Blocks Theme
Steps:
-
Go to Appearance → Editor
-
Click Header or Footer
-
Design using blocks
-
Save
Future-proof
No plugin needed
METHOD 4: Manual Coding (Classic & Professional)
Create Header:
Edit header.php
<header>
<div class="logo"><?php bloginfo('name'); ?></div>
<?php wp_nav_menu(array('theme_location'=>'primary')); ?>
</header>
Create Footer:
Edit footer.php
<footer>
<p>© <?php echo date('Y'); ?> Your Company</p>
</footer>
- Full control
- Needs coding knowledge
METHOD 5: Shortcode-Based Header/Footer
Some themes allow shortcodes in header/footer.
Example:
[site-logo]
[primary-menu]
- Simple
- Theme dependent
METHOD 6: Use Widgets (Old but Works)
Steps:
-
Go to Appearance → Widgets
-
Use Header / Footer widget area
-
Add:
-
Custom HTML
-
Navigation Menu
-
Social icons
-
- Easy
- Not modern design
METHOD 7: Child Theme Custom Header/Footer (Best Practice)
-
Create child theme
-
Override
header.php&footer.php -
Customize safely
- Update-safe
- Professional method
METHOD 8: Use Hooks (Advanced – Best for Performance)
Example (Astra Hook):
add_action('astra_header_after', function() {
echo '<div class="custom-header">Welcome</div>';
});
- Lightweight
- No template editing
