</div>
			    <?php 
        }
        ?>

				<article id="post-<?php 
        the_ID();
        ?>
" <?php 
        post_class('clearfix');
        ?>
 role="article">

					<?php 
        if (($cb_featured_image_style == 'off' || $cb_featured_image_style == 'standard') && cb_is_woocommerce() == NULL) {
            cb_featured_image_style($cb_featured_image_style, $post, 'page');
        }
        ?>

					<section class="cb-entry-content clearfix" itemprop="articleBody">
						<?php 
        the_content();
        ?>
			     	</section> <!-- end article section -->

					<footer class="article-footer">

                        <?php 
        wp_link_pages('before=<div class="cb-post-pagination clearfix">&after=</div>&next_or_number=number&pagelink=<span class="wp-link-pages-number">%</span>');
        the_tags('<p class="cb-tags"><span class="tags-title">' . __('Tags:', 'cubell') . '</span> ', '', '</p>');
        if ($cb_page_comments == 'on') {
			<?php 
        cb_breadcrumbs();
        ?>

			<article id="post-<?php 
        the_ID();
        ?>
" <?php 
        post_class('clearfix');
        ?>
 role="article">

				<?php 
        if ($cb_featured_image_style == 'off' || $cb_featured_image_style == 'standard' || $cb_featured_image_style_cache == 'standard' || $cb_featured_image_style_cache == 'off') {
            cb_featured_image_style($cb_featured_image_style, $post);
        }
        ?>

				<section class="cb-entry-content clearfix" <?php 
        if ($cb_review_checkbox == 'on' || $cb_review_checkbox == '1') {
            echo 'itemprop="reviewBody"';
        }
        ?>
>

					<?php 
        the_content();
        ?>
					<?php 
        wp_link_pages('before=<div class="cb-pagination clearfix">&after=</div>&next_or_number=number&pagelink=<span class="cb-page">%</span>');
    $cb_extra_padding = ' cb-xtra-pad';
}
while (have_posts()) {
    the_post();
    $cb_classes = implode(' ', get_post_class('clearfix', $cb_page_id));
    $cb_featured_image_style = get_post_meta($cb_page_id, 'cb_featured_image_style', true);
    if ($cb_featured_image_style == NULL) {
        $cb_featured_image_style = 'standard';
    }
    if ($cb_featured_image_style == 'standard-uncrop') {
        $cb_featured_image_style = 'standard';
    }
    if (has_post_thumbnail($cb_page_id)) {
        if ($cb_featured_image_style != 'off' && $cb_featured_image_style != 'standard') {
            $cb_fis_check = true;
            do_shortcode(cb_featured_image_style($cb_featured_image_style, $post, 'page-overlay'));
        }
    }
    if (get_the_content() != NULL) {
        echo '<div id="cb-content" class="wrap cb-pb clearfix"><div class="cb-full-width clearfix" role="main"><article id="post-' . $cb_page_id . '" class="' . $cb_classes . ' cb-entry-content">';
        the_content();
        echo '</article></div></div>';
    }
}
$cb_paged = get_query_var('page');
if ($cb_paged == NULL) {
    for ($cb_section_count = 1; $cb_section_count < 5; $cb_section_count++) {
        if ($cb_section_count == 1) {
            $cb_x = 'a';
            $cb_flag_a = true;
        }