As the title says... I have just changed the name of the file, "home.php" to "home2.php" and then got this weird error message:
Fatal error: Call to undefined function get_header() in home2.php on line 16
And when I commented that line 16... I also got a simialr error but for the get_footer() function this time.
So, my best guess for this error is that it's messing the includes of those functions... even though there was no include statement(s) when it was home.php.
Is there another file that is including those functions definitions in home.php?? (like a config file or something)
If yes, where is that file so that I can assign to it the job of helping and including those get_header() and get_footer() to my new home2.php.
Do not ask me why did I change the name from home.php to home2.php, please.
I do want to know how the structure of those includes are based in wordpress. I appreciate the powerful tool I have, thank you. But I still need to be the master of it so I can modify any bit I want! :)
Still, any thoughts are welcomed!
Thanks for reading.