• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Creating a Archive Page for a Custom Post Type with Custom Excerpt?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Creating a Archive Page for a Custom Post Type with Custom Excerpt?

This topic is: not resolved

Tagged: custom post types

  • This topic has 4 replies, 2 voices, and was last updated 10 years, 8 months ago by Brad Dalton.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • September 6, 2014 at 8:11 am #123039
    Joe
    Member

    Two Questions: Creating an Archive Page/Template for a CPT & Displaying a Custom Excerpt in that page/template

    I created a custom post type (called games) using the Types plugin.

    Now I want to create an archive page template just for that custom post type.

    I was reading a tutorial and it said to copy your themes archive.php file, and rename that and use it as a base to work from, but my child theme (Magazine Pro) or Genesis don't seem to have one.

    I see there is a page_archive.php file in Genesis, is that what I should use? If so do I copy and rename it page_archive-games.php

    Question Two:
    On that archive page I want to display an image from the post, and also some custom text that isn't actually in the post itself.

    I guess this could be pulled from a custom field or the Excerpt field/box on the post editor screen?

    Would it be possible to display this text on the archive page with an image from the post?

    Any pointers would be much appreciated!

    Thanks.


    Totally new to Genesis modifications and barely competent in theme development in general.

    September 6, 2014 at 10:52 am #123057
    Brad Dalton
    Participant

    This is what i would use without the plugin:

    And use the excerpts meta box to add custom content to your CPT archives.


    Tutorials for StudioPress Themes.

    September 6, 2014 at 11:21 am #123061
    Brad Dalton
    Participant

    Here's the result http://wpsites.net/web-design/basic-genesis-archive-page-template-for-custom-post-type/


    Tutorials for StudioPress Themes.

    September 12, 2014 at 4:29 am #124085
    Joe
    Member

    Thanks for that.

    Is there a way to display the HTML of the post excerpt on an archives page without having to enter the content again in the excerpts meta box?

    I don't mind manually adding the <!--more--> tag if necessary.

    Thanks.


    Totally new to Genesis modifications and barely competent in theme development in general.

    September 12, 2014 at 4:45 am #124087
    Brad Dalton
    Participant

    Try this http://wpsites.net/wordpress-tips/add-back-html-tags-stripped-from-content-limit-excerpts-in-wordpress/


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble