MyBB Community Forums

Full Version: Need to create a separate HTML page for a footer template
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I'm working on developing a new template system for my hosting website. Currently, the footer links, and credit line at the bottom are placed in each individual template file (i.e. sharedhosting.html, vpshosting.html). This is a bit of an annoyance when I want to edit the footer, since I need to edit each individual template. So what I'm trying to do is have one footer template (i.e. footer.html) and then insert a reference/inheritance to it into each file.

Is this possible?

Thanks.
You can use PHP.

<?php include "footer.html"; ?>