• 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

Costom post type the_excerpt not showing

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 › General Discussion › Costom post type the_excerpt not showing

This topic is: not resolved

Tagged: archives, Custom Post Type, the_excerpt

  • This topic has 1 reply, 2 voices, and was last updated 12 years, 3 months ago by David Chu.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • February 27, 2013 at 11:44 am #23128
    aaronsummers
    Member

    I'm using the easy digital downloads plugin which uses custom post type to display the content, I have custom archive pages set up and am trying to display a snippet of the main body content.

    using:

    add_action('genesis_post_content','the_excerpt');

    Does Genesis recognise CPT's ?

    February 27, 2013 at 3:04 pm #23167
    David Chu
    Participant

    Hi,

    As far as I know, I don't think a Custom Post Type will be added to the default WordPress loop without telling the theme that it's there, Genesis or not.  I know that when I make them, I make a special template to display them.

    Also, when the CPT is defined, it can be "excerpt-enabled", or not, by the developer.  So to determine that, one might need to examine the plugin code.

    I'm guessing that your plugin uses its own template(s) to display the CPT, you could have a look at that.  Maybe that's where you could set it up to use the excerpt.  I know that with some plugins, you can even put a template/script into your own theme's folder and hack it without disturbing the original plugin code.  Its documentation may have info about that.

    If I'm wrong, hopefully some uber-developer will correct me.  🙂   Hope that helps.

    Dave


    Dave Chu · Custom WordPress Developer – likes collaborating with Designers

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Discussion’ 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