• 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

first post full length problem with widgetized homepage

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 › first post full length problem with widgetized homepage

This topic is: not resolved
  • This topic has 2 replies, 1 voice, and was last updated 11 years, 5 months ago by Chrys.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 4, 2014 at 7:06 am #133565
    Chrys
    Member

    Hi,

    I wanted to use this code

    remove_action( 'genesis_loop', 'genesis_do_loop' );
    add_action( 'genesis_loop', 'first_post_full_then_excerpts' );
    /**
     * @author    Brad Dalton
     * @example   http://wpsites.net/web-design/show-first-post-full-length-content-then-excerpts-in-genesis/
     * @copyright 2014 WP Sites
     */
    function first_post_full_then_excerpts() {
    if ( is_home() && function_exists( 'genesis_grid_loop' ) ) :
    genesis_grid_loop( array(
    'features'              => 1,
    'feature_content_limit' => 0,
    ) );
    else:
    genesis_standard_loop();
    endif;
    }

    To have my first blog post full length. The problem is I have a widgetized only static homepage and when I add this code, it makes the homepage area appears. And I'm only using widget on this page. How can I avoid such a problem?

    I've tried to replace if (is_home () by the id of the page where the blog is but it doesn't change a thing.

    I'm on localhost and cannot provide a link to the website. I use a custom child theme.

    Thanks

    Chrys

    December 9, 2014 at 7:03 am #134067
    Chrys
    Member

    Hi,

    Nobody has got an idea?

    December 15, 2014 at 9:12 am #134575
    Chrys
    Member

    Until today I haven' find a solution. I cannot believe this is impossible to make. 🙁

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