Menu

Thinkifc Headers vs Footer: Code insertion

I am trying to insert a javascript code and the documentation says to insert it in the header but I only see an option for footer in the Advanced Settings. Does it matter where I insert the code? I have successfully used the same code with Squarespace and Teachable without any issue but I can't get it to work with Thinkific.


The script is to render math symbols on web pages.

<script type="text/javascript" async
  src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>

Thanks


1 person has this question

Hi there!


Although instructions often tell you to put javascript in the header, most things work in the footer code too ;)


If you try it and it doesn't work, you can access the header for your site using our Themes feature (screenshot below)


image


Hope that helps, but feel free to reach out if you get stuck at any point!


Thanks,

Catherine

I've tried adding the matjax script inclusion in theme wide and site wide script header and footer scripts, yet it is still not working.

Any other tips?

Hi Clancey!


Where are you trying to use the MathML? Is it for content within the course itself?


If so, I know we were looking into some solutions for that. My recommendation would be to get in touch with our technical team directly to discuss this in more detail.


Thanks!

Catherine

Login to post a comment