Give help. Get help.

  • # November 18, 2012 at 1:56 pm

    Ok so i have a head.php file that i am including to some of my pages that have the same heads. However i am at a loss on how to get page specific things like the title tag, facebook’s open graph, and other things required for SEO, inside the head without writing it all out. Is there a variable for that?


    # November 18, 2012 at 2:19 pm

    > Is there a variable for that?

    There’s a variable for anything,

    as long as you assign a variable to it : )

    for example

    < ?php
    $title = “My Page Title”;

    $template = < << HTML
    < !doctype html>



    print $template;

    # November 18, 2012 at 8:52 pm

    @andy_unleash @traq Thanks guys!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.