I am needing to show a different header for a specific page.
I created a custom page template that calls/shows the normal header that the entire website uses. I am using this page template for about 50 pages.
Now, I need only one of those pages to show a different header. This header will be very similar to the normal one, but I will use a different contact number (using this specific page for online ads).
To Create the New Header
I am thinking I could duplicate the code on the original header, change the mentioned contact number, name the header something like header-second.php.
Here is the only bit of code that will be changing for the new/second header. Only the phone number will change...
<div class="row-two">
<div style ="float: right; margin-right: 16px; margin-top: 10px;"><p
class="headersample1"><a href="/request-a-quote/">REQUEST QUOTE</a></p></div>
<div style ="float: right; margin-top: 10px;"><p class="headersample2">OR
</p></div>
<div style ="float: right; margin-top: 10px;"><p class="headersample3"><a
href="tel:555-555-5555">555-555-5555</a></p></div>
</div>
Assign New Header to Specific Page
Any ideas how I can assign a different header to show on a specific post ID? This page uses the same custom page template that about 50 other pages use, so I can't call this new header in the custom page template...I don't think.