Sticky Header on Scroll Up
Important: This snippet has been deprecated because we've released a plugin so that you can accomplish the same thing but using a plugin rather than maintaining your own custom code.
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend Code Snippets)