Created
October 30, 2015 20:13
-
-
Save danfisher85/7dbe0e008403ea6938f9 to your computer and use it in GitHub Desktop.
Change arrows for pagination (woocommerce)
This file contains 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
<?php | |
add_filter( 'woocommerce_pagination_args', 'rocket_woo_pagination' ); | |
function rocket_woo_pagination( $args ) { | |
$args['prev_text'] = '<i class="fa fa-angle-left"></i>'; | |
$args['next_text'] = '<i class="fa fa-angle-right"></i>'; | |
return $args; | |
} |
Nice code snippet, Thanks!
Nice, Thanks! How to wrap each link to span?
Thanks for this, I threw it in my child theme functions.php and it worked instantly.
Is it still right for the new version?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been trying to figure this out forever. Yours is the only solution that's worked for me. Thank you!