if (is_singular() && get_option('thread_comments')) {
    wp_enqueue_script('comment-reply');
}
wp_head();
?>
</head>
<body <?php 
body_class();
?>
>

<div id="bdls-main">
    <div class="bdls-sheet clearfix">

<?php 
if (theme_has_layout_part("header")) {
    ?>
<header class="bdls-header<?php 
    echo theme_get_option('theme_header_clickable') ? ' clickable' : '';
    ?>
"><?php 
    get_sidebar('header');
    ?>
</header>
<?php 
}
?>

<div class="bdls-layout-wrapper">
                <div class="bdls-content-layout">
                    <div class="bdls-content-layout-row">
<?php 
if (theme_has_layout_part("secondary_sidebar")) {
    ?>

<?php 
    theme_print_sidebar('secondary-widget-area', '<div class="art-layout-cell art-sidebar2">', '</div>');
    ?>

<?php 
}
<?php 
if (theme_has_layout_part("default_sidebar")) {
    ?>

<?php 
    theme_print_sidebar('primary-widget-area', '<div class="cleantheme-layout-cell cleantheme-sidebar1">', '</div>');
    ?>

<?php 
}
Exemple #4
0
<?php

if (theme_has_layout_part("left_sidebar")) {
    ?>

<?php 
    $places = theme_get_sidebar_places('default');
    $count_widgets = array_sum(array_map('count', $places));
    if ($count_widgets > 0) {
        ?>

<div class="art-layout-cell art-sidebar1 clearfix">
<?php 
        theme_print_sidebar('default', $places);
        ?>




                        </div><?php 
    }
    ?>

<?php 
}
?>