• 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 Blog posts on home page eleven40Pro

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 Blog posts on home page eleven40Pro

This topic is: not resolved
  • This topic has 3 replies, 2 voices, and was last updated 11 years, 9 months ago by Davinder Singh Kainth.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • June 24, 2014 at 9:22 am #111297
    genevishgraphics
    Member

    Hi All! Quick and hopefully easy to solve question- How can I remove all the blog posts from the eleven40 Pro home page? I have added custom widgets there, but the blog posts are still being populated below them due to the home.php code.

    June 24, 2014 at 11:18 am #111308
    Davinder Singh Kainth
    Member

    If you have put new widget on homwpage via code in functions.php file - then

    1. Rename home.php to any other name (renaming with disable it).
    2. Then add following code in functions.php file to remove default content

    add_action('template_redirect', 'child_conditional_actions'); 
    function child_conditional_actions() { 
    if( !is_singular() ) { 
    remove_action( 'genesis_loop', 'genesis_do_loop' );
    }}  
    

    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    June 24, 2014 at 11:23 am #111311
    genevishgraphics
    Member

    Thank you so much, it worked perfectly 🙂

    June 24, 2014 at 11:40 am #111319
    Davinder Singh Kainth
    Member

    Welcome!


    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

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

© 2026 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