Title: change the php?
Last modified: August 19, 2016

---

# change the php?

 *  [A2annie](https://wordpress.org/support/users/a2annie/)
 * (@a2annie)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/change-the-php/)
 * hi-
 * I am having some issues with my own created templates working properly. (but 
   am making headway)
    I’ve changed get_header() to get_header2() is that unacceptable?
   That file is uploaded too. header2.php I’ve now tried with get_header() and it
   works. The only difference between header.php and header2.php is the title. I
   want them to have unique titles
 * again, I am not fluent in php, but do know my way around code html/css
 * Anyway, it does seem to be working now with get_header(), but I am concerned 
   about not being able to use get_header2()
 * What is the best solution here? I am trying to pull up a different header file

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/change-the-php/#post-939232)
 * > I’ve changed get_header() to get_header2()
 * thats not going to work. you cant just create calls to functions that arent defined.
 * get_header actually does something — it’s a function, its defined.
 * You can probably create you own function for that and put it inside your theme’s
   functions.php – I say probably because Ive not done it.
 * Short of that, there are examplesx of how to manipulate the title(s) in the codex
   and all these very forums.
 *  [ronchicago](https://wordpress.org/support/users/ronchicago/)
 * (@ronchicago)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/change-the-php/#post-939245)
 * the way i get various alternate files is with this command
 * in place of…
 * >  get_header()
 * try this…
 * >  <?php include (TEMPLATEPATH . ‘/header2.php’); ?>
 * i have only done it on one theme and i don’t know if this is a universal command
   or theme-specific. but try it 😉
 * i’d be interested to know if it works universally ;-)))
 *  [iridiax](https://wordpress.org/support/users/iridiax/)
 * (@iridiax)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/change-the-php/#post-939247)
 * Yes, I just use TEMPLATEPATH too.
 * More info: [http://codex.wordpress.org/Include_Tags](http://codex.wordpress.org/Include_Tags)
 *  Thread Starter [A2annie](https://wordpress.org/support/users/a2annie/)
 * (@a2annie)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/change-the-php/#post-939591)
 * thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘change the php?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [A2annie](https://wordpress.org/support/users/a2annie/)
 * Last activity: [17 years, 3 months ago](https://wordpress.org/support/topic/change-the-php/#post-939591)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
