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

EFAFAdmin

Member
  • Content Count

    2
  • Joined

  • Last visited

  1. Site URL: https://evergreenfineartsfestival.com Hi my site has many pages that include the current year and some other data. I'm trying to inject that data via the head tag by clicking into Settings->Advanced->Code Injection, then on the pages using a code block to access the data. The code injection is: <script type="text/javascript"> var year = "2021"; var lastYear = "2020"; var nextYear = "2022"; var event = "55th"; var friday = "27"; var saturday = "28"; var sunday = "29"; function docWrite(variable) { document.write(variable)
×
×
  • Create New...