• 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 pagination below grid loop

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 pagination below grid loop

This topic is: resolved

Tagged: remove pagination

  • This topic has 5 replies, 2 voices, and was last updated 13 years, 6 months ago by Jen Baumann.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • December 27, 2012 at 11:51 am #7702
    tamjl
    Member

    Hello -

    I'd like to remove the grid loop pagination below the grid loop on the home page and replace it with a simple button that links to my main blog page. I want my blog pages to have the normal pagination at the bottom.

    The site is http://lenski.com and is running the latest versions of WP, Genesis and the Minimum theme.

    How do I remove the pagination on the home page only and what code do I need to add in functions.php and/or home.php to allow me to place by button code in there? Thanks!

    December 28, 2012 at 4:16 pm #8017
    tamjl
    Member

    bump

    December 28, 2012 at 6:25 pm #8039
    Jen Baumann
    Participant

    Hi Tammy.

    In home.php comment out this line by adding // in front of it

    //add_action( 'genesis_loop', 'minimum_grid_loop_helper' );

    Add this to home.php

    add_action( 'genesis_before_content', 'custom_button' );
    function custom_button() {
    	echo 'Your button html';
    }

    You should be able to add whatever html you need for your button code inside the echo.

    December 28, 2012 at 6:30 pm #8042
    Jen Baumann
    Participant

    Oops, I think I misunderstood.

    Use

    remove_action( 'genesis_after_endwhile', 'genesis_posts_nav' );

    Then

    add_action( 'genesis_after_content', 'custom_button' );
    function custom_button() {
    	echo 'Your button html';
    }
    December 29, 2012 at 5:05 am #8108
    tamjl
    Member

    Jen, your second one was right on the money...thanks so much!

    December 29, 2012 at 8:11 am #8121
    Jen Baumann
    Participant

    Welcome!

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Changing pagination below grid loop’ 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

© 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