Deze plugin is niet getest met de laatste 3 grotere versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

Custom-Single

Beschrijving

This plugin enables themes to specify a different single.php template based on post category. As posts can have multiple categories assigned, it uses the following to select which possible custom template to use:

1) Categories directly assigned
— Check for extant single-CATEGORYID.php files and prioritize based on category order
2) Parents of categories
— Parents are checked based on category order of the directly assigned categories.

Note, the above assumes that there’s a category order plugin installed. If the categories are NOT in a specific order AND there are multiple categories assigned per post then the template selection will be left up to the server. Naturally, if there is only category assigned per post (or only one possible template per post), then there will be no issue.

Requirements

Installatie

  1. Upload the folder Custom-Single to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Create customized single.php template files as desired.

Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

Bijdragers & ontwikkelaars

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

Bijdragers

Vertaal “Custom-Single” naar jouw taal.

Interesse in ontwikkeling?

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

Changelog

1.0.0 (2013-10-09)

  • Initial Release