Title: templates | Make WordPress Core

---

#  Tag Archives: templates

 [  ](https://profiles.wordpress.org/johnbillion/) [John Blackbourn](https://profiles.wordpress.org/johnbillion/)
3:15 pm _on_ October 7, 2015     
Tags: [dev-notes ( 650 )](https://make.wordpress.org/core/tag/dev-notes/),
templates, [themes ( 43 )](https://make.wordpress.org/core/tag/themes/)   

# 󠀁[single-{post_type}-{post_name}.php: New theme template in WordPress 4.4](https://make.wordpress.org/core/2015/10/07/single-post_type-post_name-php-new-theme-template-in-wordpress-4-4/)󠁿

A new theme template has been added to the theme hierarchy as of [r34800](https://core.trac.wordpress.org/changeset/34800):
single-{post_type}-{post_name}.php.  This template follows the rules of [is_single()](https://developer.wordpress.org/reference/functions/is_single/)
and is used for a single post or custom post typeCustom Post Type WordPress can 
hold and display many different types of content. A single item of such a content
is generally called a post, although post is also a specific post type. Custom Post
Types gives your site the ability to have templated posts, to simplify the concept..
It’s most useful for targeting a specific post in a custom post type, and brings
consistency to the templates available for pages and taxonomies. It comes in the
hierarchy before single.php and single-{post_type}.php.

Don’t forget, too, that in WordPress 4.3 [singular.php was introduced](https://make.wordpress.org/core/2015/07/06/singular-php-new-theme-template-in-wordpress-4-3/)
and [the hierarchy of attachment templates was fixed](https://core.trac.wordpress.org/ticket/15337).

[#dev-notes](https://make.wordpress.org/core/tag/dev-notes/), [#templates](https://make.wordpress.org/core/tag/templates/),
[#themes](https://make.wordpress.org/core/tag/themes/)

 [  ](https://profiles.wordpress.org/jorbin/) [Aaron Jorbin](https://profiles.wordpress.org/jorbin/)
7:34 pm _on_ July 6, 2015     
Tags: [4.3 ( 65 )](https://make.wordpress.org/core/tag/4-3/),
[dev-notes ( 650 )](https://make.wordpress.org/core/tag/dev-notes/), templates, 
[themes ( 43 )](https://make.wordpress.org/core/tag/themes/)   

# 󠀁[Singular.php: New Theme Template in WordPress 4.3](https://make.wordpress.org/core/2015/07/06/singular-php-new-theme-template-in-wordpress-4-3/)󠁿

A new theme template has been added to the theme hierarchy as of [r32846](https://core.trac.wordpress.org/changeset/32846):
singular.php.  This template follows the rules of [is_singular](https://developer.wordpress.org/reference/functions/is_singular/)
and is used for a single post, irregardless of post type.  It comes in the hierarchy
after single.php, page.php, and the variations of each. Themes that used the same
code for both of those files (or included one in the other) can now simplify down
to the one template.

[#4-3](https://make.wordpress.org/core/tag/4-3/), [#dev-notes](https://make.wordpress.org/core/tag/dev-notes/),
[#templates](https://make.wordpress.org/core/tag/templates/), [#themes](https://make.wordpress.org/core/tag/themes/)

 [  ](https://profiles.wordpress.org/ryan/) [Ryan Boren](https://profiles.wordpress.org/ryan/)
10:50 pm _on_ September 9, 2008     
Tags: [API ( 14 )](https://make.wordpress.org/core/tag/api/),
templates   

# 󠀁[New wp_page_menu() API that creates a me …](https://make.wordpress.org/core/2008/09/09/new-wp_page_menu-api-that-creates-a-me/)󠁿

New wp_page_menu() APIAPI An API or Application Programming Interface is a software
intermediary that allows programs to interact with each other and share data in 
limited, clearly defined ways. that creates a menu of pages. Themes will no longer
have to do this for themselves.

[#api](https://make.wordpress.org/core/tag/api/), [#templates](https://make.wordpress.org/core/tag/templates/)

 [  ](https://profiles.wordpress.org/westi/) [Peter Westwood](https://profiles.wordpress.org/westi/)
6:27 pm _on_ February 27, 2008     
Tags: [categories ( 7 )](https://make.wordpress.org/core/tag/categories/),
templates   

# 󠀁[fixoring edge cases.](https://make.wordpress.org/core/2008/02/27/fixoring-edge-cases/)󠁿

fixoring edge cases.

[#categories](https://make.wordpress.org/core/tag/categories/), [#templates](https://make.wordpress.org/core/tag/templates/)