Replies: 0
I want to change pagination text from default (<- Prev & Next ->) to just the arrows (<- & ->). I’ve localised that loop-archive.php uses function woo_pagenav() to display pagination. And from their docs https://docs.woocommerce.com/document/woo_pagination/ (Section Usage with custom arguments) I can see that you can parse an arg with pagination text.
When I replace
woo_pagenav() with $args = array( 'prev_next' => true, 'prev_text' => __( '←', 'woothemes' ), 'next_text' => __( '→', 'woothemes' ));
woo_pagination( $args );
It gives me the result I want.
Is there any differece between woo_pagenav() and woo_pagenavigation()?
How can I override this function in functions.php?
cheers, S
-
This topic was modified 12 minutes ago by
stolle95.