Antes del titulo del post
Añadir en functions.php:
add_action('genesis_before_entry', 'show_featured_image_before_title', 10);
function show_featured_image_before_title() {
if (!is_singular('post'))
return;
the_post_thumbnail('large');
}
Con el plugin https://es.wordpress.org/plugins/genesis-simple-hooks/ en el código en el campo del hook «genesis_before_entry”
<?php
if (!is_singular('post'))
return;
the_post_thumbnail('large');
?>
Después del título de post
Para mostrar la imagen entre el título y el contenido del post debemos incluir el siguiente código en el functions.php
/* Show the featured image in the single posts before the content */
add_action('genesis_before_entry_content', 'show_featured_image_before_content', 10);
function show_featured_image_before_content() {
if (!is_singular('post'))
return;
the_post_thumbnail('large');
}
En genesis-simple-hooks/ en el campo del hook “genesis_before_entry_content”
add_action('genesis_before_entry_content', 'show_featured_image_before_content', 10);
function show_featured_image_before_content() {
if (!is_singular('post'))
return;
the_post_thumbnail('large');
}
Meter esto en un child theme vuestro, sino al actualizar Genesis se perderán estos cambios.