Title: Single Post Template
Author: Nathan Rice
Published: <strong>Òkúdù 26, 2009</strong>
Last modified: Igbe 19, 2013

---

Ṣàwárí àwọn plugin

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

![](https://s.w.org/plugins/geopattern-icon/single-post-template.svg)

# Single Post Template

 Láti ọwọ́ [Nathan Rice](https://profiles.wordpress.org/nathanrice/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/single-post-template.1.4.4.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/single-post-template/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/single-post-template/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/single-post-template/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/single-post-template/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/single-post-template/)

## Àpèjúwe

The Single Post Template plugin adds the ability for your theme to include “Post
Templates” in much the same way you can add “Page Templates”, allowing you to choose(
via a simple dropdown) which post template you want to use, on a per-post basis.

All you need to do, after installing and activating the plugin, is create one or
more “Post Templates” in your themeÌtumọ̀ Yorùbá: ’s folder, and when creating or
editing a post, choose the post template that you would like to use. If no post 
template is selected, the default template will be used.

### 1.2

 * Minor update

### 1.3

 * Copied methodology of WordPress [get_page_templates()](http://xref.yoast.com/trunk/_functions/get_page_templates.html)
   function
 * Added 2.9 compatibility
 * Ensured 2.8 backward compatibility

### 1.4

 * Compatibility with up to WordPress 3.6
 * Build a class for better namespacing and to avoid conflicts with Genesis

### 1.4.1

 * Fix admin bug

### 1.4.2

 * Fix bugs, feel sorry for myself

### 1.4.3

 * Fix another bug, loathe myself

### 1.4.4

 * Fix issue with default template not loading

## Àwọn àwòrán ìbòjú

[⌊This is what the top of your new Post Templates should look like⌉⌊This is what
the top of your new Post Templates should look like⌉[

This is what the top of your new Post Templates should look like

[⌊This is the new box that this plugin adds to your post edit screen⌉⌊This is the
new box that this plugin adds to your post edit screen⌉[

This is the new box that this plugin adds to your post edit screen

## Ìgbéwọlẹ̀

**Installation**

 1. Upload the entire `single-post-template` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Create Post Templates in your themeÌtumọ̀ Yorùbá: ’s folder, as described in Usage

**Usage**

After you have installed the plugin, youÌtumọ̀ Yorùbá: ’ll need to create some Post
Templates to use. In order to create a Post Template, either duplicate your default
single post template, or create a new template file. Insert the following code at
the very top of the file:

    ```
    <?php
    /*
    Single Post Template: [Descriptive Template Name]
    Description: This part is optional, but helpful for describing the Post Template
    */
    ?>
    ```

_See Screenshot #1 for what this might look like in your code editor_

Once you have created a new Post Template, either edit or create a new post, and
directly underneath the post content box, you should see a new box labeled “Single
Post Template”. Choose the Post Template you want to use and publish or update the
post.

_See Screenshot #2 for what this might look like in your post edit screen_

## FAQ

### How do I create new Post Templates?

Please see the Installation -> Usage section for details on how to create new Post
Templates.

### How do I use the Post Templates I created?

Please see the Installation -> Usage section for details on how to use Post Templates.

### Can I include this plugin in my theme for distribution?

Yes. Source credits for the plugin should remain intact, per GPL requirements.

### How do I include this plugin in my theme for distribution?

If you donÌtumọ̀ Yorùbá: ’t know how to do this, you will need to contact me for
instructions. I do charge a consulting fee for this service.

### I have a question that wasnÌtumọ̀ Yorùbá: ’t covered in the FAQ. Can I contact you?

Please [email me](http://www.nathanrice.net/contact/) or [@nathanrice](http://twitter.com/nathanrice)
me on Twitter.

Because I try to offer personal email support, I do ask that you compensate me for
the time I spend helping you. This can run anywhere from $10 for simple support,
up to $125 for more complex issues or use cases.

Bug reports are, of course, appreciated and cost you nothing. I will try to make
sure bugs are fixed ASAP.

## Àwọn àgbéyẹ̀wò

![](https://secure.gravatar.com/avatar/4706f76b62a781f85c17960836da7cefb3f3e66adb915083975cc62e39b46910?
s=60&d=retro&r=g)

### 󠀁[Fais ce quÌtumọ̀ Yorùbá: ’il dit de façon excellente](https://wordpress.org/support/topic/fais-ce-quil-dit-de-facon-excellente/)󠁿

 [coudenhov](https://profiles.wordpress.org/coudenhov/) Ẹrẹ́nà 25, 2019

WordPress 5.1.1 L'extension est toujours d'actualité. Très simplement : Pour créer
un nouveau template d'article, dupliquez single.php le renommer par exemple :single-
cuisine.php A l'intérieur insérer le code php décrit par l'auteur en remplaçant 
le texte entre crochets par le nom du nouveau fichier (single-cuisine.php) Et hop
le tour est joué. Lorsque vous créez une nouvelle page, vous avez une liste de choix
avec les différents templates que vous avez créé. Merci à l'auteur pour cet excellent
plugin. Laurent de Coudenhove

![](https://secure.gravatar.com/avatar/8bd47d91b12c9d612448ecf5eb0eb648f0fa979376a75c3e1a33df315c207c84?
s=60&d=retro&r=g)

### 󠀁[Good](https://wordpress.org/support/topic/good-3551/)󠁿

 [ikonkov](https://profiles.wordpress.org/ikonkov/) Èbìbí 18, 2018

tnx

![](https://secure.gravatar.com/avatar/53ab4b5dc8d760f076bd5398b9212052a5f17913579fe0cbdc7184de98ddd7bc?
s=60&d=retro&r=g)

### 󠀁[Good plugin!](https://wordpress.org/support/topic/good-plugin-1288/)󠁿

 [Luan Nguyen](https://profiles.wordpress.org/ntluan/) Ọwẹ́wẹ̀ 3, 2016

Thanks author! this plugin is useful.

![](https://secure.gravatar.com/avatar/ec8b8422bb465ae8bc396e91e6078b8974b35a964447f8c8ecc86edf1ac2b281?
s=60&d=retro&r=g)

### 󠀁[Great](https://wordpress.org/support/topic/great-4121/)󠁿

 [RealMag777](https://profiles.wordpress.org/realmag777/) Ọwẹ́wẹ̀ 3, 2016

Great, thank you!

 [ Ka gbogbo àwọn àgbéyẹ̀wò 14 ](https://wordpress.org/support/plugin/single-post-template/reviews/)

## Àwọn Olùkópa & Olùgbéejáde

“Single Post Template” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti 
ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

 *   [ Nathan Rice ](https://profiles.wordpress.org/nathanrice/)

[Túmọ̀ “Single Post Template” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/single-post-template)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/single-post-template/),
ṣàyẹ̀wò [ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/single-post-template/),
tàbí ṣe àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/single-post-template/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/single-post-template/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 1.0

 * Initial Release

#### 1.1

 * Changed some function and variable names for consistency
 * Ensured WordPress 2.8+ compatibility
 * Fixed a bug that presents when you include the plugin in your WordPress themeÌtumọ̀
   Yorùbá: ’s folder

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.4.4**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 13 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **4,000+**
 *  Ẹ̀yà WordPress ** 3.5 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **3.6.1**
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/single-post-template/)
 * Àwọn àmì
 * [Post Templates](https://yor.wordpress.org/plugins/tags/post-templates/)[single post templates](https://yor.wordpress.org/plugins/tags/single-post-templates/)
   [single posts](https://yor.wordpress.org/plugins/tags/single-posts/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/single-post-template/advanced/)

## Àwọn ìbò

 4.4 lára àwọn ìràwọ̀ 5.

 *  [  12 5-star reviews     ](https://wordpress.org/support/plugin/single-post-template/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/single-post-template/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/single-post-template/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/single-post-template/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/single-post-template/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/single-post-template/reviews/#new-post)

[Wo gbogbo àwọn àgbéyẹ̀wò](https://wordpress.org/support/plugin/single-post-template/reviews/)

## Àwọn Olùkópa

 *   [ Nathan Rice ](https://profiles.wordpress.org/nathanrice/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/single-post-template/)

## Ṣe ìtọrẹ

Ṣé o fẹ́ ṣe àtìlẹ́yìn fún ìlọsíwájú plugin yìí?

 [ Ṣe ìtọrẹ sí plugin yìí ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5553118)