Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // =============================================================================
- // SINGLE.PHP
- // -----------------------------------------------------------------------------
- // Handles output of individual posts.
- //
- // Content is output based on which Stack has been selected in the Customizer.
- // To view and/or edit the markup of your Stack's posts, first go to "views"
- // inside the "framework" subdirectory. Once inside, find your Stack's folder
- // and look for a file called "wp-single.php," where you'll be able to find the
- // appropriate output.
- // =============================================================================
- ?>
- <?php //x_get_view( x_get_stack(), 'wp', 'single' ); ?>
- <?php
- // =============================================================================
- // VIEWS/RENEW/WP-SINGLE.PHP
- // -----------------------------------------------------------------------------
- // Single post output for Renew.
- // =============================================================================
- $fullwidth = get_post_meta( get_the_ID(), '_x_post_layout', true );
- ?>
- <?php get_header(); ?>
- <div class="x-container max width offset">
- <div class="<?php x_main_content_class(); ?>" role="main">
- <p>This is the EDD file.</p>
- <?php while ( have_posts() ) : the_post(); ?>
- <?php x_get_view( 'renew', 'content', get_post_format() ); ?>
- <?php x_get_view( 'global', '_comments-template' ); ?>
- <?php endwhile; ?>
- </div>
- <?php if ( $fullwidth != 'on' ) : ?>
- <?php get_sidebar(); ?>
- <?php endif; ?>
- </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement