How to customise the header with a plugin?

Sitepoint use a plugin to override the header.
Take a look here: