1

I want my posts to have a featured-image thumbnail beside it, how do I do this?

2
  • You should check out this article: surefirewebservices.com/genesis-framework/…
    – user20171
    Sep 7, 2012 at 20:12
  • Please add your solution as a real answer, do not hide it in your question. Then mark the question as answered.
    – fuxia
    Oct 16, 2012 at 4:03

2 Answers 2

2

(Cut/pasted from the OP.)

SOLUTION:

As it turns out, this is very simple.

Go to your Dashboard --> Genesis --> Theme Settings

Now in the box labelled "Content Archives" select "Display Post Excerpts" from the drop down menu. Now make sure the "Include the Featured Image" box is checked and select your image size.

Save Settings.

The featured-image thumbnail will now appear next to your posts.

0

First you may need to add featured image support to your theme, if that functionality isn't already enabled. To enable featured image support for your theme, add the following line of code to your themes functions.php file:

add_theme_support('post-thumbnails');

Next you want to open up the template that displays your post. Open up your single.php(or other) template file, and add the following code to check if the post has a featured image set, and if so, display it. I'll leave it up to you to figure out where and how you want the image to display.

if(has_post_thumbnail())
{
the_post_thumbnail();
}
2
  • Unfortunetly (unless I'm missing something here), those instructions work for normal WordPress themes, but aren't applicable for WordPress on Genesis Framework.
    – Sun
    Aug 29, 2012 at 19:12
  • My apologies, there was nothing about the genesis framework in your questions text. Aug 29, 2012 at 21:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.