Hi, is it possible to specify custom thumbnails to appear on the portfolio page, rather than it displaying the first image of the portfolio item as it does now?
Thanks in advance
the thumbnail image uses the includesloop-portfolio.php file to generate this. It’s generated by
//get_feature image here
$image = "";
$image = get_the_post_thumbnail( get_the_ID(), 'portfolio' );
$output = "";
$output = "<a class='portfolio_image external-link' href='".get_permalink()."' rel='bookmark' title='".__('Permanent Link:','avia_framework')." ".get_the_title()."'>".$image."</a>";
You can try and add some custom fields to your posts and insert the image there – and then get that thumbnail instead of what it does now.
I imagine there are plugins to set custom thumbnails for posts, though I have no experience using this.
Thanks for the reply, I’ve installed and activated the Hungred Thumbnail plugin, which displayed the default custom thumbnail on the portfolio page as soon as I activated, however the box to insert custom thumbnails only appears if you’re adding a new post, not a portfolio item, do you know if there’s a way to get such plugins to work with portfolio/pages instead of posts?
Thanks in advance!
The topic ‘Custom Thumbnails for Portfolio’ is closed to new replies.