• 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

Remove Entry Content Issue

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 › Remove Entry Content Issue

This topic is: resolved

Tagged: content, entry, remove

  • This topic has 1 reply, 1 voice, and was last updated 10 years, 7 months ago by Porter.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • May 2, 2015 at 5:25 pm #149870
    Porter
    Participant

    I'm trying to completely remove the genesis content area on a page, as I'm using before_genesis_entry for everything, and I don't want a blank section at the bottom. For whatever reason, this isn't working:

    remove_action( 'genesis_entry_content', 'genesis_do_post_content' );

    Does that remove just the content inside that area, or does it completely remove the div and section of the page? I want that entire area to be gone, not just what's inside it. I made a custom template, and all of the code is in a function with the "before_genesis_entry" hook, which you can see here. If you look at the bottom, there's an empty area, which appears to be the entry content, but empty. How do I remove this?

    towerofgreed.com/venues/jps-pub/


    Buy me a beer? | Try DigitalOcean VPS Hosting

    May 2, 2015 at 11:06 pm #149929
    Porter
    Participant

    I ended up solving the issue, though I admit I don't entirely understand why it works. My approach was to remove the loop using:

    remove_action ('genesis_loop', 'genesis_do_loop');

    Then where I was adding my content before:

    add_action( 'genesis_before_entry_content', 'custom_do_page_content', 9 );

    I changed it to:

    add_action( 'genesis_loop', 'custom_do_page_content', 9 );

    The reason I added the content using a different hook was because anything using the entry content shared one giant background. When I added it to before_entry_content (typo in my above post), everything worked, but there was still an empty 1-line height area where the "content" was at the bottom. When I removed the loop, the entire mid section of the page disappeared (aside from the header and footer, not sure why), when I changed the hook to the loop, it removed the empty area at the bottom, and used my custom design.

    I guess my confusion is in what "genesis_loop" is actually doing to the page structure. Judging by the way I just fixed this, that function seems to contain the entire div structure for the middle area of the page, aka "entry content". Is this the case? If someone could walk me through what exactly happens here, that would help me understand my solution, and future solutions.


    Buy me a beer? | Try DigitalOcean VPS Hosting

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