I’ve taken the code of the above answer and modified it to work for me. However my issue is that I would like to display the header using the theme’s “Page Header” way. But this will be too much of a hassle if it uses a lot of inline CSS (copy pasting just the markup won’t be enough).
I have a site using GP’s built-in page header on every page, each page with its own unique header. I want to have two post categories, “News” and “Knowledge Base”. For each post category, I want to have a common header for all posts which belong to that category.
I have yet to find a simple way to do this so if there’s a simple solution that escapes me let me know.