Ejemplo n.º 1
0
    function anaglyph_default_page_content()
    {
        global $post, $posts_count, $time_post_delay, $row_heading;
        ?>
	
		<section id="content" class="block" role="main">
			<div class="container">
				<div class="col-md-12">
					<div class="section-content">
						<div class="row">
							<div class="blog-posts">
							<?php 
        if (have_posts()) {
            if (is_author()) {
                rewind_posts();
            }
            while (have_posts()) {
                the_post();
                get_template_part('content', get_post_format());
                $time_post_delay += 0.2;
                $posts_count++;
            }
            if (!$row_heading) {
                echo '</div>';
            }
        } else {
            get_template_part('content', 'none');
        }
        ?>
							</div>
						</div>	
					</div>	
				</div>	
			</div>	
				<?php 
        anaglyph_paging_nav();
        ?>
			</div>	
		</section>	
	<?php 
    }
Ejemplo n.º 2
0
<?php

/**
 * Pagination - Show numbered pagination for catalog pages.
 *
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     2.2.2
 */
if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
global $wp_query;
if ($wp_query->max_num_pages <= 1) {
    return;
}
anaglyph_paging_nav();
?>