Ejemplo n.º 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">';
}
Ejemplo n.º 2
0
} elseif ($ht_page_type == 'portfolio-filterable') {
    get_template_part('includes/templates/tpl_filtered_portfolio');
    exit;
} else {
    // include slideshow
    embed_fullscreen_bg();
    ?>
<div id="wrap" class="clearfix <?php 
    echo ht_sidebar_layout();
    ?>
">
    <div id="main">
        <?php 
    if (is_woocommerce_activated()) {
        if (is_cart() || is_checkout() || is_account_page()) {
            $woobar = ht_get_woobar();
        }
        if (isset($woobar)) {
            echo $woobar;
        }
    }
    ?>
        <?php 
    if (have_posts()) {
        ?>
        <div id="entries">
            <h2 class="page-title"><?php 
        echo $teaser;
        ?>
                <i class="entries-toggle arrow-toggle"></i>
                <?php