Created
July 1, 2023 02:38
-
-
Save KaineLabs/6d2133c3fddb3706bdcd55e9907cbffd to your computer and use it in GitHub Desktop.
Youzify - BuddyPress Prevent Comments Scroll
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 | |
// Youzify - BuddyPress Prevent Comments Scroll | |
add_action('wp_footer', 'youzify_prevent_comments_scroll'); | |
function youzify_prevent_comments_scroll() { | |
?> | |
<script type="text/javascript"> | |
var youzify_prevent_comments_scroll = 'on'; | |
</script> | |
<? | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment