feel free to keep it strictly simple...

page headers

Include header and footer files

There is only ONE method to be called in the head section of a page template:

 get_page_headers(); 

or for the footers

 get_page_footers(); 

This includes all frontend.css and frontend.js of any module used on a page (or any module of type 'snippet'), and each file listed in a headers.inc. or footers.inc file of each addon and template.

You can use this for both Frontend templates and Backend themes.

The function is downward compatible and automatically loads the following files of all modules used on a page (if exist):

  • /frontend.css (media: all)
  • /css/frontend.css (media: all)
  • /frontend_print.css (media: print)
  • /css/frontend_print.css (media: print)
  •