web/wp-content/themes/thematic/header.php
author ymh <ymh.work@gmail.com>
Mon, 22 Mar 2010 16:36:28 +0100
changeset 5 ac511f1ccc8e
parent 1 0d28b7c10758
permissions -rw-r--r--
add hgignore
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
0d28b7c10758 First commit
ymh
parents:
diff changeset
     1
<?php
0d28b7c10758 First commit
ymh
parents:
diff changeset
     2
0d28b7c10758 First commit
ymh
parents:
diff changeset
     3
    // Creating the doctype
0d28b7c10758 First commit
ymh
parents:
diff changeset
     4
    thematic_create_doctype();
0d28b7c10758 First commit
ymh
parents:
diff changeset
     5
    echo " ";
0d28b7c10758 First commit
ymh
parents:
diff changeset
     6
    language_attributes();
0d28b7c10758 First commit
ymh
parents:
diff changeset
     7
    echo ">\n";
0d28b7c10758 First commit
ymh
parents:
diff changeset
     8
    
0d28b7c10758 First commit
ymh
parents:
diff changeset
     9
    // Creating the head profile
0d28b7c10758 First commit
ymh
parents:
diff changeset
    10
    thematic_head_profile();
0d28b7c10758 First commit
ymh
parents:
diff changeset
    11
0d28b7c10758 First commit
ymh
parents:
diff changeset
    12
    // Creating the doc title
0d28b7c10758 First commit
ymh
parents:
diff changeset
    13
    thematic_doctitle();
0d28b7c10758 First commit
ymh
parents:
diff changeset
    14
    
0d28b7c10758 First commit
ymh
parents:
diff changeset
    15
    // Creating the content type
0d28b7c10758 First commit
ymh
parents:
diff changeset
    16
    thematic_create_contenttype();
0d28b7c10758 First commit
ymh
parents:
diff changeset
    17
    
0d28b7c10758 First commit
ymh
parents:
diff changeset
    18
    // Creating the description
0d28b7c10758 First commit
ymh
parents:
diff changeset
    19
    thematic_show_description();
0d28b7c10758 First commit
ymh
parents:
diff changeset
    20
    
0d28b7c10758 First commit
ymh
parents:
diff changeset
    21
    // Creating the robots tags
0d28b7c10758 First commit
ymh
parents:
diff changeset
    22
    thematic_show_robots();
0d28b7c10758 First commit
ymh
parents:
diff changeset
    23
    
0d28b7c10758 First commit
ymh
parents:
diff changeset
    24
    // Creating the canonical URL
0d28b7c10758 First commit
ymh
parents:
diff changeset
    25
    thematic_canonical_url();
0d28b7c10758 First commit
ymh
parents:
diff changeset
    26
    
0d28b7c10758 First commit
ymh
parents:
diff changeset
    27
    // Loading the stylesheet
0d28b7c10758 First commit
ymh
parents:
diff changeset
    28
    thematic_create_stylesheet();
0d28b7c10758 First commit
ymh
parents:
diff changeset
    29
    
0d28b7c10758 First commit
ymh
parents:
diff changeset
    30
    // Creating the internal RSS links
0d28b7c10758 First commit
ymh
parents:
diff changeset
    31
    thematic_show_rss();
0d28b7c10758 First commit
ymh
parents:
diff changeset
    32
    
0d28b7c10758 First commit
ymh
parents:
diff changeset
    33
    // Creating the comments RSS links
0d28b7c10758 First commit
ymh
parents:
diff changeset
    34
    thematic_show_commentsrss();
0d28b7c10758 First commit
ymh
parents:
diff changeset
    35
    
0d28b7c10758 First commit
ymh
parents:
diff changeset
    36
    // Creating the pingback adress
0d28b7c10758 First commit
ymh
parents:
diff changeset
    37
    thematic_show_pingback();
0d28b7c10758 First commit
ymh
parents:
diff changeset
    38
    
0d28b7c10758 First commit
ymh
parents:
diff changeset
    39
    // Enables comment threading
