Linux 软件免费装

WP Custom Post Template

开发者 dswpsupport
更新时间 2016年12月27日 13:58
PHP版本: 3.0 及以上
WordPress版本: 4.7
版权: GPLv2 or later

标签

posts template custom post type templates custom template theme template post template custom template for post post from template custom post template single post templates wordpress post template wp post template wp custom post template custom theme template simple post templates

下载

详情介绍:

This plugin lets you add the custom post templates in your Wordpress custom post type. You can easily apply your custom post template in custom post type single page like page template. The templates are defined similarly to page templates, and will replace single.php for the specified post. Admin can select multiple custom post type where they want to apply custom post template.(i.e. you can choose a template which is not single.php). Easily managed through the admin area. Admin can use default setting for the custom post type plugin by simply clicking on default setting button. First note: Page templates use "Template Name:", whereas custom post templates use "WP Post Template:". Second note: You must have the custom post template files in your theme in the same directory/folder as your index.php template file, not in a sub-directory/sub-folder.

安装:

Install
  1. Login into your WordPress admin panel
  2. Navigate to Plugins => Add New
  3. Click Upload
  4. Click Choose File and select the wp-custom-post-template.zip.
  5. Click Install Now.
  6. Activate the plugin through the 'Plugins' menu in WordPress.
  7. Go to Dashboard => WP Post Template and set your general setting.
  8. To create new custom Post Template you need to put the new file in the same directory/folder as your index.php and just need to add comment (WP Post Template: Your New Post Template Name) in your new post template file same as you do for page template.
Uninstall
  1. Deactivate WP Post Template in the 'Plugins' menu in Wordpress.
  2. After Deactivation a 'Delete' link appears below the plugin name, follow the link and confim with 'Yes, Delete these files'.
  3. This will delete all the plugin files from the server as well as erasing all options the plugin has stored in the database.

屏幕截图:

  • screenshot-1.jpg
  • screenshot-2.jpg
  • screenshot-3.jpg
  • screenshot-4.jpg

升级注意事项:

This is first release.

更新日志:

1.1 - 2015-07-18 1.0