Post images

This topic is: resolved

This topic contains 5 replies, has 3 voices, and was last updated by  tribalcafe 2 years, 10 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #277



    I am working on my own site and wondered if there is any tips available for this problem I am having:

    added code to display post images on blog above post info and content

    /** Remove default post image */
    remove_action( ‘genesis_post_content’, ‘genesis_do_post_image’ );

    /** Add custom post image above post title */
    add_action( ‘genesis_before_post_content’, ‘generate_post_image’, 5 );
    function generate_post_image() {

    if ( is_page() || ! genesis_get_option( ‘content_archive_thumbnail’ ) )

    if ( $image = genesis_get_image( array( ‘format’ => ‘url’, ‘size’ => genesis_get_option( ‘image_size’ ) ) ) ) {
    printf( ‘<a href=”%s” rel=”bookmark”><img class=”post-image” src=”%s” alt=”%s” /></a>’, get_permalink(), $image, the_title_attribute( ‘echo=0′ ) );


    BUT homepage now has two post images instead of one. Any ideas on how to remove / change that.

    If you hadn’t guessed already I am a novice but desperately trying to learn!





    Andrea Rennick

    Under Genesis -> Settings -> Content Archives, do you have the box checked to show thumbnails on archives pages? If so, uncheck it.

    **forum signature**
    If you need technical support for your theme please file a ticket.

    The forums are community based. Staff only monitors the forum for issues relating to the forum itself and to redirect users to where they need to go.




    Hi Andrea,

    How do I setup my Balance theme posts to be like Brian’s? If you see, the home page of the blog only contains post excerpts but not the pictures inside the post, even though the picture is well inside the post excerpt. What I want to do for my website is that on the home page the posts would have a thumbnail (not necessarily the one on the post) and a little excerpt (which may or may not be a part of the post).

    I know this might actually sound lame, I am quite new on WordPress. Any help would be highly appreciated.

    Website: TechniColor | Facebook: Rajtilak Bhattacharjee



    Andrea, you are a star and thank you so much for that it was causing me such problems. Feel such an idiot that it was so simple – still learning !

    thank you





    Quick update and sorry for the change. It did work on home page but I have lost the featured image in main blog page as well. I will submit a support ticket on this. Any other suggestions welcome.





    Brilliant I simply changed the following

    'grid_image_size' => 'grid-thumbnail', to 'grid_image_size' => 0,

    and it works perfectly

    I love the logic of Genesis it is a great platform

    many thanks


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

The topic ‘Post images’ is closed to new replies.