<?php get_header(); ?> Displaying at the bottom
-
I have tried to change one of my pages to have a new header image.
To do this I replaced <?php get_header(); ?> with <?php include (‘header2.php’); ?>
The new header displays correctly at the top, however now a second old header is displaying after the footer. If I put <?php get_header(); ?> right after <?php include (‘header2.php’); ?> at the top of the page, the bottom header is removed, but now I obviously have two headers.
The reason I am using a second header is to change a div and remove a search function in the “old” header code.
Is there another way to go about making this change or editing the <?php get_header(); ?> Any help would be welcome.
- The topic ‘<?php get_header(); ?> Displaying at the bottom’ is closed to new replies.