• 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

Changing the Number of posts on the homepage in Balance theme

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 › Changing the Number of posts on the homepage in Balance theme

This topic is: resolved

Tagged: balance theme, homepage, homepage layout, number of posts, number of posts displayed

  • This topic has 6 replies, 2 voices, and was last updated 12 years ago by CreativeKristi.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • November 8, 2013 at 9:02 am #71672
    CreativeKristi
    Member

    So I've looked in all the usual places in the balance theme & I can't get the number of posts shown on the homepage to change. The demo shows five posts with one as the 'featured' or 'larger' post at the top. This makes it so that there are an even number of 'shortened' posts at the bottom.
    On my client's site you can see that she has 10 posts with one post that is just 'hanging' at the bottom but page 2 shows an even number. I would like to change the homepage to show 11 posts so that there is one featured and 10 shortened posts under. I did NOT specify 10 posts to show up...they just did.

    I tried going to Theme Settings but changing the number of posts to show on the blog page template doesn't change the homepage.

    I also tried going to Appearance-->editor-->home.php and changing the 'posts_per_page' to 11(it was set at 5 like the demo) but it did nothing on this homepage. There is nothing in the functions.php I can find for the homepage number of posts.

    Ideas?
    Running latest versions of wordpress, genesis and the child theme. No known plugin issues since I deactivated them all and turned them on one by one and none of them affected the homepage.


    I work at Creative Kristi Designs
    I play at Creative Kristi
    Affordable. Beautiful. Personal. Custom. Design for everyone.

    http://notyourmothersmenopause.com/
    November 8, 2013 at 12:03 pm #71703
    nutsandbolts
    Member

    In the grid loop in your home.php, look at the number set for features and teasers. The number of features is the number of full length posts, and teasers is the number of grid posts. If you change that, it should change the number of posts that display. (The posts_per_page setting has been deprecated and no longer works from what I can tell.)


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    November 18, 2013 at 10:11 am #73951
    CreativeKristi
    Member

    Andrea,
    You can see in my original post that I had already tried that. No matter, I got something else figured out.
    Thanks though!
    -Kristi


    I work at Creative Kristi Designs
    I play at Creative Kristi
    Affordable. Beautiful. Personal. Custom. Design for everyone.

    November 18, 2013 at 10:16 am #73952
    nutsandbolts
    Member

    Actually you said you changed the posts_per_page setting but didn't mention changing the number of features and teasers. Nonetheless, I'm glad you got it working.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    November 18, 2013 at 10:37 am #73959
    CreativeKristi
    Member

    Correct--That's all that is in the home.php for changing posts. I didn't see anything else?

    if ( function_exists( 'genesis_grid_loop' ) ) {
    	
    		genesis_grid_loop( array(
    			'features' => 1,
    			'feature_image_size' => 0,
    			'feature_image_class' => 'align none post-image',
    			'feature_content_limit' => 0,
    			'grid_image_size' => 'grid',
    			'grid_image_class' => 'align none post-image',
    			'grid_content_limit' => 0,
    			'more' => __( 'Continue reading...', 'genesis' ),
    			'posts_per_page' => 11,
    		) );

    Am I just not seeing what you are talking about? If the post per page was depreciated then the other thing should be there correct?


    I work at Creative Kristi Designs
    I play at Creative Kristi
    Affordable. Beautiful. Personal. Custom. Design for everyone.

    November 18, 2013 at 10:45 am #73960
    nutsandbolts
    Member

    Well, you do have the option to set the number of features:

    genesis_grid_loop( array(
    			'features' => 1,

    I just looked at a client site using the same older grid loop. It's getting the number of posts on the page from Settings > Reading (overriding the Genesis theme settings), then it displays the number of features set in the grid loop, followed by the difference between the two for the number of grid posts. So in this case, Settings > Reading is set to five and features are set to 1, so it's showing 1 full post and 4 grid posts. Hopefully that helps.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    November 18, 2013 at 10:55 am #73964
    CreativeKristi
    Member

    I see the featured posts setting but didn't see the 'teasers' setting you had mentioned. I had set the Reading settings to 11 as well and it didn't change anything--which is why I came here to ask what to do haha.

    I ended up putting a fresh functions.php on the site for other reasons and changing the post_per_page worked after that. Oh well.

    Thanks for the reply! 🙂


    I work at Creative Kristi Designs
    I play at Creative Kristi
    Affordable. Beautiful. Personal. Custom. Design for everyone.

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