Tickets › Tickets › Wanium › Show Featured image of portfolio in all the portfolio pages › Reply To: Show Featured image of portfolio in all the portfolio pages
March 20, 2017 at 3:08 am
#1451
Supporter
Hi pictureprefect,
Thanks for writing in!
The featured images in for portfolio header background image and in thumbnail of archive page only. If you want to show it in single portfolio page, please open up the single-portfolio.php file in themes/wanium/ folder, find the code below:
<?php the_content(); wp_link_pages(); ?>
… and change it into this:
<?php
if ( has_post_thumbnail() ) {
the_post_thumbnail( 'full', array( 'class' => 'mb16' ) );
}
the_content(); wp_link_pages();
?>
Hope this helps,
Danny
