Okay
  Public Ticket #2463265
insert script before end of <body>
Closed

Comments

  • michaeltpas started the conversation

    I'm asked to insert a piece of JavaScript code just before </body> and then place a button on the page that refers to it. This way, a modal (which a accommodation booking engine) should appear via a modal. Ideally, I would connect the Check Availability button with this.

    Any idea where and how to do this with Hemma?

  •  234
    Elena replied

    Sure,

    You'd need to activate the child theme first, then copy the footer.php file from the main theme folder into the child theme and add your script there.

    For more information about how child themes work: https://developer.wordpress.org/themes/advanced-topics/child-themes/

    Cheers, P.