• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

Display Posts As Excerpts or Full Content For Specific Categories On Any Archive

This home.php template file enables you to display your posts as an excerpt or the full post content depending which category the post is assigned to.

In other words, you can display some posts as excerpts and some displaying the full posts content, all on the same archive page.

All you need to do is swap out the category i.d’s in the code with your own.

The code overrides the Genesis > Theme Settings > Content Archive > Display settings only for the archive you have used to name the file:

display

Any categories not included in the code can be displayed as excerpts or in full.

Here’s the template file for members:

Register for full access

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.