コード例 #1
0
ファイル: frameworks.php プロジェクト: CherylMuniz/fashion
function thesis_html_framework()
{
    global $thesis_design;
    echo apply_filters('thesis_doctype', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">') . "\n";
    ?>
<html xmlns="http://www.w3.org/1999/xhtml" <?php 
    language_attributes();
    ?>
>
<?php 
    thesis_head::build();
    echo "<body" . thesis_body_classes() . ">\n";
    #filter
    thesis_hook_before_html();
    #hook
    if ($thesis_design->layout['framework'] == 'page') {
        thesis_framework_page();
    } elseif ($thesis_design->layout['framework'] == 'full-width') {
        thesis_framework_full_width();
    } else {
        thesis_framework_page();
    }
    thesis_ie_clear();
    thesis_javascript::output_scripts();
    thesis_hook_after_html();
    #hook
    echo "</body>\n</html>";
}
コード例 #2
0
ファイル: frameworks.php プロジェクト: billerby/Surdeg
function thesis_html_framework()
{
    global $thesis;
    global $thesis_design;
    if (is_single() || is_page() && !$thesis['display']['comments']['disable_pages']) {
        wp_enqueue_script('comment-reply');
    }
    get_header(apply_filters('thesis_get_header', $name));
    if ($thesis_design['layout']['framework'] == 'page') {
        thesis_framework_page();
    } elseif ($thesis_design['layout']['framework'] == 'full-width') {
        thesis_framework_full_width();
    } else {
        thesis_framework_page();
    }
    get_footer(apply_filters('thesis_get_footer', $name));
}