PHP path question
-
I’m utilizing multiple project category headers using the code below:
<?php
if ( is_home() ) :
get_header( ‘home’ );// SECOND
elseif ( is_tax( $taxonomy = ‘project_category’, $term = ‘second’) ) :
get_header( ‘second’ );else :
get_header( ‘rest’ );
endif;
?>I’m going to have many different headers, so I’d like to place them in a separate “headers” folder instead of having them in the root theme folder. So, basically they would be one level up.
Can one of you fine souls help me with the correct php to call these headers from the “headers” folder? Thanks in advance.
[Moderator Note: No bumping. If it’s that urgent, consider hiring someone instead.]
The topic ‘PHP path question’ is closed to new replies.