Featured Images are NOT displayed anymore.
-
Hello.
I am redesigning my site with your theme (Hello Elementor).
Excellent theme and so far so good.
But…
Like I said, I’m redesigning. That is to say, I downloaded my site to a subdomain and changed the template I had to Hello Elementor and… I can NO longer see my featured images!!!
Before coming here, I researched and tried EVERYTHING but NO WAY!
That is, I can see that ALL my articles and – even – my pages have the featured image that they had but, when I look at that page or post in ANY browser, they do NOT show up.
Also, just in case, I created a NEW page to test and like I said, it lets me add a featured image to it. But… It is NOT visible in ANY browser!!!
Finally, so that you can see that “I did my homework”, I show you the code that indicates that, indeed, my template is ENABLED to “support” Featured Images…
This is what can be seen in… Hello Elementor: search.php (template-parts/search.php)
`<?php
/**
* The template for displaying search results.
*
* @package HelloElementor
*/if ( ! defined( ‘ABSPATH’ ) ) {
exit; // Exit if accessed directly.
}
?>
<main id=”content” class=”site-main” role=”main”>
<?php if ( apply_filters( ‘hello_elementor_page_title’, true ) ) : ?>
<header class=”page-header”>
<h1 class=”entry-title”>
<?php esc_html_e( ‘Search results for: ‘, ‘hello-elementor’ ); ?>
<span><?php echo get_search_query(); ?></span>
</h1>
</header>
<?php endif; ?>
<div class=”page-content”>
<?php if ( have_posts() ) : ?>
<?php
while ( have_posts() ) :
the_post();
printf( ‘<h2>%s</h2>’, esc_url( get_permalink() ), esc_html( get_the_title() ) );
the_post_thumbnail();
the_excerpt();
endwhile;
?>
<?php else : ?>
<p><?php esc_html_e( ‘It seems we can\’t find what you\’re looking for.’, ‘hello-elementor’ ); ?></p>
<?php endif; ?>
</div><?php wp_link_pages(); ?>
<?php
global $wp_query;
if ( $wp_query->max_num_pages > 1 ) :
?>
<nav class=”pagination” role=”navigation”>
<?php /* Translators: HTML arrow */ ?>
<div class=”nav-previous”><?php next_posts_link( sprintf( __( ‘%s older’, ‘hello-elementor’ ), ‘<span class=”meta-nav”>←</span>’ ) ); ?></div>
<?php /* Translators: HTML arrow */ ?>
<div class=”nav-next”><?php previous_posts_link( sprintf( __( ‘newer %s’, ‘hello-elementor’ ), ‘<span class=”meta-nav”>→</span>’ ) ); ?></div>
</nav>
<?php endif; ?>
</main>And this is an “example” of a Page that, even with a Featured Image installed, is NOT visible!…
https://stage9.atutrabajo.org/desarrollo-profesional/
Note: This is a NEW page that I created to TEST (That’s why it has a lorem ipsum content)
Could you tell me what I have to do?
I await your comments.
From already thank you very much.
Greetings.
The page I need help with: [log in to see the link]
- The topic ‘Featured Images are NOT displayed anymore.’ is closed to new replies.