Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [getheadhtml]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers

How to add Facebook pixel code to my website

How do I add the html code to the head of my website in Craft CMS? Do I need to install a plugin, or is there somewhere I can access the code?
user avatar
1 vote
1 answer

Problem with getHeadHtml(), getFootHtml() and caching

I have two problems when it comes to working with getHeadHtml() and getFootHtml(). But first things first. Here's my setup: This is my stripped down _main.twig layout file: <!DOCTYPE html> &...
user avatar
  • 555
4 votes
1 answer

getHeadHtml() not outputting CSS included with {% includeCss %}

I think there is a bug in the getHeadHtml function of craft. In the Documentation ( it says: Your CSS snippet will be output by the getHeadHtml() ...
user avatar
  • 1,317