One way you can do it:
- Create a new post and fill in your title and content.
- Upload a picture attachment to your article.
- Add a custom field and set the key to ‘pic’.
- Drag the picture to the value box. This will add the URL to the picture to the value box.
- Enter some text in the “Optional Excerpt” box. This is what will be displayed next to the icon.
You do the above for each post.
Now, go to your index.php file and add the following bit of text somewhere after the <p class="postmetadata">
element:
<?php if(get_post_custom_values('pic')) : ?>
<img src="<?php echo get_post_meta($post->ID, 'pic', true); ?>" />
<?php endif; ?>
Change the line with “the_content” to “the_excerpt”. This will display your graphic and the except you entered in the “Optional Excerpt” box.
Hope this helps!