• Skip to main content
  • Skip to primary sidebar

Purely Supplemental Hub

Just The Tech, News, and Info We Deem To Post

  • WordPress
  • Marketing
  • Business
  • Computing
  • Security
  • Publicity
  • Resources
  • WHATEVS

Display One post Then Thumbs for Older Posts in Genesis

Add the following code to a theme template file to display one post and then thumbs for previous posts in Genesis.

<?php
// remove default thumbnail display
remove_action('genesis_post_content', 'genesis_do_post_image');
// display 1 full post, the rest excerpts + thumbnails
remove_action('genesis_post_content', 'genesis_do_post_content');
add_action('genesis_post_content', 'custom_post_content');
function custom_post_content() {
    global $loop_counter;
    $paged = get_query_var('paged') ? get_query_var('paged') : 1;
    if( absint($loop_counter) == 0 && $paged == 1 ) {
        the_content();
    }
    else {
        genesis_do_post_image();
        the_excerpt();
    }
}
genesis(); // requires Genesis 1.3+

Filed Under: Code Snippets Tagged With: Code, Custom Templates, Genesis Framework, Layout

Reader Interactions

Share Your Two Cents Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

© Copyright Jack Alltrade & Associates 2026 · Purely Supplemental™ is a trademark of Jack Alltrade & Associates