Created
April 11, 2017 22:20
-
-
Save braginteractive/9d8e2239a1f97792bdadda4de49a0b0f to your computer and use it in GitHub Desktop.
Toggle the search bar in WordPress
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
jQuery(document).ready(function($){ | |
$('.fa-search').on('click', function() { | |
$('.search-bar').slideToggle(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment