[Resolved] Header Element

Home Forums Support Header Element

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #1282061

    Hi, I hope all at GP are well at this time. Just a quick question, I am using a hook element into wp_head that only runs on pages with a specific tag. The purpose is to add 3 lines of js code, is this still the best way to do this under Gutenberg or is there a better way using blocks now?

    Customer Support

    Hi there,

    thats still the best method for conditionally adding scripts to your site

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.