File Editor
Directories:
.. (Back)
Files:
_content-post-header.php
_index-featured.php
_index.php
_post-slider.php
content-audio.php
content-gallery.php
content-image.php
content-link.php
content-page.php
content-portfolio.php
content-quote.php
content-video.php
content.php
template-blank-1.php
template-blank-2.php
template-blank-3.php
template-blank-4.php
template-blank-5.php
template-blank-6.php
template-blank-7.php
template-blank-8.php
template-layout-content-sidebar.php
template-layout-full-width.php
template-layout-portfolio.php
template-layout-sidebar-content.php
woocommerce.php
wp-404.php
wp-bbpress.php
wp-buddypress.php
wp-comments.php
wp-index.php
wp-page.php
wp-sidebar.php
wp-single-x-portfolio.php
wp-single.php
Create New File
Create
Edit File: wp-single.php
<?php // ============================================================================= // VIEWS/ETHOS/WP-SINGLE.PHP // ----------------------------------------------------------------------------- // Single post output for Ethos. // ============================================================================= $fullwidth = get_post_meta( get_the_ID(), '_x_post_layout', true ); get_header(); ?> <div class="x-container max width main"> <div class="offset cf"> <div class="<?php x_main_content_class(); ?>" role="main"> <?php while ( have_posts() ) : the_post(); ?> <?php x_get_view( 'ethos', 'content', get_post_format() ); ?> <?php x_get_view( 'global', '_comments-template' ); ?> <?php endwhile; ?> </div> <?php if ( $fullwidth != 'on' ) : ?> <?php get_sidebar(); ?> <?php endif; ?> </div> </div> <?php get_footer(); ?>
Save Changes
Rename File
Rename