示例#1
0
function my_theme_wrapper_start()
{
    global $woocommerce;
    embed_fullscreen_bg();
    $woobar = ht_get_woobar();
    $sidebar_status = ht_sidebar_layout();
    echo '<div id="wrap" class="' . $sidebar_status . '">
                <div id="main">
                    ' . $woobar . '
                    <div id="entries">';
}
示例#2
0
<?php

get_header();
// variables
global $data;
// title of the page goes here
$teaser = __('Recent Posts', 'highthemes');
// sidebar status
$ht_sidebar_status = ht_sidebar_layout();
// embed slider
embed_fullscreen_bg();
?>
<div id="wrap" class="clearfix <?php 
echo ht_sidebar_layout();
?>
">
    <div id="main">
        <div id="entries">
            <h2 class="page-title"><?php 
echo $teaser;
?>
                <i class="entries-toggle arrow-toggle"></i>
                <?php 
if ($data['breadcrumb_inner']) {
    ?>
                    <div id="breadcrumb">
                        <?php 
    if (class_exists('simple_breadcrumb')) {
        $bc = new simple_breadcrumb();
    }
    ?>
示例#3
0
<?php

get_header();
// variables
global $data;
$teaser = get_the_title();
embed_fullscreen_bg(1);
?>
<div id="wrap" class="clearfix <?php 
echo ht_sidebar_layout(1);
?>
">
    <div id="main">
    <div id="entries">
        <h2 class="page-title">
            <?php 
if (is_page() || is_single()) {
    the_title();
} else {
    if (is_category()) {
        _e("Category : ", 'highthemes') . single_cat_title('', true);
    } else {
        if (is_tag()) {
            _e("Tag : ", 'highthemes') . single_tag_title('', true);
        } else {
            if (is_year()) {
                the_time('Y');
            } else {
                if (is_month()) {
                    the_time('F, Y');
                } else {