JohnPaulDesign
5/8/2017 - 11:48 AM

Genesis Custom pagination text

Genesis Custom pagination text

//Custom pagination text
add_filter( 'genesis_next_link_text', 'modify_next_link_text' );
function modify_next_link_text($text) {
    $text = 'Older posts';
    return $text;
}

add_filter( 'genesis_prev_link_text', 'modify_prev_link_text' );
function modify_prev_link_text($text) {
    $text = 'Newer posts';
    return $text;
}