Custom Header for custom post type & pages


Hello,

i have create a custom post type named "Portfolio", and i want it to have a different header from the default beans one. I created a header in "header-portfolio.php" which i can use on custom pages like this

if(is_page(7)) { get_header('home'); } else { get_header(); } wp_head();

I wanted to know how i can do that using the tm-beans approach cause i dont feel the way i am doing it atm is the best way.

So if you would be kind enough to guide me on how to add my custom headers on pages and on custom post types.

Many Thanks Evan

Write a reply

Login or register to write a reply, it's free!