Linux 软件免费装

Custom Taxonomy Templates

开发者 shazdeh
更新时间 2016年11月22日 01:20
PHP版本: 4.4 及以上
WordPress版本: 4.6.1

标签

theme template tag taxonomy category archive term custom-template category-template tag-template

下载

详情介绍:

Just like the way you can create custom page templates, this plugin enables you to build custom taaxonomy archive templates by adding this bit to the top of your file: where {Taxonomy Singular Label} should be replaced with the singular label registered for the taxonomy (for example "Category" or "Tag"). Now when you're adding or editing terms in that taxonomy, you can choose the desired template file. You can safely include this plugin in your theme and ship custom templates for taxonomy archives with the theme.

安装:

  1. Upload the whole plugin directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Enjoy!

屏幕截图:

  • Assigning custom templates to a term in custom taxonomy