Esto es lo que he intentado:
1) Se agregó add_theme_support('post-thumbnails');
en functions.php.
2) Se agregó <?php the_post_thumbnail(); ?>
dentro de single.php que se ve así:
<?php
/**
* The Template for displaying all single posts.
*
* @package WordPress
* @subpackage Twenty_Eleven
* @since Twenty Eleven 1.0
*/
get_header(); ?>
<div id="primary">
<div id="content" role="main">
<?php the_post_thumbnail(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content-single', get_post_format() ); ?>
<?php endwhile; // end of the loop. ?>
</div>
</div>
<?php get_footer(); ?>
Se agrega mi imagen destacada pero arriba del artículo y no dentro del artículo, cómo debería ser.
Para obtener una mejor comprensión, aquí hay una imagen del problema que tengo:
¿Cómopuedohacerquelaimagenmostradaaparezcadebajodelartículo"Publicación de prueba"? Como aquí por ejemplo:
¡Gracias de antemano!