• 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

Limit Number of Posts on Home Page (Mocha)

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 › Limit Number of Posts on Home Page (Mocha)

This topic is: not resolved

Tagged: Mocha

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 4 months ago by Deborah Robinson.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • September 26, 2013 at 8:15 pm #64408
    Deborah Robinson
    Member

    I bought the Mocha child them quite some time ago but since the 1.9 release of the Genesis framework the grid loop code on home.php doesn't allow you to limit the number of posts on the home page. Frankly, I think the Mocha theme should have been updated after 1.9 release of the Genesis framework since it was this release that caused the problems with the grid loop on the home page.

    I submitted a support ticket and was referred to the tutorial at http://www.billerickson.net/customize-the-wordpress-query/#example-category

    But this tutorial was not helpful as I don't want to exclude a category on the home page, I just want to limit the number of posts on the home page. I was told by support that I would have to customize the Mocha theme's code or hire someone to do it for me. Which is unacceptable because the Mocha child theme should have been updated with the 1.9 release which caused the theme's code to stop working as it was originally intended. Why should have to pay someone else to fix the problems Genesis developers caused in the first place?

    The website using Mocha is at the url: http://www.efashion.net.au/

    I can't add any additional posts to the website until this issue is corrected, otherwise all the posts will appear on the home page. Does anyone have a fix for this issue?

    Thank you.

    http://www.efashion.net.au/
    September 26, 2013 at 10:24 pm #64419
    Sridhar Katakam
    Participant

    Use this code: http://www.studiopress.community/topic/eleven40-theme-how-to-set-a-different-loop-for-the-homeopage/#post-56773

    Tested and working fine.


    Genesis Tutorials | Follow me on Twitter

    September 26, 2013 at 10:37 pm #64420
    Deborah Robinson
    Member

    Thank you Sridhar, that worked perfectly! Thanks for providing me with the solution.

  • 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

© 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