I have a shopping cart page. On that page(and others, maybe 3) I want to include a geotrust ssl seal logo.
Geotrust offers this javascript:
<!-- GeoTrust QuickSSL [tm] Smart Icon tag. Do not edit. -->
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"
SRC="//smarticon.geotrust.com/si.js"></SCRIPT>
<!-- end GeoTrust Smart Icon tag -->
They also offer other ways here: http://www.geotrust.com/support/quick-ssl-support/premium-true-site-seal/
I read the WP codex here http://codex.wordpress.org/Using_Javascript#Using_Multiple_Javascript_Files_inside_one_post_or_page.
So here's what I did. I made a js file (called geotrust.js) and pasted this code into it:
<!-- GeoTrust QuickSSL [tm] Smart Icon tag. Do not edit. -->
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"
SRC="//smarticon.geotrust.com/si.js"></SCRIPT>
<!-- end GeoTrust Smart Icon tag -->
I called the file geotrust.js and placed it in my wp-includes>js folder
Then on the cart page I pasted this:
<script type="text/javascript" src="http://www.mydomain.com/wordpress/wp-includes/js/geotrust.js"></script>
<script type="text/javascript">
<!--
geotrust();
//--></script>
Of course it's not working. I don't know javascript, so maybe I followed the directions incorrectly. What did I do wrong?
Maybe I entered the location of the js file incorrectly in src.
Thanks,
iso