Пример #1
0
" itemprop="mainContentOfPage" itemscope="itemscope" itemtype="http://schema.org/Blog">	
			<?php 
        if ($blog_style == "blog-small") {
            get_template_part('loop', 'blog-small');
        } else {
            get_template_part('loop', 'blog');
        }
        ?>
			</div>
			<!-- END #hb-blog-posts -->
			<?php 
        if ($pagination_style == 'ajax') {
            if ($blog_style == "blog-small") {
                hb_pagination_ajax('loop-blog-small');
            } else {
                hb_pagination_ajax('loop-blog');
            }
        } else {
            if ($pagination_style == 'standard') {
                hb_pagination_standard();
            }
        }
        wp_reset_query();
        ?>

				<?php 
        if (comments_open() && hb_options('hb_disable_page_comments')) {
            comments_template();
        }
        ?>
Пример #2
0
			<!-- BEGIN #hb-blog-posts -->
			<div id="hb-blog-posts" class="hb-blog-grid masonry-holder clearfix" data-layout-mode="<?php 
        echo $blog_grid_style;
        ?>
" data-column-size="<?php 
        echo $blog_grid_column_class;
        ?>
" itemprop="mainContentOfPage" itemscope="itemscope" itemtype="http://schema.org/Blog">	
			<?php 
        get_template_part('loop', 'blog-grid');
        ?>
			</div>
			<!-- END #hb-blog-posts -->
			<?php 
        if ($pagination_style == 'ajax') {
            hb_pagination_ajax('loop-blog-grid');
        } else {
            if ($pagination_style == 'standard') {
                hb_pagination_standard();
            }
        }
        wp_reset_query();
        ?>
			
		</div>

		</div>
		<!-- BEGIN .extra-wide-inner -->
	</div>
	<!-- END .extra-wide-container -->