Creating a Different Header for Single Post Page
-
Hi Everyone,
I would like to create a different header for my single post page, the page that displays an actual post, however, I want the same header for all other pages.
My website is https://www.aimeemars.com
Here is what I’ve tried: I’ve copied my header.php file and renamed it to header-single.php and then uploaded it to my ftp. Then in my single.php file I replaced
<?php get_header(); ?>
with<?php get_header('header-single'); ?>
and it’s not pulling the new header. Is there another way to do this and am I doing this incorrectly?
Thanks for any help!!
Aimee
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Creating a Different Header for Single Post Page’ is closed to new replies.