Skip to content

Reply To: Is there a way to insert javascript to display something at the bottom of header

Home Support Support Tickets Is there a way to insert javascript to display something at the bottom of header Reply To: Is there a way to insert javascript to display something at the bottom of header

#6830
Damian Baker
Participant

Hi Susan,

Thanks for your support question.
You can certainly insert JavaScript at the bottom of the header. You need to enclose the JavaScript with the usual declaration tags:


<script type="text/javascript">
// your JavaScript code here
</script>

You can then assign your code block to the page or post that you need to, and so long as the output location hook is set to Header and not Footer, that is where it will be.

If you want finer control of code placement, consider using CJT Shortcodes instead of say assigning your code block to a page or post in the Assignment Panel. The shortcode embedder button is situated in your page/post editor toolbar.

If you tried this and need further help, feel free to email us on: support@css-javascript-toolbox.com
Maybe send your website admin (or temp admin) login credentials, and provide more detail on what it is you are trying to do.

Thanks,
Damian