I am trying to add a nav bar with hotlinks set up after my header that shows on above the main content section of a specific page. However all that shows when I load the page is the header and no content OR the navbar.
I added this code to my header.php file
(‘
<?php
if ( is_next_steps() ) :
get_header( ‘steps’ );
endif
?>
‘)
??
Hey,
Where did you get the code? On what part of header.php did you add the code?
Did you create a header called header-steps.php?
Regards,
Ismael
I created a header called header-steps.php
I added the php code that I mentioned before into the header.php file at the end of the container, like so:
<!– end container–>
</div>
<?php
if ( is_next_steps() ) :
get_header( ‘steps’ );
endif
?>
<!– end container_wrap–>
</div>