How to get featured images to work on blog using Magazine theme

Community Forums Forums General Discussion How to get featured images to work on blog using Magazine theme

This topic is: not resolved

This topic contains 8 replies, has 4 voices, and was last updated by  anitac 2 months, 2 weeks ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #20447

    Alex Navas
    Participant
    Post count: 5

    I set up the blog page to show excerpts and it looks like that’s working fine. The next thing I set up under settings is using the featured image sized at 150×150, however, on the blog page, there are no featured images displaying, only the first image that shows up in the post which is sized totally different for each post.

    I added the images to the Featured Image section within the post, but they aren’t showing up right. How can I get it working correctly?

    Here’s the site: http://www.iceanow.org/blog

    Thanks for your help.

    Alex

    #20856

    braddalton
    Participant
    Post count: 2487

    Try Genesis > Theme Settings > Content Archives > Display Post Content > Set Content Character Limit > Include featured image 150 x 100 featured image


    WordPress Developer & Consultant
    Brad Dalton @ WP SitesClick Here to Get Genesis Child Theme Tips Delivered.

    #20884

    Alex Navas
    Participant
    Post count: 5

    Thanks for the reply Brad. I checked and already have those settings checked.

    http://screencast.com/t/6vpqGJrdGp

    #23869

    jodzeee
    Participant
    Post count: 63

    Alex: Did you get the featured image to work? I’m not sure if we have the same problem, but I’ve got a blog page that shows the thumbnails with the excerpts, but not on the post itself. It’s supposed to show on both, isn’t it?

    #23881

    anitac
    Moderator
    Post count: 2662

    @alexnavas, do you have both a featured image and a image in the beginning of your content?

    @jodzeee, no featured images do not automatically show up on the post. It’s only a thumbnail image used on the home, blog, and archive pages. If you want the featured image to show up “automatically” when you add a featured image, I have a instructions on how to accomplish this. Just write back here and I can post the link.


    Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
    Why Not Take The Challenge! – Help us answer some of the unanswered posts

    #23927

    jodzeee
    Participant
    Post count: 63

    Yes, I would like to see the instructions. Thank you!

    #23934

    anitac
    Moderator
    Post count: 2662

    Here is the link to the instruction in a text file. The originator noted in there is not operational anymore. I am glad I copied these before their website went down.


    Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
    Why Not Take The Challenge! – Help us answer some of the unanswered posts

    #23953

    jodzeee
    Participant
    Post count: 63

    Thank you! I was able to get it to work, but with some modification to enabling support and setting the size (the thumbnail code didn’t work for me and I remembered seeing this in the Codex):

    **  Enabling Support and setting size for Post Thumbnails   */
    if ( function_exists( 'add_theme_support' ) ) {
    add_theme_support( 'post-thumbnails' );
    set_post_thumbnail_size( 300, 200 );
    }

    Then I added this from your instructions:

    /** Add Featured Image to Posts - the Webonanza style  */
    add_action( 'genesis_after_post_title', 'child_do_single_post_image' );
    function child_do_single_post_image() {
    if( is_single() )
    genesis_image( array( 'size' => 'post-thumbnail', 'attr' => array( 'class' => 'alignright post-image' ) ) );
    }

    Thanks again, I really appreciate the help and quick response!

    #23954

    anitac
    Moderator
    Post count: 2662

    @jodzeee, you’re welcome. Glad it worked out for you. I hope @alexnavas was able to resolve his issue.


    Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
    Why Not Take The Challenge! – Help us answer some of the unanswered posts

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.