Why get_header() or get_footer() does not run twice if called in the same php file?


I’m curious that why the get_header() or get_footer() function does not show output if called twice in the same .php file??

enter image description here

enter image description here

I tried to call the get_header() twice in my single.php file it runs fine but on the front end it shows output only once, what is the reason?

Rishi Malviya 2 months 0 Answers 15 views 0

Leave an answer