Embedding code
-
I am not familiar with code, but I do know how to find it and embed it…but it is not showing up on the blog. I read through the supported codes on WordPress, but I don’t know what that means! Here is the current code I am trying to embed (for a custom search engine on google):
<script>
(function() {
var cx = ‘005471609651235465088:4awoextzpa4’;
var gcse = document.createElement(‘script’);
gcse.type = ‘text/javascript’;
gcse.async = true;
gcse.src = (document.location.protocol == ‘https:’ ? ‘https:’ : ‘http:’) +
‘//www.google.com/cse/cse.js?cx=’ + cx;
var s = document.getElementsByTagName(‘script’)[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
<gcse:search></gcse:search>Any help would be appreciated!
The blog I need help with is: (visible only to logged in users)
-
We bloggers cannot use JavaScript on any free hosted WordPress.com blog for security reasons.
http://en.support.wordpress.com/code/ -
-
- The topic ‘Embedding code’ is closed to new replies.