コード例 #1
0
				<div class="entry-content">
					<?php 
    //the_content();
    ?>
					<?php 
    echo wolf_featured_gallery();
    ?>
				</div><!-- entry-content -->

			</article><!-- article.post -->
				<?php 
    wolf_post_end();
    ?>
				<?php 
    wolf_post_nav();
    ?>

				<?php 
    if (wolf_get_theme_option('gallery_comments')) {
        comments_template();
    }
    ?>
		<?php 
}
?>
		</main><!-- main#content .site-content-->
	</div><!-- #primary .content-area -->
<?php 
wolf_post_after();
get_footer();
コード例 #2
0
 /**
  * Output related post or post nav depending on metabox
  *
  * @access public
  * @since 1.0.0
  * @return void
  */
 function wolf_print_post_navigation()
 {
     $nav_type = wolf_get_single_blog_post_nav_type();
     $post_types = array('post');
     if (in_array(get_post_type(), $post_types)) {
         if ('related' == $nav_type) {
             get_template_part('partials/related', 'posts');
         } else {
             wolf_post_nav();
         }
     }
 }