• 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

Eleven40 Home Page Post Empty Spot Problem

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 › Eleven40 Home Page Post Empty Spot Problem

This topic is: not resolved
  • This topic has 1 reply, 2 voices, and was last updated 9 years ago by mauiman.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • March 4, 2014 at 8:52 pm #93460
    Helen
    Member

    Hi, The site I am having a problem with is ----- http://tomshachtman.com/ I added a second featured full width post and changed home.php to - see below.... Actually, the 'features' change to 2 is working, and I have tried changing the posts per page to a number of different values, but nothing is correcting the problem I am having - which is there is an empty spot where the last post should be and the last post is appearing by itself on a second page, even though there is room and an empty spot for it? Has anyone else expereinced this? I don't know why it is happening and how to correct?:

    <?php

    remove_action( 'genesis_loop', 'genesis_do_loop' );
    add_action( 'genesis_loop', 'eleven40_grid_loop_helper' );
    /** Add support for Genesis Grid Loop */
    function eleven40_grid_loop_helper() {

    if ( function_exists( 'genesis_grid_loop' ) ) {
    genesis_grid_loop( array(
    'features' => 2,
    'feature_image_size' => 0,
    'feature_image_class' => 'alignleft post-image',
    'feature_content_limit' => 0,
    'grid_image_size' => 'grid-thumbnail',
    'grid_image_class' => 'alignnone',
    'grid_content_limit' => 370,
    'more' => __( '[Continue reading]', 'genesis' ),
    'posts_per_page' => 7,
    'cat' => 23,
    ) );
    } else {
    genesis_standard_loop();
    }

    }

    genesis();

    March 4, 2014 at 10:26 pm #93469
    mauiman
    Member

    Hi Helen - Great looking site! Did you click on 'Reading' under 'Settings' in the admin area to check the number of blog posts to present?

  • 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

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