The following things need to be changed or known in order for this template to be usable in a particular situation:
- In
/global/global-include.php
, $master_css_path needs to be edited according to the actual path of the website - Any styles used site-wide should be defined in
/global/master-style.css
. - Each new page should be a copy of
/template
, where <title> should be changed to fit the page, andpage.css
defines page-specific styles. - See instructions in
.htaccess
for configuring the homepage URL. /global/header.php
&/global/footer.php
are for site-wide headers and footers. Site content should go in.body-wrapper
.- In
/template/index.php
as well as in any new pages that are created by duplicating/template
, the relative path to/global/global-include.php
needs to be adjusted to be the proper relative path based on the level of the folder. Currently, it's configured for surface level folders. Alternatively, for more complex websites, you can utilizeSITEROOT
fromglobal/common-include
for absolute URLs. - In
/global/master-style.css
,.body-wrapper
needs to be edited for footer height (see the stylesheet for more instructions).