コード例 #1
0
                          </a>
                      </div>
                      <div class="post-container">
                          <h2 class="post-title"><a href="<?php 
    the_permalink();
    ?>
" rel="bookmark"><?php 
    the_title();
    ?>
</a></h2>
                      </div>		
              </article><!-- #post-## -->
    
            <?php 
}
?>

		</section><!-- End Row -->
		
		<?php 
orbitnews_paginate($wp_query->max_num_pages);
?>

		<?php 
wp_reset_postdata();
?>
   	
    </section><!-- End Content Section -->

<?php 
get_footer();
コード例 #2
0
        ?>
    
            <?php 
        /* Include the Post-Format-specific template for the content.
         * If you want to override this in a child theme, then include a file
         * called content-___.php (where ___ is the Post Format name) and that will be used instead.
         */
        get_template_part('content');
        ?>
    
            <?php 
    }
    ?>
		</section><!-- End Post Row -->
					<?php 
    orbitnews_paginate($pages = '', $range = 2);
    ?>
				<?php 
} else {
    ?>
				<?php 
    get_template_part('content', 'none');
    ?>
		</section><!-- End Content-None Row -->
		<?php 
}
?>

	</section><!-- End Content Section -->

<?php