[Support request] wp_head hook question

Home Forums Support [Support request] wp_head hook question

Home Forums Support wp_head hook question

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1534825
    Steve

    Please forgive my ignorance, but can I put more than one script (eg Adense code and Google Analytics code) in the same wp_head hook or do I need a separate one for each code?

    Thanks

    #1534830
    David
    Staff
    Customer Support

    Hi there,

    you can add as many scripts to a single wp_head hook as you want.
    Some users prefer an individual hook for each script as it allows them to set different display rules for each, or so they can disable scripts individually.

    Either method is good though.

    #1534833
    Steve

    Thank you David – I assumed it would be the case but wanted to check – Thanks for your very quick response!

    #1534840
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.