Friday, February 10, 2012

Header.php broken down for Wordpress...





    header.php broken down...Notice the important HTML and PHP commands here:
    • <div id="page-wrap"> starts in your header.php file but will end in yourfooter.php file.
    • <link rel="stylesheet..."> calls on your CSS stylesheet, javascript, and profile like a normal xhtml file would
    • <div id="banner"> or <div id="header"> styles a webpage as you normally would.
    • Unique Wordpress attributes include <body <?php body_class(); ?> >which allows Wordpress to identify and tag pages using an array attribute.


    No comments:

    Post a Comment