How can i get the featured image display in the search results ?
I sort it out what you have to do.
Open content-extension.php in the theme folder (\travelify\library\structure)
Go to >> if ( ! function_exists( ‘travelify_theloop_for_search’ ) ) :
Between : <?php do_action( ‘travelify_after_post_header’ ); ?>
And : <?php do_action( ‘travelify_before_post_content’ ); ?>
Add:
<?php
if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
the_post_thumbnail();
}
?>