Last active
December 25, 2021 16:07
-
-
Save neps-in/55aa8c338a1d71a0930786db4b5a3785 to your computer and use it in GitHub Desktop.
Expertrec custom search embed code
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
<!-- paste the entire code where you would be using your search box --> | |
<script type="text/javascript"> | |
(function() { | |
// Get your API Key at expertrec.com by creating a free account. | |
var id = 'your_api_key'; | |
var ci_search = document.createElement('script'); | |
ci_search.type = 'text/javascript'; | |
ci_search.async = true; | |
ci_search.src = 'https://cse.expertrec.com/api/js/ci_common.js?id=' + id; | |
var s = document.getElementsByTagName('script')[0]; | |
s.parentNode.insertBefore(ci_search, s); | |
})(); | |
</script> | |
<!-- paste the below code where you want your expertrec search box --> | |
<ci-search></ci-search> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment