這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

AMS Single Post Template Selector

外掛說明

This plugin allows you to choose different template for individual post, for the purpose of single post view, by selecting previously created post template from the provided drop-down list in the post edit screen.

The plugin will replace the default template (single.php) with selected template for the post you applied the new template.

To create a post template, write an opening PHP comment at the top of the file that states the template’s name.

<?php
/*
Post Template - Name: Template Name
*/
?>

Please Note: Post template name ussage: “Post Template – Name:”.

螢幕擷圖

  • In post edit screen screenshot-1.jpg.
  • Template naming screenshot-2.jpg.

安裝方式

  1. Install AMS Single Post Template Selector either via the WordPress.org plugin directory, or by uploading the files to your server.
  2. Activate the plugin.
  3. That’s it. You’re ready to go!

Once you activated the plugin, create a post template in your theme’s folder and go to Posts > Add New screen in your admin dashboard.

On the right hand side top you’ll see Post Template Selector template drop-down list. This is where you are able to access your post templates.

常見問題集

How do I create new Post Templates?

To create a post template, create a php file in theme’s folder, write an opening PHP comment at the top of the file that states the template’s name.

<?php
/*
Post Template - Name: Template Name
*/
?>

PS: Post templates use: “Post Template – Name:”.

How do I use the Post Templates I created?

Go to Posts > Add New screen in your admin dashboard.
On the right hand side top you’ll see Post Template Selector template drop-down list.
This is where you are able to access your post templates.

Can I include this plugin in my theme for distribution without any cost?

Yes. Of course.

I have a question that wasn’t covered in the FAQ. How can I reach you?

Please email me at: manojmar2012@gmail.com.

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

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈AMS Single Post Template Selector〉的開發相關工作。

參與者

變更記錄

Version 1.0

  • First Release