Title: PAGES-Template
Last modified: August 19, 2016

---

# PAGES-Template

 *  Resolved [yourslovingly](https://wordpress.org/support/users/yourslovingly/)
 * (@yourslovingly)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/pages-template/)
 * Hi, I have this certain header and I intend to use it only on the main page, 
   anyway for me to adopt different header for other pages that I’ve created? Help
   needed, wordpress noobie here 🙂 thanks in advance!

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

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/pages-template/#post-1229732)
 * In your other templates (e.g. [page templates](http://codex.wordpress.org/Pages))
   you can use these conventions to call different headers, footers, sidebars:
 * * get_header(‘myheader’) will include header-myheader.php
    * get_footer(‘myfooter’)
   will include footer-myfooter.php * get_sidebar(‘mysidebar’) will include sidebar-
   mysidebar.php
 * Related:
    [Templates](http://codex.wordpress.org/Templates) [Stepping Into Templates](http://codex.wordpress.org/Stepping_Into_Templates)
   [Template Hierarchy](http://codex.wordpress.org/Template_Hierarchy)
 *  Thread Starter [yourslovingly](https://wordpress.org/support/users/yourslovingly/)
 * (@yourslovingly)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/pages-template/#post-1229733)
 * thank you michael! shall test it out and see how it goes 🙂
 *  Thread Starter [yourslovingly](https://wordpress.org/support/users/yourslovingly/)
 * (@yourslovingly)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/pages-template/#post-1230021)
 * Hi,
 * I’ve tried creating a new “my page” template with this code included: get header(‘
   myheader’). Uploaded the new myheader.php.
 * I can select my page template to be used but I am seeing the old header appearing
   on site. Did I miss out anything in order to use a different header?
 * Thanks.
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/pages-template/#post-1230022)
 * > Uploaded the new myheader.php.
 * I’d think if you rename that file to `header-myheader.php` it would work.
 *  Thread Starter [yourslovingly](https://wordpress.org/support/users/yourslovingly/)
 * (@yourslovingly)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/pages-template/#post-1230023)
 * thanks, it really worked. however the template displays wrong header image file.
   where should I tweak in order to point to the correct new header image? Thanks!
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/pages-template/#post-1230024)
 * I should point you to [Designing_Headers](http://codex.wordpress.org/Designing_Headers).
 *  Thread Starter [yourslovingly](https://wordpress.org/support/users/yourslovingly/)
 * (@yourslovingly)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/pages-template/#post-1230028)
 * thank you!

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

The topic ‘PAGES-Template’ is closed to new replies.

 * 7 replies
 * 2 participants
 * Last reply from: [yourslovingly](https://wordpress.org/support/users/yourslovingly/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/pages-template/#post-1230028)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
