Tiu ĉi kromprogramo ne estis testita en la 3 lastaj gravaj eldonoj de WordPress. Eble ĝi ne plu estas prizorgata kaj ĝi eble havus kongruajn problemojn en novaj versioj de WordPress.

Post Template Select

Priskribo

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

Ekrankopioj

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

Instalo

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

OD

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.

Pritaksoj

Marto 22, 2017 1 reply
Exactly what I want. Simply assigning different templates for same post types. Thanks
Legi ĉiujn 4 pritaksojn

Kontribuantoj k. programistoj

“Post Template Select” estas liberkoda programo. La sekvaj homoj kontribuis al la kromprogramo.

Kontribuantoj

Traduki “Post Template Select” en vian lingvon.

Ĉu interesita en programado?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Ŝanĝprotokolo

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.