Advertisement
janter13

single-anime

Apr 1st, 2017
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.82 KB | None | 0 0
  1. <?php
  2. /*
  3.     Template Name: Info Anime
  4.     Description: Anu
  5. */
  6. get_header();
  7. ?>
  8.  
  9.    
  10.    
  11.     <div id="primary-mono" class="content-area <?php do_action('synapse_primary-width') ?>">
  12.         <main id="main" class="site-main" role="main">
  13.        
  14.         <?php if(!current_user_can( 'manage_options' )){ setCrunchifyPostViews(get_the_ID()); }  breadcrumbs();   while(have_posts()) : the_post();  ?>
  15.  
  16.             <?php get_template_part( 'content', 'single' ); ?>
  17.             <?php get_template_part( 'content', 'related' ); ?>
  18.             <?php
  19.                 // If comments are open or we have at least one comment, load up the comment template
  20.                 if ( comments_open() || get_comments_number() ) :
  21.                     comments_template();
  22.                 endif;
  23.             ?>
  24. <?php
  25.     endwhile; // end of the loop.
  26. ?>
  27.  
  28.         </main><!-- #main -->
  29.     </div><!-- #primary -->
  30.  
  31. <?php get_sidebar(); ?>
  32. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement