Skip to content

Instantly share code, notes, and snippets.

@ThierryA
Last active October 4, 2015 14:14
Show Gist options
  • Save ThierryA/89bc2896a824362a8237 to your computer and use it in GitHub Desktop.
Save ThierryA/89bc2896a824362a8237 to your computer and use it in GitHub Desktop.
Beans: replace WooCommerce pagination with Beans pagination.
<?php
// Do not include the opening php tag if it is already included in your file.
// Replace WooCommerce pagination with Beans pagination..
remove_action( 'woocommerce_after_shop_loop', 'woocommerce_pagination', 10 );
add_action( 'woocommerce_after_shop_loop', 'beans_posts_pagination' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment