Title: PHP path question
Last modified: August 21, 2016

---

# PHP path question

 *  [wordbird](https://wordpress.org/support/users/wordbird/)
 * (@wordbird)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/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](http://codex.wordpress.org/Forum_Welcome#No_Bumping).
   If it’s that urgent, consider [hiring someone](http://jobs.wordpress.net/) instead.]_

The topic ‘PHP path question’ is closed to new replies.

## Tags

 * [category headers](https://wordpress.org/support/topic-tag/category-headers/)
 * [headers](https://wordpress.org/support/topic-tag/headers/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [wordbird](https://wordpress.org/support/users/wordbird/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/php-path-question/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
