• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to user navigation

PopWP

WordPress and Genesis Tutorials

  • Get Started
  • About
  • Archive
  • Services
  • Membership
  • My Account

Customize Genesis Next & Previous Page Link Text

Last Updated on September 25, 2019 Favorited: 0 times

1. Customize the Next/Newer Page Link

//* Customize the previous page link
add_filter ( 'genesis_prev_link_text' , 'dy_previous_page_link' );
function dy_previous_page_link ( $text ) {
    return '« Newer Posts';
}

2. Customize the Previous/Older Page Link

//* Customize the next page link
add_filter ( 'genesis_next_link_text' , 'dy_next_page_link' );
function dy_next_page_link ( $text ) {
    return 'Older Posts »';
}

 

Related Posts

  • Exclude Latest Post from the WordPress Loop in Genesis
  • Add Single Post Navigation In Genesis
  • Reposition Genesis Archive Pagination

Categories: Free Content, Genesis Tutorials, Snippets Tags: pagination

Reader Interactions

Comments

  1. Pamela says

    December 19, 2020 at 7:35 am

    Thanks for this tip – how would one completely remove the pagination based on the above code as everything i have tried renders the code still visible.

Primary Sidebar

Search

WPEngine WordPress Hosting, Perfected.

Hosting You are looking for?.
Perfect solution for small business to global enterprise.

Learn more

StudioPress Genesis Theme Framework

The No.1 Theme Provider.
Creative, SEO rich Theme for all niche projects.

Learn more

Categories

  • Free Content
  • Genesis Tutorials
  • Premium Content
  • Snippets
  • What's New?
  • WordPress Tutorials

Tag Cloud

Archive Background Section blog canvas menu center logo columns conditional tags CSS CSS Grid custom Customizer custom post type Custom Post Types custom template Custom Widget effect eNews Extended Featured Image front-page Genesis Genesis Sample header right hero section Image Background js layout left menu Logo menu Navigation Menu newsletter post page related posts responsive menu search search widget Shrinking Logo site header slide in-out Stylesheet Template Utility Bar Video Background widgets WordPress

Built with Genesis Framework + WordPress by Aryan Raj

  • Contact
  • FAQ
  • Disclaimer
  • Privacy Policy
  • Copyright Policy
  • Terms of Service