How to put header, content and footer in single.php file?
-
This may sound simple, but I cannot find anyone telling how to do it anywhere.
I would like to have a single.php (which I have already coded, as well as I have the header.php, footer.php, content, etc) with the code for the header and footer ON THE ACTUAL single.php page (ie not get_header(); not get the <?php the_content(); ?> )
However, how can I insert the code from header.php in the single.php? It begins with an html doc type and tag and then the head and things. I’ve tried several different ways to add this, but I think I need some actual explanation on what gets put in the single.php and where.
Thanks,
James
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to put header, content and footer in single.php file?’ is closed to new replies.