• 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

Stretch Theme – remove content from home page

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 › Stretch Theme – remove content from home page

This topic is: not resolved

Tagged: homepage, remove home content, Stretch theme

  • This topic has 10 replies, 5 voices, and was last updated 12 years, 7 months ago by thecaptclay.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • February 20, 2013 at 3:43 am #21600
    stephencounsell
    Member

    Hi,

    I  need to remove the content (post) from the home page only.

    I'm pretty green on Genesis still and can't see where the content is being set. All I see in the index.php file is genesis() and can't see any reference to home page in functions.php either.

    any help greatly appreciated.

    Steve

    February 20, 2013 at 3:50 am #21602
    Sridhar Katakam
    Participant

    Can you please provide the URL of your site?

    Are you trying to show a static Page on your site's homepage?


    Genesis Tutorials | Follow me on Twitter

    February 20, 2013 at 3:52 am #21603
    stephencounsell
    Member

    My site test URL is:

    http://1064727136.1055256391.temp.prositehosting.co.uk

    The site will have a menu top left and a background image.

    Other pages will have sliders and photos.

    Thanks

    February 20, 2013 at 3:59 am #21605
    Sridhar Katakam
    Participant

    Until someone else gives a proper solution, here's a temporary workaround.

    Add the following at the end of child theme's style.css (WP dashboard -> Appearance -> Editor):

    .home .hentry {
    display: none;
    }


    Genesis Tutorials | Follow me on Twitter

    February 20, 2013 at 4:01 am #21606
    stephencounsell
    Member

    Thanks Sridhar!

     

     

    February 20, 2013 at 8:38 am #21640
    stephencounsell
    Member

    the temp solution from Sridhar:

    .home .hentry {
    display: none;
    }

    does not really work as there is still the black content wrapper on screen.

    Anyone know what the real solution to this is?

     

    February 20, 2013 at 8:42 am #21642
    Sridhar Katakam
    Participant

    .home #content {
    display: none;
    }


    Genesis Tutorials | Follow me on Twitter

    February 20, 2013 at 9:34 am #21669
    stephencounsell
    Member

    Thanks again Sridhar.

    I'm also experimenting with home.php as the real solution but more research needed

     

    April 15, 2013 at 7:36 pm #35685
    Rahn and Dianna
    Member

    I know this is an old thread, and it looks like you got it figured out.  (Site looks good, by the way.)

    How did you end up doing it?

    Could you just create a page with no content in it, and set "use static front page?"

     


    gonesomewhere.com * oyveyaday.com * myworldofcoke.com

    April 16, 2013 at 12:25 am #35712
    Brad Dalton
    Participant

    The correct way to do this is to remove the loop so posts aren't displayed on the home page.

    Add this remove action before the closing

    genesis();

    tag in your child themes home.php file:

    remove_action( 'genesis_loop', 'genesis_do_loop' );
    

    You can then use CSS to target any of the markup or HTML elements you want to hide on the home page.


    Tutorials for StudioPress Themes.

    April 18, 2013 at 4:05 pm #36230
    thecaptclay
    Member

    I've added a home.php file and I tried removing the loop. However, if you remove the loop through an action in home.php, the stretch image vanishes. So, I kept the loop, added a widget area but also had to remove the post (via CSS).

    There has to be a better way to do this. It's serviceable right now but not how it should be.

    All I wanted to do was remove the loop (no posts on the front page) and add a widget area to the front page. Sounds simple.... but....

    Now I'm trying to figure out how to add a header image in place of the standard text. Anyone have any suggestions....?

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