A custom field would certainly do the job. If you wanted a slightly more elegant way of doing it, you could make a meta box (or maybe even hook the featured image box…not sure if that’s doable or not off the top of my head) and add a checkbox for ‘Display on Frontpage’ or something like that.
Once you have that, its just a matter of modifying the loop on your frontpage so that (and this is pseudocode…so don’t think it’ll work)
if( custom_post_meta == desired_custom_post_meta ) {
the_post_thumbnail();
}
and you should be done!
Related Posts:
- automatically set “Featured Image” the same as the og:i that is set in a custom field
- Add url from Custom Field as ‘Featured Image’. Code not working
- For homepage images (for small business website), is it better to use custom fields or post_thumbnail?
- Custom field as featured image caption
- Use a different catalog image than the featured image
- How to mark a image attachment as background image?
- Crop custom image size vs actual size
- Remove Dimension from wp_get_attachment_image
- Change wp_get_attachment_image attributes (src and srcset) on specific custom field
- Move from old custom field to new post_thumbnails
- How do I make a custom field choose an image?
- Extend WP Customizer to make multiple image selection possible
- Is there a hook / action that is triggered when adding or removing a post thumbnail?
- Add multiple images to a page sidebar
- Display thumbnail from custom field
- Add custom field to image editor
- Display info from custom fields in all images’ HTML
- How can I migrate all of my custom field thumbnails to the built-in post featured image?
- copy attachments to another post type and change attachment url
- limit amount of photos uploaded per cpt post
- Adding a custom field or metabox to the post-thumbnail widget?
- Metabox with multiple fields added by user and upload box
- Add WYSIWYG to Image Description field
- Deleted pages showing up when querying for child pages
- Get Meta from Custom Field of Image URL
- How to display multiple images in custom field
- How to add image attachment to post from a single meta key (Woocommerce)
- Exclude images uploaded via meta boxes from WordPress gallery
- How do I Add images uploaded in the post to a default custom field
- How to add the image URL from an external RSS feed and insert into a custom field?
- Add new image block, set default class name and update it using Javascript
- Better way to save image in custom field
- How do I add an image upload, custom field to a WooCommerce product?
- Select multiple images from custom field
- Redirect to another page using contact form 7? [closed]
- How to mass update custom fields for more than 20k posts
- how to make nsfw post with thumbanil
- Displaying page image in the footer automatically
- Get image url using image id
- Can I use a Custom Field as the Featured Image URL?
- Show image if author meta (profile fields) exists outside loop
- Getting the Featured image URL and inserting it as Custom Field on Post update / publish
- Convert attachment ID into url?
- User customising position of WordPress Featured Image
- Set featured image from custom field URL
- Display a different image for each page with editor
- WP Insert post with post_thumbnail
- Custom field image to Featured Image
- Image upload and path to custom field
- How to get custom image field of specific post id
- Add image URL automatically to custom field?
- wp_get_attachment_image_src() with advanced custom fields returning empty
- Unable to select image with custom field
- Users uploaded image and matching an id or taxonomy
- Adding Facebook’s image and meta description retrieval capabilities to a WordPress post
- use custom field value as featured image
- Can you generate a featured image from two images from custom fields?
- Show image depending on the number in the custom fields
- How to delete attachments associated with custom field type when post property changes? [closed]
- How to add custom fields to images for image source text and URL
- Automatically set the_post_thumbnail to Custom Field Value
- Get first URL from custom field, download and set as featured image on post publish
- Change path to child of page when uploading image via custom field
- Related post thumbnail not showing up
- Analyze uploaded images to get colour values
- Adding thumbnails for non-image attachments
- Post thumbnail size for custom field only
- Upload image to wordpress
- Undefined Variable (Displaying image via custom field)
- Multiple image uploader under editor?
- Get single image from custom fields made with WCK custom fields creator
- Add image custom attribute [closed]
- Custom field for image, not showing image!
- Show/Hide Featured Image or replace it with custom field [closed]
- How to automatically add rounded corners to thumbnails?
- How to limit number of images being printer out in “Set Featured Image” pop up?
- Change Output for Images in Content
- How to get and edit custom fields if in Quick Edit
- Add a post meta key and value only if it does not exist on the post
- trim custom field text value and show (…)
- Duplicate posts being displayed when querying Custom Fields
- ACF: How to get the full field name (meta_key) by a field key?
- modify wordpress caption shortcode
- Original image not saving?
- Best way to store everyday post views?
- the_post_thumbnail(‘medium’) setting some images width=1 height=1
- How can I activate custom fields checkbox in pages?
- add_image_size not working
- Ordering by ‘Title’ OR ‘Custom Field’
- How can I add/update post meta in a admin menu page?
- Group Posts By Custom Meta Value: Date
- How can I detect user’s timezone?
- ACF field group not showing in page
- Custom field in media library not saving, selected() function not adding “selected” to select list input type
- Thumbnails are hard cropped not matter what
- Showing the post only when there is title, thumbnail and the content in Custom Fields
- Custom field group on page
- change attachment custom field onChange event
- How to add an ACF only for parent term?
- I want to resize post featured image without cropping image. How?