Описание
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:».
Установка
- Install AMS Single Post Template Selector either via the WordPress.org plugin directory, or by uploading the files to your server.
- Activate the plugin.
- 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» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «AMS Single Post Template Selector» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
Version 1.0
- First Release