WordPress For Non-Techies

How to Add Header and Footer Code in WordPress (the Easy Way)

Rate this post

Are you looking to add header or footer code to your WordPress website? One method would be to go into your theme’s files to edit the PHP yourself which can be daunting for new users. In this video, we will show you how to insert header and footer code in WordPress the easy way.


►Written Tutorial – How to Add Header and Footer Code in WordPress (the Easy Way)

►MonsterInsights Promo Code WPBVIP

–Top Resources–

Use Promo Code WPBVIP

►Best WordPress Contact Form Plugin
►Best WordPress Analytics Plugin
►Best Lead Generation Plugin
►Best WordPress SEO Plugin
►Best Landing Page Builder for WordPress
►Best WordPress Giveaway Plugin

–Related Videos–
►WordPress Tutorial – How to Make a WordPress Website for Beginners
►WordPress Gutenberg Tutorial: How to Easily Work With the Block Editor
►What is SEO and How Does it Work?
►How to Install a WordPress Theme

For this video we will be using the Insert Headers and Footers plugin that WPBeginner maintains found here:

With the plugin installed and active, you can go under your Settings, Insert Headers and footers section in your admin area to see the two text areas where you can insert code. The top section is for code that should be in the head of your site while the bottom is for placing code above the end /body tag.

The plugin allows you to make this change and if you update your theme the code modification will stay rather than being overwritten.

Without the plugin, you would manually need to go under Appearance, Theme Editor and choose the files that you want to add the code to. When adding code using this method you will lose any modifications if you update your theme.
If you liked this video, then please Like and consider subscribing to our channel here for more WordPress videos.

Check us out on Facebook

Follow us on Twitter

Check out our website for more WordPress Tutorials

#WordPress #WordPressTutorial #WPBeginner



Mazi has nine years of web development experience with the past five years spent honing his skills with WordPress plugins and themes. He's an expert in WooCommerce and is the author of the Simple Sales Tax plugin, a popular sales tax compliance solution for WooCommerce. Brett understands the importance of excellent communication, prides himself on producing high-quality code, and is comfortable working solo or as part of a team.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button