Skip to content

Instantly share code, notes, and snippets.

@Pavracer
Created November 7, 2017 20:23
Show Gist options
  • Save Pavracer/4441a902169dc512bb2a866ea85d076c to your computer and use it in GitHub Desktop.
Save Pavracer/4441a902169dc512bb2a866ea85d076c to your computer and use it in GitHub Desktop.
Some_code
<script>
jQuery( document ).ready(function() {
jQuery("ul.et-social-icons").append('<div id="et_top_search" ><span id="et_search_icon"></span></div>');
jQuery("ul.et-social-icons #et_search_icon").click(function(){jQuery('#main-header #et_top_search').trigger('click');});
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment