• 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 Excerpts On Blog Page & Full Content On Other Archives in Genesis

In this post i’ll provide the PHP code which creates a custom blog page template displaying your posts excerpts.

This post is based on this forum question:

I’ve got my blog set up using the blog page template, but I also want to have pages that show posts from another category. I assume that using an archive/category page is the way to go? If so, I would like the full content to show on the category pages, but only the excerpt on the blog page.

The code in this template overrides the Genesis > Theme Settings > Content Archives which you can set to show full content.

genesis content archives

The above settings affect any blog listings page, including archive, author, blog, category, search, and tag pages however the code in this post enables you to only display excerpts on your custom blog page while all other archives displays the full content.

Register for full access

Related Tutorials

  • Show Full Content On Category Page in Genesis
  • Add Content Before Posts On Blog Page

Blog Page

Reader Interactions

Comments

  1. mates222 says

    July 25, 2015 at 11:28 am

    The code isn’t showing on the page. Anything I can do?

    Log in to Reply
    • Brad Dalton says

      July 27, 2015 at 6:34 am

      Worked out the problem. Can’t add an opening PHP tag.

      Log in to Reply
  2. Jodi says

    June 12, 2014 at 5:55 pm

    Thanks Brad, I really appreciate the time you took to post this and explain it.

    Log in to Reply
    • Brad Dalton says

      June 12, 2014 at 5:59 pm

      You’re welcome Jodi.

      I think this is the best solution as well rather than use a custom function.

      Log in to Reply
      • Jodi says

        June 12, 2014 at 6:02 pm

        Got it. Thanks!

        Log in to Reply

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.