[Theme: Cerauno] placing featured image below title in single post
-
Hi,
In a child theme based on Cerauno, I’d like to move the featured image to be below (rather than above) a post’s title. I need to use the featured image, rather than simply place any image where I want it, because that affects the index.
The most logical place to do this is in ‘content-single.php’ but I the file doesn’t contain any explicit reference to ‘featured-image’. (The only direct reference I could find in the template only affects the index.) Anyone have any idea how to do this?
Thanks! Here’s the default content of ‘content-single.php’:
<?php /** * Template part for displaying single posts. * * @package Cerauno */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <header class="entry-header"> <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> </header><!-- .entry-header --> <div class="entry-content"> <?php the_content(); ?> <?php wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'cerauno' ), 'after' => '</div>', ) ); ?> </div><!-- .entry-content --> <footer class="entry-footer clear"> <?php cerauno_entry_footer(); ?> </footer><!-- .entry-footer --> </article><!-- #post-## -->
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘[Theme: Cerauno] placing featured image below title in single post’ is closed to new replies.