Override header.php or get_header() in the theme
-
Hello Guys!
I’m building a plugin thats modify header like adding background colors, replace logo etc. I want it to override the theme’s
header.php
orget_header()
function from my plugin also I wanted the original theme’sheader.php
stays there in the theme.Creating a plugin that can work on all themes is not possible since WordPress does not have a clear “filter” or “action” hooks for header Its just a simple file named header.php. Thats why my plugin only supports three themes. Unfortunately all these three themes have different functionality for their header. So any suggestions or ideas will make my life easier ??
Thanks
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Override header.php or get_header() in the theme’ is closed to new replies.