Created
March 11, 2019 13:27
-
-
Save mgibbs189/ee1c5317bd99ea5fdd6fbeb6f9b4b3fb to your computer and use it in GitHub Desktop.
Add "Load more" button after WooCommerce products
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 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