• 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

galbaras

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • June 21, 2015 at 10:12 pm in reply to: Home page with blog template not paginating #157095
    galbaras
    Participant

    OK, I've found the problem and ... (drum roll) ... it's a bug in genesis_do_loop(). There are 2 of them, actually.

    Line 30:

    $paged = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : 1;

    Should be:

    $paged = get_query_var( 'page' ) ? get_query_var( 'page' ) : 1; // "page", not "paged"

    Line 38:

    'showposts' => genesis_get_option( 'blog_cat_num' ),

    Should be:

    'posts_per_page' => genesis_get_option( 'blog_cat_num' ), // "showposts" is depracated

    If someone from the Genesis team is reading this, an update will be great. In the meantime, I've unhooked genesis_do_loop() and hooked in the correct code, so you can see the code in action on my site.

    Best regards,
    Gal

    June 18, 2015 at 5:36 pm in reply to: Home page with blog template not paginating #156718
    galbaras
    Participant

    If I set the home page to display the latest posts, other things don't happen, like Jetpack sharing buttons won't work properly.

    The question is what to do to make a static home page paginate. The "Blog" template should be done in a way that takes this into account. Supposedly, that's exactly what it's meant to do - serve as the main blog page.

    April 29, 2014 at 11:07 pm in reply to: Changing the end of blog excerpts #103037
    galbaras
    Participant

    The content archives setting is set to "Display post excerpts". I've already tried the PHP code and it worked great on the output of the Featured Posts widget, but not on archive pages.

    I've now switched to displaying 300 characters from the post content and filters work well in this setting, so I'm going to keep it, but if anyone knows the answer to my original problem, please tell me, in case the client wants to go back...

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)

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