headConsolidator

Collects output of the 'theme_head' filters, parses it into js, css, and other items. CSS or JS files with duplicate base names are reduced to just the first instance. (Paths are ignored.) In-line js is consolidated into one tag.

This is intended as an example of how one might process the output from the 'theme_head' filters.

[Note: this processing takes 0.02 seconds on my test system loading the Garland theme with reasonable collection of plugins. So it may not be appropriate to use it from a performance perspective.]

This extension has been abandoned by the ZenphotoCMS team and we provide it for archival purposes on our "unsuppported-plugins-offical" GitHub repository "as is". .

Info & download (GitHub)

For questions and comments please use the forum or discuss on the social networks.


More by author:

Related items