Logged in as Administrator Logout

Creating a template is useful if you have to create multiple pages that look the same. The benefit of a template is if the programmer has to change an element (say in the header), instead of editing hundreds of documents, he/she can just edit one: header.php. It works by using the include command. Wordpress is one of the many systems that uses this technique. Copy and paste the following codes into their proper documents and the outcome should look like this page.

The Code

For index.php your code should look like this:


Your Config.php file should contain:


Your header.php file should contain:


Your topBar.php file should contain:


Your menu.php file should contain:


Your footer.php file should contain:


Your style.css file should contain: