• Resolved thesureshg

    (@thesureshg)


    Hey Hi,

    is it possible to deploy the code via your plugin right after opening <head> tag?

    Should I tweak any code or functions to make it happen? Or any other option?

    Thanks in advance.
    Suresh

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author 99robots

    (@99robots)

    @thesureshg – Apologies for the late response, I’m just seeing this ticket.

    To set a specific snippet to be first, for now the easy and quick workaround is just to change the Name and Snippet Code of whatever is currently first on your list and replace it with the one you want to be load first. That’ll work. Of course, then don’t forget to re-add the one your replaced.

    I’ll close this ticket.

    Thread Starter thesureshg

    (@thesureshg)

    Hey there,

    No problem at all.

    I have one code per page. but I wanted that one code to be fired right after the <head> tags..

    Right now, the HFCM code injector is sowmewhere in between the <head </head> tags.

    Thanks
    Suresh

    Plugin Support 99robotsteam

    (@99robotsteam)

    Hi Suresh,

    Our plugin uses the mechanisms provided by WordPress to insert code at the top of the head tag, however, due to the fact that many other products can also be inserting code at the top of the head, such as the theme or other plugins, it’s impossible for us to guarantee that it absolutely appears right after the beginning <head> tag.

    Thanks for using our plugin!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deploy the code Right after the opening tags?’ is closed to new replies.