Search code examples
phptemplatesjoomla

How to edit the Joomla template header?


Basically, I am just trying to slightly modify my Joomla template.

There is a line of code within the <head> of my template that is obviously grabbing things such as meta description, meta keywords and title tags.

Here is the code <jdoc:include type="head" />

I would like to know where this code is located since I would like my title tag above both my meta description and meta keywords.

Is this possible?


Solution

  • Try this,

    Its not recommended editing core files.

    You can find the meta and title section of the Joomla sites.

    libraries\joomla\document\html\renderer\head.php
    

    contains a function fetchHead()

    Hope its helped...