Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

jonolayton

Member
  • Content Count

    2
  • Joined

  • Last visited

  1. @BrandonW - thanks for a speedy and helpful reply. I don't think I should paste the code onto a public forum, but I can see how this could be done with javascript to insert into the head just on the homepage - which is what I'm trying to do. In fact, I've recently been doing something similar elsewhere. Are you thinking something similar to: var pageSlug = window.location.pathname; if (pageSlug === "") { $('head').prepend('myCustomCode'); } This would work (I think), but the only trouble is that I might not be able to declare myCustomCode as a variable because the code is full of sin
×
×
  • Create New...