Hi there,
Thanks, but that doesn’t work. What I want to do, is move the single post title back to the top of the page above the post text, but leave the featured image at the bottom. Or if this isn’t possible, move the post title together with the featured image back to the top of the single post, whilst keeping the blog post index page as it is (ie. the post title is at the top, then the post text, then the featured image).
So:
-
In the single blog post pages:
Post title
Post text
Featured image.
-
And the same for the main blog post index page (which is currently working):
Post title
Post text
Featured Image.
For (2), I used the following code in content.php in the child theme:
<?php
// =============================================================================
// VIEWS/ICON/CONTENT.PHP
// -----------------------------------------------------------------------------
// Standard post output for Icon.
// =============================================================================
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-wrap">
<?php x_icon_comment_number(); ?>
<div class="x-container max width">
<?php x_get_view( 'icon', '_content', 'post-header' ); ?>
<?php x_get_view( 'global', '_content' ); ?>
<?php if ( has_post_thumbnail() ) : ?>
<div class="entry-featured">
<?php x_featured_image(); ?>
</div>
<?php endif; ?>
</div>
</div>
</article>
Thanks for your help as ever.
Cheers!
Matt