My PHP journey part 7.

Laying out a page template is kind of interesting – and kind of more in-line (from what I understand) with building a WordPress theme. This is going to be a short blog post because I am already embarking on something a bit more exciting… where this could be explained in a bit more detail.

Take a look my article about HTML to get a basic gist of this…

<!doctype html>

<html lang=”en”>

<head> <!– Google likes <title>’s contents to be in desc. order of specificity to the page –>

<title><?php echo $pageTitle; ?> | my blog</title> <meta charset=”utf-8″ /> </head> <body>

<h1><?php echo $pageTitle; ?></h1>

<?php echo $titles; ?>



<?php get_footer; ?>



Again, this is a very rough generalisation, so any hardcore coders out there – resist the urge to punch the screen, or me! I’ve got some very specific plans for what I want to do with what I am learning and my next project.

I’ll back soon with some awesomeness!

Leave a Reply

Your email address will not be published. Required fields are marked *