Created
October 12, 2017 15:01
-
-
Save richtabor/602e1ae73a2cbecaf67cd474d3649459 to your computer and use it in GitHub Desktop.
Use these filters to change the text of the "Next" and "Prev" pagination on the singular portfolio views.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ava_child_portfolio_prev_text() { | |
return 'Previous'; | |
} | |
add_filter( 'ava_portfolio_pagination_prev', 'ava_child_portfolio_prev_text', 10, 1 ); | |
function ava_child_portfolio_next_text() { | |
return 'Continue'; | |
} | |
add_filter( 'ava_portfolio_pagination_next', 'ava_child_portfolio_next_text', 10, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment