Single Post Template Plugin

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’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.

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’s folder, as described in Usage

Usage

After you have installed the plugin, you’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
*/
?>

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.

Selecting a Post Template

Frequently Asked Questions

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’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’t covered in the FAQ. Can I contact you?
Please email me or @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.

Download

This plugin is hosted at the WordPress.org Plugins directory. You can download it there.

66 Replies to “Single Post Template Plugin”

  1. […] In: WordPress plugins 7 Jul 2009 Go to Source […]

    Reply

  2. […] category could be selected. If you need a more versatile solution you can check out Nathan’s Single Post Template plugin. Tags: slug, wordpress. « WordPress Category Templates by Slug Robots vs. […]

    Reply

  3. […] Single Post Template Som standardfunksjonalitet i WordPress kan hver enkelt side (page) ha egen design. Også kategori-sidene kan ha egen design (ved å opprette flere sider av typen category-xx.php hvor xx er kategoriens ID). En funksjonalitet jeg lenge savnet var å ha egen design for forskjellige innlegg. Single Post Template hjelper deg med å løse problemet på en enkel og grei måte. Du ender opp med en valgmeny i administrasjonsgrensesnittet i WordPress hvor du kan velge mellom de forskjellige designene du har opprettet for innleggene. Last ned Single Post Template her. […]

    Reply

  4. […] Ha telepítettük a plugint és létrehoztuk az uj single fájlunkat, akkor hasonlóan fog megjelenni sablonunk, mint az oldalak esetében. A b?vítményr?l b?vebben a szerz? oldalán olvashattok itt. […]

    Reply

  5. […] Single Post Template Som standardfunksjonalitet i WordPress kan hver enkelt side (page) ha egen design. Også kategori-sidene kan ha egen design (ved å opprette flere sider av typen category-xx.php hvor xx er kategoriens ID). En funksjonalitet jeg lenge savnet var å ha egen design for forskjellige innlegg. Single Post Template hjelper deg med å løse problemet på en enkel og grei måte. Du ender opp med en valgmeny i administrasjonsgrensesnittet i WordPress hvor du kan velge mellom de forskjellige designene du har opprettet for innleggene. Last ned Single Post Template her. […]

    Reply

  6. […] du innstallert innstikket (pluginen) Single Post Template, som jeg forøvrig har skrevet om her og her, vil du få en mengde feilmeldinger i […]

    Reply

  7. […] template, or if you run into issues with posts that live in multiple categories, we recommend the Single Post Template Plugin. This plugin adds a nice drop-down template chooser to the WP admin interface much like the Page […]

    Reply

  8. […] as a way to produce and archive email newsletters you’ll need a WordPress plugin called Single Post Template. This plugin allows theme authors to include single post templates, much like a theme author can […]

    Reply

  9. […] as a way to produce and archive email newsletters you’ll need a WordPress plugin called Single Post Template. This plugin allows theme authors to include single post templates, much like a theme author can […]

    Reply

  10. […] as a way to produce and archive email newsletters you’ll need a WordPress plugin called Single Post Template. This plugin allows theme authors to include single post templates, much like a theme author can […]

    Reply

  11. […] as a way to produce and archive email newsletters you’ll need a WordPress plugin called Single Post Template. This plugin allows theme authors to include single post templates, much like a theme author can […]

    Reply

  12. […] as a way to produce and archive email newsletters you’ll need a WordPress plugin called Single Post Template. This plugin allows theme authors to include single post templates, much like a theme author can […]

    Reply

  13. […] WordPress as a way to produce and archive email newsletters you’ll need a WordPress plugin called Single Post Template. This plugin allows theme authors to include single post templates, much like a theme author can […]

    Reply

  14. […] as a way to produce and archive email newsletters you’ll need a WordPress plugin called Single Post Template. This plugin allows theme authors to include single post templates, much like a theme author can […]

    Reply

  15. […] as a way to produce and archive email newsletters you’ll need a WordPress plugin called Single Post Template. This plugin allows theme authors to include single post templates, much like a theme author can […]

    Reply

  16. […] as a approach to furnish and repository email newsletters you’ll need a WordPress plugin called Single Post Template. This plugin allows thesis authors to embody singular post templates, many like a thesis author can […]

    Reply

  17. […] Single Post Template Plugin by Nathan […]

    Reply

  18. […] know Nathan Rice has a plugin that achieves this but I would like to be able to achieve the same thing without the plugin. […]

    Reply

  19. […] The following plugin allows me to select a specific template for that post, but it overrides the whole category template: http://www.nathanrice.net/plugins/single-post-template/ […]

    Reply

  20. Louboutin chaussures France

    cncuudgif [url=http://www.office-estuaire.net/DoudouneMonclerHomme.html]Doudoune Moncler Homme[/url] dedaaaxtnn zczhjqhd [url=http://www.nicolas-isigny.notaires.fr/monclerpascher.html]moncler pas cher[/url] isabel marant soldes [url=http://www.notaires…

    Reply

  21. Scarpe Roger vivier

    bwlmejgcsj Hogan Italia [url=http://www.associazioneravi.it/UploadedImage/rogervivieronline/index.html]Roger vivier online[/url] louis vuitton saldi umitxq [url=http://www.atlantegreen.it/fendiborse.html]Fendi Borse[/url] Roger vivier pompe peuterey uo…

    Reply

  22. acheter celine

    Sunglasses That Are a Cut Above

    Reply

  23. tods bags uk

    marc jacobs bags uk [url=http://www.brandenburgwarranty.com/mcmbagsuk/]mcm bags uk[/url] tnxxcza dzxuhxaizgv [url=http://www.themonteverdiviolins.org/bottegavenetaoutletuk/]bottega veneta outlet uk[/url] bottega veneta uk online slawmjtzbph tzqgusjxo e…

    Reply

  24. legend blue 11s

    [url=http://www.putneychapel.org/Jordan11LegendBlue/]Jordan 11 Legend Blue[/url] [url=http://www.wichitairon.com/LegendBlue11s/]Legend Blue 11s[/url] ohlehujq legend blue 11s Legend Blue 11s [url=http://www.ryanfedyk.com/blog.html]jordan 11 legend blue…

    Reply

  25. columbia 4s

    [url=http://www.ashlandwelsh.com/jordan7frenchblue/]jordan 7 french blue[/url] jordan 4 columbia [url=http://laurel-park.org/legendblue11s/]legend blue 11s[/url] french blue 7s legend blue 11s ppglswwbo [url=http://www.amftechnology.com/legendblue11s/]…

    Reply

  26. baskets GIUSEPPE ZANOTTI pour Femme

    [url=http://www.oursdumarais.com/canadagoose/]canada goose pas cher[/url] ykmubrjuq Sneakers Isabel Marant jiksea urxvmvhycja fhaeufyxcic [url=http://aventure-danse.com/isabelmarant/]isabel marant pas cher[/url] nike free run njwisxqh Doudoune Moncler…

    Reply

  27. lanvin sneakers uk outlet

    marc jacobs bags uk fitflop shoes uk bqqdgpxue lanvin sneakers uk online avjzjtmembn [url=http://www.chepstowshow.co.uk/onitsukatigeruk/]onitsuka tiger uk[/url] gssbjp [url=http://www.thebathpianist.co.uk/todsshoesuk/]tods shoes uk[/url] bottega veneta…

    Reply

  28. pantone blue 11s

    [url=http://www.panache-interiors-uae.com/jordan11pantoneblue/]jordan 11 pantone blue[/url] [url=http://www.harryrowland.co.uk/jordan4columbia/]jordan 4 columbia[/url] [url=http://www.starwomb.com/jordan7frenchblue/]jordan 7 french blue[/url] uascklkt…

    Reply

  29. legend blue 11s

    oreo 4s jordan 7 french blue [url=http://www.comune.caprauna.cn.it/Jordan10BullsOverBroadway/index.html]Jordan 10 Bulls Over Broadway[/url] znnaddnt [url=http://www.fotoaz.it/LadyLiberty10s/index.html]Lady Liberty 10s[/url] jordan 11 legend blue [url=h…

    Reply

  30. jordans for sale

    Leather is a durable material, so the shoes lasted a long time. High scorers for the Wolves were Liam Marshall with 14 points and Fraser Morrison with 11. And within months, Magic Johnson had come to town. A variety of basketball court locations keep g…

    Reply

  31. Jordan 10 Bulls Over Broadway

    [url=http://www.milupa.it/jordan11legendblue/index.html]jordan 11 legend blue[/url] [url=http://www.audienta-radio.ro/jordan7frenchblue/]jordan 7 french blue[/url] jordan 7 french blue [url=http://www.istools.it/LadyLiberty10s/index.html]Lady Liberty 1…

    Reply

  32. orologi gucci

    two Essi possono darci prezioso feedback su come abbiamo fatto. Era il nostro servizio abbastanza buono? Abbiamo li delizia o eravamo noi ‘ok’. Forse il nostro prodotto soddisfa le loro aspettative? Era un buon rapporto qualit脿-prezzo? E cos矛 by mean…

    Reply

  33. chanel face cream

    The brachialis muscle covers your elbow and the brachioradialis covers your forearm. The biceps are positioned from the front of one’s upper arm, and enables you to lift and curl your arm at the same time as protonate your wrist. The triceps muscle ex…

    Reply

  34. jack wolfskin rock bar jacket männer

    Kreuz refrencing komplizierten Studie Informationen können nun mit nur Ihr Kindle2 erfolgen. Sie können viele verschiedene Bücher zu speichern, um bei für Ihre Forschung zu suchen. Sie können nun in Ihrem Büro zu studieren, während der Wartezeit für Ih…

    Reply

  35. bogner damenjacken

    Net als veel andere menselijke activiteiten, is een belangrijke strategie voor succes in het bedrijfsleven element. Hoewel het woord gekoppeld is aan de strategie.

    Reply

  36. Dior Handtaschen 'Lady Dior' Tasche – Lady Dior Taschen Leder rosenholz (Handwerkskunst)

    Wir hier, um ein Lachen zu haben.

    Reply

  37. gucci.it

    Prima di tutto, il fatto che c’猫 un divario enorme in asteroidi dopo una certa distanza dietro Plutone dice scienziati che c’猫 molto probabilmente un pianeta tra le dimensioni della Terra e di Marte che inghiottito tutta la roccia spazio l脿 fuori, qu…

    Reply

  38. mens barbour jackets

    However, before you make any major changes, you might want to know why people aren buying from you right now it because what you offer is now too expensive?

    Reply

  39. michael kors damenuhr 2013

    Dazu geh枚ren Aufnahmen von Text mit irrelevanten Bilder, die don Kontext hinzuzuf眉gen. Machen Sie eine Selbst Post statt. BeispielDies ist, wie ich f眉hle, wenn ich merke, wie unwichtig und selten die Mode Herausforderungen werden immer jede Saison

    Reply

  40. michael kors uhren hamburg

    Ich habe auch ein Programm, das werde ich f枚rdern. Ich plane auf den Versuch, mit dem Rauchen kalten T眉rkei beenden, wenn sich herausstellt, dass ein Predicament zu sein, dann werde ich mit diesem Programm, weil ich glaube wirklich daran, aber.

    Reply

  41. french blue 7s

    jordan 11 legend blue [url=http://fiatprofessional.com.mk/oreo4s/]oreo 4s[/url] jordan 4 oreo [url=http://www.rosanerogirls.it/public/oreo4s/]oreo 4s[/url] oyumqmr [url=http://www.rosanerogirls.it/public/oreo4s/]oreo 4s[/url] [url=http://baf.safmarine.…

    Reply

  42. french blue 7s

    Lady Liberty 10s iralxcrbqo [url=http://www.rku.ac.in/picture_librarys/]Bulls Over Broadway 10s[/url] yqzvec [url=http://www.geometrifirenze.it/Jordan10BullsOverBroadway/]Jordan 10 Bulls Over Broadway[/url] Lady Liberty 10s lalcorhdjo oreo 4s Bulls Ove…

    Reply

  43. jordan 7 french blue

    [url=http://www.staneldon.co.uk/frenchblue7s/]french blue 7s[/url] french blue 7s [url=http://www.tontinlumber.com/jordan7frenchblue/]jordan 7 french blue[/url] [url=http://www.thakesigns.co.uk/frenchblue7s/]french blue 7s[/url] flevkae jordan 7 french…

    Reply

  44. bogner damenmode

    Een college essay in MLA schrijven, APA of Chicago stijlen, idee毛n uit brainstormen, onderzoeken het onderwerp, schrijf een eerste ontwerp.

    Reply

  45. Converse Stampaing Velcro Classico Basso Scarpe Verde

    Il meno vernice in barattolo, il pi霉 veloce si sar脿 in grado di indurire questo vale per quello che si pu貌 mettere in casa cos矛 come indurenti vernice commerciali. Se si dispone di diversi barattoli di vernice rifiuti, alcuni contengono solo un po ‘e…

    Reply

  46. giuseppe zanotti sneaker sale

    The results of Globalization and Engineering on Business

    Reply

  47. Ted Baker Ireland Maxi Dress Hanya Lace Nude Pink Sale

    ndeed, all grownup guys are developed equivalent but in highly completely different sizes and shapes in relation to the trouser part.

    Reply

  48. Converse Stella Due Tono Basso Scarpe Blu

    Avvicinatevi ai vostri clienti. Speriamo che si dispone gi脿 di un grande rapporto con i clienti esistenti. Ora 猫 il momento di rafforzare quel rapporto. Aggressivamente cercare i modi per aiutare a risolvere i problemi che possono essere sperimentando…

    Reply

  49. bogner hosen

    Doisje neem de CPA-examen of CFE?

    Reply

  50. BCBG Short Dresses

    Non ci sono NHL arene pronte, fatta eccezione per Hamilton (Copps Coliseum / FirstOntario Centre), che 猫 all’interno della zona di esclusione di Toronto e Buffalo. Whisky con un alto contenuto di alcol saranno intorpidire le vostre papille gustative,…

    Reply

  51. Ted Baker Dress

    “Not a terrible income plan, Gilli!”

    Reply

  52. bogner gürtel

    De meeste mensen kunnen niet de kleur in hun leven merken elke dag, maar professionele kleur consultants weten dat kleur letterlijk de manier waarop je het gevoel kan veranderen. Als een kleur advisor, zijn voornaamste doel is om de kleuren die de stem…

    Reply

  53. Dior Handtaschen 'Dior Granville' Polochon Tasche – Granville Taschen Dior Leder beige (Schnelle Lieferung)

    Direkter Link zu Bildern und Movies.

    Reply

  54. giuseppe zanotti sneaker wedge

    How I Truly feel When posts belong in /r/HIFW. Response gifs belong in /r/reactiongifs.

    Reply

  55. bogner outlet kirchheim

    Merchandise co枚rdinatoren nemen de producten uit het magazijn naar de grond en met de vorm van de producten zijn in de winkel geplaatst, werken om opvallende displays, volgen hoe de verkoop te maken en de verkoop van producten te monitoren. Ze kan ook…

    Reply

  56. Converse Classico Tutto Stella Alto Top Scarpe da Ginnastica Rosso

    Ma difensiva la squadra appena wasn abbastanza buono. Erano costantemente pressati in profondit脿 nella propria met脿 campo, non premendo sul nome del centrocampo, e ampi spazi sono stati lasciati aperti in tutto il campo. Una squadra migliore avrebbe ap…

    Reply

  57. Ted Baker Ireland Holoww Quilted Down Parka Navy Sale

    In all but two states each of the state electoral votes are awarded to your candidate who wins the statewide widely used vote. The 2 exceptions are Maine and Nebraska, in which a district program is in spot and electoral vote is awarded to your preside…

    Reply

  58. bogner fire ice

    Many everyday people regard this synth since the perfect which includes ever existed. It is actually constructed from a beautiful, durable wood as well as top notch within the responsive, weighted keys permit your hand glide greater than them simply.

    Reply

  59. nike air jogginghose grau

    Ich hoffe, die KFL V2 sie dort bald bekam, aber ich fürchte, von der Investition und eine ähnliche Rendite. Ich werden wieder überprüft, ich hoffe wirklich, dass Sie diese herausfinden können, wie ich es nicht gelungen, zu einer Auflösung kommen 🙁

    Reply

  60. woolrich home blanket

    This really is fair. He doesn even give a nod for the query of cops romance with black residents. And as I talked about before, when this subject comes up, out of the blue all that anti paternalistic anti statist things flies out the window, and it off…

    Reply

  61. official moncler outlet

    It April, 1988, a month ahead of Kinsey Millhone thirty eighth birthday, and she alone in her workplace executing paperwork whenever a young man arrives unannounced. He has a preppy air about him and appears as though he be carded if he attempted to bu…

    Reply

  62. bogner skioverall

    Beitr盲ge, die die Regeln brechen wird auf Sicht entfernt werden. Diese subreddit betreibt eine Three-Strikes-Regel nach Vorlage Verbote und Instant Verbote Troll Gimmick Konten, Schock Hyperlinks, and so on. bei Moderator Diskretion.plopodopolis Kommen…

    Reply

Leave a Reply

Your email address will not be published.