该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Post Template Select

描述

Select Templates For Posts and Custom Post Types. It provides a drop-down to select different templates for posts and custom post types in post edit screen. Selected templates will override single.php for specified post. You can use both page and custom templates.

Use simple template name in your template files.

Use Page Templates:

<?php
/*
Template Name: Your Template name
*/
?>

Use Your Custom Templates:

<?php
/*
Post Template Name: Your Template name
*/
?>

How to use

  1. First Activate Plugin.
  2. From Post Template admin menu , allow post template selector for post or custom post
  3. Then select template from post edit screen.

Minimum requirements for Post Template Select

  • WordPress 4.1+
  • PHP 5.x
  • MySQL 5.x

屏幕截图

  • How to make a Template File.
  • Template select View on edit post screen.
  • Settings.

安装

  1. Upload the post-template-select folder to the directory /wp-content/plugins/.
  2. Activate the plugin using the ‘Plugins’ menu in WordPress.

常见问题

Installation Instructions
  1. Upload the post-template-select folder to the directory /wp-content/plugins/.
  2. Activate the plugin using the ‘Plugins’ menu in WordPress.

评价

2017 年 3 月 22 日 1 回复
Exactly what I want. Simply assigning different templates for same post types. Thanks
阅读所有4条评价

贡献者及开发者

「Post Template Select」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.3 (05th Nov, 2017)

  • fix some Bug in 1.2 – Major Update
  • Constant warning issue fixed.

1.2 (15th April, 2017)

  • fix some Bug in 1.1 – Minor Update

1.1 (28th March, 2017)

  • fix some Bug in 1.0 – Major Update
  • Option Save problem resolved.
  • New Option Added. (Template Types)
  • New feature added, You can make custom templates seperatly now.