Created
June 10, 2020 10:55
-
-
Save nirbhay18/c27e3253dc6aa6bb46709e27ae09fd2a to your computer and use it in GitHub Desktop.
Stop Scrolling in the Content Grid when Filters are Clicked
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 | |
// PowerPack Content Grid prevent scroll animation on filtering | |
add_filter( 'pp_cg_scroll_to_grid_on_filter', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment