Adding a secondary image to Genesis Agentpress Listing plugin
-
I’m trying to add a secondary image to use in my listing page using the Genesis Agentpress Listings plugin. 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’) );I’m still new to code, so can anyone tell me what I’m doing wrong?
Thanks,
Keith
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Adding a secondary image to Genesis Agentpress Listing plugin’ is closed to new replies.