Home>Support>Problem with featured img and meta img (pages)

Problem with featured img and meta img (pages)

HI,
I have problem with featured img. It doesnt display when I past link. I tried to search in function.php some get_post_meta for pages or simply add

add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 50, 50);
, but it doesn’ work. So….I’m asking you help.
How can I show featured img in link of pages?!

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 5 months ago Andrew Misplon
    Hi, I Work Here

    Hi Vladislav

    Thanks for the wait.

    Pages should already have the option in the right column to add a featured image. To display the featured image you’d need to use a child theme. You’d need to go to the Vantage parent theme folder, copy content-page.php and paste that file in the child theme. Then, insert the following:

    <?php if ( has_post_thumbnail() ) : ?>
    	<div class="entry-thumbnail">
    		<?php the_post_thumbnail(); ?>
    	</div>			
    <?php endif; ?>	
    

    Insert the above between line 17 and 18, just below the entry-header div. You can look at content-single.php for an example of where to insert the above.

    Does that help?

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More