跳到内容

Single Post Template

v1.4.4

Nathan Rice · 2009年6月26日 上架

Single Post Template adds the ability for your theme to include "Post Templates" in much the same way you can add "Page Templates" …

正在使用
4,000+
评分
4.4 / 5
累计下载
11 万
最近更新
2013年4月19日
14 条评价需要 WordPress 3.5+已测试到 3.6.1

贡献者

截图

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

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.

1.2

  • Minor update

1.3

  • Copied methodology of WordPress get_page_templates() 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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums