• 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

Minimum Theme – Home and blog category pages – number of displayed posts?

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 › Minimum Theme – Home and blog category pages – number of displayed posts?

This topic is: resolved

Tagged: homepage, minimum, number of posts shown

  • This topic has 3 replies, 2 voices, and was last updated 10 years, 1 month ago by Susan.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • February 10, 2013 at 1:17 pm #19409
    MM
    Member

    Hi,

    http://www.hayleywebb.com

    On the Homepage, how do I change the number of displayed posts to 6?  I tried changing the number in Home.php, but it didn't seem to work.

    Current code shown is:

    }

    add_action( 'genesis_loop', 'minimum_grid_loop_helper' );
    function minimum_grid_loop_helper() {

    if ( function_exists( 'genesis_grid_loop' ) ) {
    genesis_grid_loop( array(
    'features' => 0,
    'feature_image_size' => 'featured',
    'feature_image_class' => 'post-image',
    'feature_content_limit' => 6,
    'grid_image_size' => 0,
    'grid_image_class' => 'alignnone',
    'grid_content_limit' => 185,
    'more' => __( 'read more', 'minimum' ),
    ) );
    } else {
    genesis_standard_loop();
    }

    }

    genesis();

     

    Any instructions appreciated. Thks!

    February 12, 2013 at 3:39 pm #19908
    Susan
    Moderator

    Under Reader Settings, set "Blog pages show at most" to 6 posts.

    February 13, 2013 at 1:03 pm #20119
    MM
    Member

    Oops... thanks Susan. Lots of different locations for settings 😉

    February 13, 2013 at 1:08 pm #20120
    Susan
    Moderator

    You're welcome, and yes, you're right 😉

    I'll close this thread as "resolved" - go ahead and start a new thread if you have another question.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Minimum Theme – Home and blog category pages – number of displayed posts?’ is closed to new 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