Hello @jayclouse,
Sorry if it did not work for you. Please have the code of the content.php
file updated and use this:
<?php
// =============================================================================
// VIEWS/ETHOS/CONTENT.PHP
// -----------------------------------------------------------------------------
// Standard post output for Ethos.
// =============================================================================
$is_index_featured_layout = get_post_meta( get_the_ID(), '_x_ethos_index_featured_post_layout', true ) == 'on' && ! is_single();
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( $is_index_featured_layout ) : ?>
<?php x_ethos_featured_index(); ?>
<?php else : ?>
<?php if ( has_post_thumbnail() ) : ?>
<div class="entry-featured">
<?php if ( ! is_single() ) : ?>
<?php x_ethos_featured_index(); ?>
<?php else : ?>
<?php x_featured_image(); ?>
<?php endif; ?>
</div>
<?php endif; ?>
<div class="entry-wrap">
<?php if ( !is_single() ) : ?>
<?php x_get_view( 'ethos', '_content', 'post-header' ); ?>
<?php endif; ?>
<?php x_get_view( 'global', '_content' ); ?>
</div>
<?php endif; ?>
</article>
And then please follow these other steps below:
1] Using Notepad or TextEdit or Sublime Text or any text editor, please create a new file in your local machine.
2] Insert the following code into that new file
<?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">
<?php if ( is_single() ) : ?>
<?php x_get_view( 'ethos', '_content', 'post-header' ); ?>
<?php endif; ?>
<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(); ?>
3] Save the file named as wp-single.php
4] Upload this file to your server in the child theme’s folder wp-content/themes/x-child/framework/views/ethos/
We would love to know if this has worked for you. Thank you.