Home › Forums › Support › Add Code to Header This topic has 7 replies, 2 voices, and was last updated 7 years ago by David. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts May 1, 2019 at 5:05 am #885389 Daniel Hi, I would like to add some code to my header. I see previous questions on this have been answered refering to ‘GP hooks’? What are these hooks? I don’t see them anywhere and I have everthing enabled. Thanks Daniel Gillen May 1, 2019 at 5:44 am #885428 DavidStaff Customer Support Hi there, Hooks are part of the Elements module: https://docs.generatepress.com/article/elements-overview/ Hooks are just places in the themes coding that allows you to insert code or other data. You will want to select the WP_head hook in the hook list for adding code to the site header. May 1, 2019 at 5:59 am #885446 Daniel I am trying to add this code but it wont work: <script src=”https://8792c80d8c0e438dbe647b77c12045e0.js.ubembed.com” async></script> I have it set to wp-head execute short codes and execute php are both unselected. It’s set to apply to all users. Thanks Daniel May 1, 2019 at 6:04 am #885451 DavidStaff Customer Support Did you set the Display Rule Location? ie. to Entire Site You can uncheck Execute PHP and Shortcodes as that doesn’t apply for adding scripts like that. May 1, 2019 at 6:07 am #885455 Daniel Yes its set to the entire site. PHP and shortcodes are unchecked. It doesn’t work. May 1, 2019 at 6:12 am #885460 DavidStaff Customer Support I can see the script in the head: May 1, 2019 at 6:16 am #885466 Daniel Thanks, I have raised with Unbounce to see if the fault is at their end May 1, 2019 at 6:42 am #885481 DavidStaff Customer Support You’re welcome. Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In