• 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

question about hiding post content

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 › question about hiding post content

This topic is: resolved

Tagged: remove_action

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 2 months ago by Kevin.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • September 15, 2013 at 11:02 pm #62773
    Kevin
    Member

    I created a CPT and ACF for a website. On my archive-cpt.php page I only want the post titles showing (not the content) I used
    remove_action( 'genesis_post_content', 'genesis_do_post_content' );
    on the archive-cpt.php page but the content of the post is showing on this page. Is there a way to only show titles and then show content on single-cpt.php page? (the content works fine on the single page)

    September 15, 2013 at 11:40 pm #62778
    nunotmp
    Member

    If the content is still showing you may be using html5? The hook has changed so you need to use
    remove_action( 'genesis_entry_content', 'genesis_do_post_content' );


    Genesis Child Themes – Follow Me

    September 16, 2013 at 4:29 am #62796
    Kevin
    Member

    I tried that but it's not HTML5. I'm using the education child theme

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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