• How to Create Multiple Headers & Footers in WordPress

    By default, the WordPress header and footer are typically the same on every page of the site. But what happens when you want to create a landing page with a simplified version of both the header and footer? Or when you want to construct a brand new header but don’t want the public to see it until you are done? By using multiple headers and footers we can quickly and easily solve these problems. This post will walk you through the steps for creating multiple headers and footers on your very own WordPress site! Step One: Duplicate your header.php file and name it header-new.php. You can replace the word new with something that makes sense for your website. Step Two: Open up the Page.php file associated with the template that you want to use. Then replace the normal header code with the code below. Update the page…

    ...
    PHP,  Wordpress