Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Custom Taxonomy Templates

Описание

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:

<?php
/**
 * {Taxonomy Singular Label} Template: Grid
 */
?>

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.

Changelogs

0.2.1

  • Allow using taxonomy slug in the template header, fix issue with templates not being found in multilingual websites. Much thanks to Mkdgs for the fix!

0.2

  • Fix fatal error when using child themes
  • added «custom_taxonomy_templates» filter for extendibility

Скриншоты

  • Assigning custom templates to a term in custom taxonomy

Установка

  1. Upload the whole plugin directory to the /wp-content/plugins/ directory
  2. Активируйте плагин используя меню ‘Плагины’ в WordPress
  3. Enjoy!

Отзывы

Посмотреть 1 отзыв

Участники и разработчики

«Custom Taxonomy Templates» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«Custom Taxonomy Templates» переведён на 1 язык. Благодарим переводчиков за их работу.

Перевести «Custom Taxonomy Templates» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.