Custom Field Images
This is the instructions for including post thumbnail and single.php custom field images with your posts.
Post thumbnail images
You can add thumbnail images with each post. These show up on each single post page, category and archive pages, the recent block, and in posts using the “Default” and “Full Posts” options.
- Create a custom field Key named “Thumbnail” and give it a Value of the URL of your image just like the feature image.
- Optional: create a Key named “Thumbnail Alt” and give it a Value of the alt text you want displayed (defaults to post title).
- Thumbnails are scaled down to 75px by 75px. I suggest making your images this size before uploading for the best quality.
Single post images with custom fields
To add an image (besides the thumbnail or feature image) to your single post page follow these instructions. If you don’t want to display a specific image, but have created a Thumbnail or Feature Image, the Thumbnail or Feature Image will be displayed.
- Create a custom field Key named “Image” and give it a Value of the URL of your image.
- Optional: Create a Key named “Image Alt” and give it a Value of the alt text you want displayed.
- Optional: Create a Key named “Image Class” and give it a Value of any CSS class you want to use.
Leave a reply