The php functions
get_footer() both call the header.php and footer.php files.
Could I create a page like element.php and have a function call it (like
get_element()), where I would have it on the pages that I use that function, but not others, or is this not possible? I searched the documentation, but I don't think I know the official name for what I'm looking for - in essence a function that calls an element for some pages.