Skip to content

Instantly share code, notes, and snippets.

@mgibbs189
Created March 11, 2019 13:27
Show Gist options
  • Save mgibbs189/ee1c5317bd99ea5fdd6fbeb6f9b4b3fb to your computer and use it in GitHub Desktop.
Save mgibbs189/ee1c5317bd99ea5fdd6fbeb6f9b4b3fb to your computer and use it in GitHub Desktop.
Add "Load more" button after WooCommerce products
<?php
/* add to your (child) theme's functions.php */
add_action( 'woocommerce_after_shop_loop', function() {
?>
<button class="fwp-load-more">Load more</button>
<?php
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment