• 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

khoyen

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 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • March 4, 2017 at 5:01 pm in reply to: Magazine Pro – Adding pagination to bottom of homepage #202468
    khoyen
    Member

    After reaching out to StudioPress support, they were able to assist me in resolving the issue.

    You can't have any widgets in the HOME area. Took those out and now pagination works.

    Set as resolved.

    March 2, 2017 at 8:19 pm in reply to: Magazine Pro – Adding pagination to bottom of homepage #202385
    khoyen
    Member

    I don't mean to keep beating a dead horse with this one, but I've yet to resolve this pagination issue and it's driving me crazy. I've asked so many developers and no one seems to know any answers.

    Anyone out there who may be able to assist or take a look at what may be going wrong with this?

    Thank you.

    December 13, 2016 at 4:39 pm in reply to: Magazine Pro – Adding pagination to bottom of homepage #197547
    khoyen
    Member

    You had mentioned last week that based on your testing, everything worked fine. If you don't mind me asking, can you send me the code that you used?

    December 12, 2016 at 9:53 pm in reply to: Magazine Pro – Adding pagination to bottom of homepage #197501
    khoyen
    Member

    When I add the following piece of code....add_action( 'genesis_loop', 'wpsites_custom_grid_loop', 15 ); ... it reverts to the same issue I was talking about before how the numeric paginations appears twice and the articles are not appearing as they should. If you can take a look at my site, you'll see what I'm talking about.

    http://gentlemanwithin.com/

    December 11, 2016 at 11:02 pm in reply to: Magazine Pro – Adding pagination to bottom of homepage #197439
    khoyen
    Member

    How should I go about applying that function?

    December 11, 2016 at 8:26 pm in reply to: Magazine Pro – Adding pagination to bottom of homepage #197434
    khoyen
    Member

    For reference, this is what the code looks like on my front-page.php

    <?php
    /**
    * This file adds the Home Page to the Magazine Pro Child Theme.
    *
    * @author StudioPress
    * @package Magazine Pro
    * @subpackage Customizations
    */

    add_action( 'genesis_meta', 'magazine_home_genesis_meta' );
    /**
    * Add widget support for homepage. If no widgets active, display the default loop.
    *
    */
    function magazine_home_genesis_meta() {

    if ( is_active_sidebar( 'home-top' ) || is_active_sidebar( 'home-middle' ) || is_active_sidebar( 'home-bottom' ) ) {

    // Force content-sidebar layout setting
    add_filter( 'genesis_site_layout', '__genesis_return_content_sidebar' );

    // Add magazine-home body class
    add_filter( 'body_class', 'magazine_body_class' );

    // Remove the default Genesis loop
    remove_action( 'genesis_loop', 'genesis_do_loop' );

    // Add homepage widgets
    add_action( 'genesis_loop', 'magazine_homepage_widgets' );

    }
    }

    function magazine_body_class( $classes ) {

    $classes[] = 'magazine-home';
    return $classes;

    }

    function magazine_homepage_widgets() {

    genesis_widget_area( 'home-top', array(
    'before' => '<div class="home-top widget-area">',
    'after' => '</div>',
    ) );

    genesis_widget_area( 'home-middle', array(
    'before' => '<div class="home-middle widget-area">',
    'after' => '</div>',
    ) );

    genesis_widget_area( 'home-bottom', array(
    'before' => '<div class="home-bottom widget-area">',
    'after' => '</div>',
    ) );

    }

    /**
    Pagination
    */

    function wpsites_custom_grid_loop() {

    if ( function_exists( 'genesis_grid_loop' ) ) {
    genesis_grid_loop( array(
    'features' => 0,
    'feature_image_size' => 0,
    'feature_content_limit' => 0,
    'grid_image_size' => 0,
    'grid_content_limit' => 250,
    'more' => __( '[Read more]', 'wpsites' ),
    ) );
    } else {

    genesis_standard_loop();

    }

    }

    add_action( 'genesis_after_loop', 'genesis_posts_nav' );

    genesis();

    December 10, 2016 at 6:39 pm in reply to: Simple Social Icons code to reorder icons #197415
    khoyen
    Member

    Thank you, that solved it!

    December 10, 2016 at 5:00 pm in reply to: Simple Social Icons code to reorder icons #197413
    khoyen
    Member

    https://github.com/copyblogger/simple-social-icons/wiki/Reorder-icons-in-version-2.0

    December 10, 2016 at 2:49 pm in reply to: Magazine Pro – Adding pagination to bottom of homepage #197409
    khoyen
    Member

    Any advice on how to get the articles to not repeat themselves on the next page?

    December 7, 2016 at 4:52 pm in reply to: problem with Simple Social Icons after updating WordPress #197210
    khoyen
    Member

    I understand how to reorder the icons. The problem is that my icons are appearing all messed up. See the screenshot below for what I'm talking about.

    social icons messed up

    December 6, 2016 at 11:51 pm in reply to: problem with Simple Social Icons after updating WordPress #197159
    khoyen
    Member

    Same issue with me. My social icons are all messed up. I did modify the code to reorder the icons back when I first installed the plugin. Not sure how to go about fixing the issue now...

    http://gentlemanwithin.com/

    December 6, 2016 at 12:06 am in reply to: Magazine Pro – Adding pagination to bottom of homepage #197106
    khoyen
    Member

    So I only included one instance of that code you mentioned.

    The code I've pasted below is what I have at the end of my front-page.php file. It seems like everything is displaying properly now, except one thing which was an issue from before. When I click over to the "next page >>" all of the articles are repeating themselves...

    /**
    * @author Brad Dalton
    * @example http://wpsites.net/
    * @copyright 2014 WP Sites
    */
    function wpsites_custom_grid_loop() {
    if ( function_exists( 'genesis_grid_loop' ) ) {
    genesis_grid_loop( array(
    'features' => 0,
    'feature_image_size' => 0,
    'feature_content_limit' => 0,
    'grid_image_size' => 0,
    'grid_content_limit' => 250,
    'more' => __( '[Read more]', 'wpsites' ),
    ) );
    } else {
    genesis_standard_loop();
    }
    }
    add_action( 'genesis_after_loop', 'genesis_posts_nav' );
    genesis();

    December 4, 2016 at 3:23 pm in reply to: Magazine Pro – Adding pagination to bottom of homepage #197012
    khoyen
    Member

    hmmm...it seems to be appearing like this: https://www.dropbox.com/s/ouk9lf1x1721zzk/Gentleman%20Within%20-%20Style%20For%20The%20Conscious%20Man%20%2820161204%29.jpg?dl=0 in Chrome. But in Safari and Firefox, like you said, there's no pagination at all.

    December 4, 2016 at 3:01 pm in reply to: Magazine Pro – Adding pagination to bottom of homepage #197009
    khoyen
    Member

    With a direct copy and paste of the code in this link http://wpsites.net/web-design/add-custom-genesis-loop-with-pagination-after-front-page-widgets/ to the end of my front-page.php, this is the result I'm getting. You can view it live on my site here: http://gentlemanwithin.com/

    December 3, 2016 at 11:20 pm in reply to: Magazine Pro – Adding pagination to bottom of homepage #196961
    khoyen
    Member

    One more thing I noticed...I have 7 blog posts to display on the homepage and then pagination begins...But it seems that after the 7th post all the way at the bottom, instead of displaying the 8th and beyond...it is repeating post 1-7 over again without the feature image displayed. Know what could be causing this?

    Link to screenshot: https://www.dropbox.com/s/ouk9lf1x1721zzk/Gentleman%20Within%20-%20Style%20For%20The%20Conscious%20Man%20%2820161204%29.jpg?dl=0

    December 3, 2016 at 11:15 pm in reply to: Magazine Pro – Adding pagination to bottom of homepage #196960
    khoyen
    Member

    Thanks again for the fix. It worked, but there seems to be a small issue.

    Link to screenshot for reference: https://www.dropbox.com/s/5wmpuu7fflt03zv/Screen%20Shot%202016-12-04%20at%2012.13.21%20AM.png?dl=0

    November 29, 2016 at 11:33 pm in reply to: Magazine Pro – Adding pagination to bottom of homepage #196806
    khoyen
    Member

    Thanks! I'll have to try it again this weekend.

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

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