Home › Forums › Back End › What is best way to set up website template using php and tpl or html › Reply To: What is best way to set up website template using php and tpl or html
August 7, 2013 at 3:24 pm
#146054
chrisburton
Participant
Personally, I’ve never heard of tpl
files before.
What I would do is setup header.php
, footer.php
and whatever else will be displayed on every page.
Then, just include them by doing this:
<?php include 'header.php'; ?>
<!-- Unique content here -->
<?php include 'footer.php'; ?>