Use secondary featured image for listing page
-
I have a site where I want to use the feature image for the Genesis Responsive Slider and a second featured image for the listing image on the search page. Not quite sure how to do this. Any suggestions?
I have this line of code that sets the thumbnail:
$loop .= sprintf( ‘%s’, get_permalink(), genesis_get_image( array( ‘size’ => ‘properties’ ) ) );
I’ve tried this to get it to work, but now go:
$loop .= sprintf( ‘%s’, get_permalink(), the_post_thumbnail(get_post_type(), ‘secondary-image’) );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Use secondary featured image for listing page’ is closed to new replies.