Relationship between default.php and header.php?
Permalink 1 user found helpful
I am confused.
Both default.php and header.php (inside the elements directory of the theme I am using) seem to have some of the same code.
Which does what?
And which one takes precedence over the other one?
Any help to understand this would be appreciated.
Thanks.
Carlos
Both default.php and header.php (inside the elements directory of the theme I am using) seem to have some of the same code.
Which does what?
And which one takes precedence over the other one?
Any help to understand this would be appreciated.
Thanks.
Carlos
the header.php isn't used unless the default.php includes it using $this->inc('/elements/header.php'); its a totally optional file, its more for organization
Thanks very much for your fast response Mnkras. I understand now.
Carlos
Carlos