This PHP structure uses <?php include; ?> to load modular partials such as the head, menu, footer, and scripts etc... These includes are processed via the Gulp file include plugin, enabling a maintainable and scalable layout system with reusable HTML blocks across the project.
<?php include 'partials/html.php'; ?>
<head>
<?php $title = "Starter Page"; include 'partials/title-meta.php' ?>
<?php include 'partials/head-css.php' ?>
</head>
<body>
<!-- Begin page -->
<div class="wrapper">
<?php include 'partials/menu.php'; ?>
<!-- ============================================================== -->
<!-- Start Main Content -->
<!-- ============================================================== -->
<div class="content-page">
<div class="container-fluid">
<?php $subtitle = "Icons"; $title = "Tabler"; include 'partials/page-title.php' ?>
<!-- add your content here -->
</div>
<!-- container -->
<?php include 'partials/footer.php' ?>
</div>
<!-- ============================================================== -->
<!-- End of Main Content -->
<!-- ============================================================== -->
</div>
<!-- END wrapper -->
<?php include 'partials/customizer.php' ?>
<?php include 'partials/footer-scripts.php' ?>
</body>
</html>