ianm Isn't it the same as adding HTML to the Appearance> Custom Header ?
SallyMelek Nope. This extension adds codes inside <head>.
<head>
So will this extension be helpful for adding to the header?
- preload - dns-prefetch - preconnect
SallyMelek yes, exactly
ianm if that's the case, I'm installing it now. And Thank you very much for creating this extension.
This extension should be a must, finally after years someone decide to release it 👍️
Time to drop my handmade extension and start using this one 😀
ianm I think one thing is missing, which is sorting them by order.
SallyMelek good point.
I think some sort of drag and drop ordering will do the trick here. I'll add that to my to-do list 🙂
Please add ability to delete entry
Ffuser1 that's there already. Check the extension settings
Ffuser1 as @[deleted] says, delete is already an option:
[deleted] it only has enable and disable. The item will still listed in the Admin when disabled.
ianm Ok. I'll try it on computer. It's not showing on mobile.
composer require ianm/html-head:"*" php flarum cache:clear
Compatible with stable 1.0?
admiralarjun seems to be ready for 1.0.
Sorry, this should have been posted back on May 20th 🙈
i am trying to add google tag manager code, i have created a code block for it and added head code
how do i add body code? should i put it in appearance > custom footer? or is there any other way to do it?
Hari https://discuss.flarum.org/d/1983-friendsofflarum-analytics-tracking-user-visits you can use this
Justoverclock i am trying to setup shareholic related posts for the same we either need to add their code in head and body or we can do it using GTM
the advantage of having GTM is we can set triggers to specific pages and add many other tags from GTM panel.