• 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

Force Excerpt on Category in Genesis Child Themes

Add the following code to your WordPress theme’s function.php file, or a functionality plugin to to force Excerpts on Category

add_action( 'genesis_before_loop', 'name_force_excerpt' );

function name_force_excerpt() {

  if (is_category(array(#)) ) {
		remove_action( 'genesis_entry_content', 'genesis_do_post_content' );
		add_action( 'genesis_entry_content', 'media_do_post_content' );
	}
}

function media_do_post_content() {
	the_excerpt();
}

Filed Under: Code Snippets, Genesis Framework Tagged With: Code, Genesis Framework, Layout, Post Excerpt

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