Deze plugin is niet getest met de laatste drie grote versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Er kunnen ook compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

Custom Taxonomy Templates

Beschrijving

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

Schermafbeeldingen

  • Assigning custom templates to a term in custom taxonomy

Installatie

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

Beoordelingen

Lees 1 beoordeling

Bijdragers & ontwikkelaars

“Custom Taxonomy Templates” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

“Custom Taxonomy Templates” is vertaald in 1 taal. Dank voor de vertalers voor hun bijdragen.

Vertaal “Custom Taxonomy Templates” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.