Title: Page Attribute and theme file errors.
Last modified: February 23, 2021

---

# Page Attribute and theme file errors.

 *  [tomadamsphotography](https://wordpress.org/support/users/tomadamsphotography/)
 * (@tomadamsphotography)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/page-attribute-and-theme-file-errors/)
 * Hello all,
 * My first post to the forum so excuse me if I’ve misplaced myself.
 * I’m in need of a little help with my page attributes when it comes to editing‘
   Pages’. My attributes have doubled in the drop-down (Page attributes -> Template)
   menu but also don’t update when new page templates are created even though it’s
   visible in the webspace physically but not through the WordPress webspace viewer.
 * It’s a theme I’ve designed and was fine up until recently, I’m wondering if I
   need to change my file structure or if the page headers (see below) have changed
   and I’m not aware.
 *     ```
       <?php 
       /**
       * Template Name: Featured
       **/
       get_header(); ?>
       ```
   
 * Any help would be great,
 * thanks all.

Viewing 1 replies (of 1 total)

 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/page-attribute-and-theme-file-errors/#post-14092578)
 * The rules haven’t changed recently, but the option to specify post types that
   the template is for was added some time back.
    You didn’t specify how you named
   the files or where you put them. The name should not start with ‘page-‘, because
   that is specify to the slug of a Page. The templates should be in the root folder
   of the theme or one level under the root. WP only looks one level down. Also,
   if you are using a child theme, page templates with the same file name as the
   parent override (child version shown in list), but different file names and same
   template name will show both in the list.

Viewing 1 replies (of 1 total)

The topic ‘Page Attribute and theme file errors.’ is closed to new replies.

## Tags

 * [page attribute](https://wordpress.org/support/topic-tag/page-attribute/)
 * [template](https://wordpress.org/support/topic-tag/template/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Joy](https://wordpress.org/support/users/joyously/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/page-attribute-and-theme-file-errors/#post-14092578)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
