Skip to content

Instantly share code, notes, and snippets.


zzramesses/clean template Secret

Created Mar 18, 2015
What would you like to do?
Net Magazine - clean template example
* The single episode template
* @package Core
get_header(); ?>
<?php if ( have_posts() ) : ?>
<main id="content" class="site-content" role="main">
<?php while ( have_posts() ): the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> role="article" itemscope itemtype="">
<?php get_template_part( 'partials/episode' , 'details' );?>
<?php get_template_part( 'partials/episode' , 'recap' );?>
<div class="entry-content">
<?php do_action( 'core_content' );?>
<?php endwhile;?>
<?php endif; ?>
<?php get_footer();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.