0d28b7c10758 First commit
ymh
parents:
diff changeset
    40
    thematic_show_commentreply();
0d28b7c10758 First commit
ymh
parents:
diff changeset
    41
0d28b7c10758 First commit
ymh
parents:
diff changeset
    42
    // Calling WordPress' header action hook
0d28b7c10758 First commit
ymh
parents:
diff changeset
    43
    wp_head();
0d28b7c10758 First commit
ymh
parents:
diff changeset
    44
    
0d28b7c10758 First commit
ymh
parents:
diff changeset
    45
?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    46
0d28b7c10758 First commit
ymh
parents:
diff changeset
    47
</head>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    48
0d28b7c10758 First commit
ymh
parents:
diff changeset
    49
<?php 
0d28b7c10758 First commit
ymh
parents:
diff changeset
    50
0d28b7c10758 First commit
ymh
parents:
diff changeset
    51
if (apply_filters('thematic_show_bodyclass',TRUE)) { 
0d28b7c10758 First commit
ymh
parents:
diff changeset
    52
    // Creating the body class
0d28b7c10758 First commit
ymh
parents:
diff changeset
    53
    ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    54
0d28b7c10758 First commit
ymh
parents:
diff changeset
    55
<body class="<?php thematic_body_class() ?>">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    56
    
0d28b7c10758 First commit
ymh
parents:
diff changeset
    57
<?php }
0d28b7c10758 First commit
ymh
parents:
diff changeset
    58
0d28b7c10758 First commit
ymh
parents:
diff changeset
    59
// action hook for placing content before opening #wrapper
0d28b7c10758 First commit
ymh
parents:
diff changeset
    60
thematic_before(); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    61
0d28b7c10758 First commit
ymh
parents:
diff changeset
    62
<div id="wrapper" class="hfeed">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    63
0d28b7c10758 First commit
ymh
parents:
diff changeset
    64
    <?php
0d28b7c10758 First commit
ymh
parents:
diff changeset
    65
    
0d28b7c10758 First commit
ymh
parents:
diff changeset
    66
    // action hook for placing content above the theme header
0d28b7c10758 First commit
ymh
parents:
diff changeset
    67
    thematic_aboveheader(); 
0d28b7c10758 First commit
ymh
parents:
diff changeset
    68
    
0d28b7c10758 First commit
ymh
parents:
diff changeset
    69
    ?>   
0d28b7c10758 First commit
ymh
parents:
diff changeset
    70
0d28b7c10758 First commit
ymh
parents:
diff changeset
    71
    <div id="header">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    72
    
0d28b7c10758 First commit
ymh
parents:
diff changeset
    73
        <?php 
0d28b7c10758 First commit
ymh
parents:
diff changeset
    74
        
0d28b7c10758 First commit
ymh
parents:
diff changeset
    75
        // action hook creating the theme header
0d28b7c10758 First commit
ymh
parents:
diff changeset
    76
        thematic_header();
0d28b7c10758 First commit
ymh
parents:
diff changeset
    77
        
0d28b7c10758 First commit
ymh
parents:
diff changeset
    78
        ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    79
        
0d28b7c10758 First commit
ymh
parents:
diff changeset
    80
    </div><!-- #header-->
0d28b7c10758 First commit
ymh
parents:
diff changeset
    81
    
0d28b7c10758 First commit
ymh
parents:
diff changeset
    82
    <?php
0d28b7c10758 First commit
ymh
parents:
diff changeset
    83
    
0d28b7c10758 First commit
ymh
parents:
diff changeset
    84
    // action hook for placing content below the theme header
0d28b7c10758 First commit
ymh
parents:
diff changeset
    85
    thematic_belowheader();
0d28b7c10758 First commit
ymh
parents:
diff changeset
    86
    
0d28b7c10758 First commit
ymh
parents:
diff changeset
    87
    ?>   
0d28b7c10758 First commit
ymh
parents:
diff changeset
    88
0d28b7c10758 First commit
ymh
parents:
diff changeset
    89
    <div id="main">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    90