Site logo

Archived topic

Inserting Javascript

4 replies · Started by Aaron Harms on March 6, 2019

Viewing posts 1–5 of 5

I'm wondering where I need to place this bit of javascript code. This code is supposed to display a linked image from TrustWave on our billing page. I obtained the code directly from TrustWave. I tried adding it to the after_entry_title hook , but it does not display.

Is it even possible to add javascript code like this to a hook?

<script type="text/javascipt" src="https://sealserver.trustwave.com/seal.js?style=invert&code=03460580158f41c888b1b3dce7ea5f6f"></script>

Thanks,
Aaron

Hey Leo, Thanks! Any insight into how I display this image onto a certain page of my site, if I'm adding the code to wp_footer? Thanks in advance!

I just realized that I had a mistake in the javascript code. This is now working and I've kept it in the after_entry_title hook. Thanks!

Glad you figured out :)

This archived topic is closed to new replies.