Title: Custom-Single
Author: Tor N. Johnson
Published: <strong>11 decembris, 2013</strong>
Last modified: 11 decembris, 2013

---

Meklēt spraudņus

![](https://ps.w.org/custom-single/assets/banner-772x250.png?rev=870971)

Šī spraudnis **nav atjaunināts vairāk kā divus gadus**. Varbūt, tas vairs netiek
uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress
versijām.

![](https://s.w.org/plugins/geopattern-icon/custom-single_530c09.svg)

# Custom-Single

 Autors [Tor N. Johnson](https://profiles.wordpress.org/kasigi/)

[Lejupielādēt](https://downloads.wordpress.org/plugin/custom-single.1.0.0.zip)

 * [Sīkāka informācija](https://lv.wordpress.org/plugins/custom-single/#description)
 * [Atsauksmes](https://lv.wordpress.org/plugins/custom-single/#reviews)
 *  [Uzstādīšana](https://lv.wordpress.org/plugins/custom-single/#installation)
 * [Attīstība](https://lv.wordpress.org/plugins/custom-single/#developers)

 [Atbalsts](https://wordpress.org/support/plugin/custom-single/)

## Apraksts

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

## Uzstādīšana

 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.

## Atsauksmes

Par šo spraudni nav atsauksmju.

## Autori un izstrādātāji

“Custom-Single” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi
cilvēki.

Līdzdalībnieki

 *   [ Tor N. Johnson ](https://profiles.wordpress.org/kasigi/)

[Tulkot “Custom-Single&#8221 savā valodā.](https://translate.wordpress.org/projects/wp-plugins/custom-single)

### Vai jūs interesē attīstība?

[Pārlūkojiet kodu](https://plugins.trac.wordpress.org/browser/custom-single/), apmeklējiet
[ SVN krātuvi ](https://plugins.svn.wordpress.org/custom-single/)vai abonējiet[ attīstības žurnālu](https://plugins.trac.wordpress.org/log/custom-single/),
ko izveidojis [RSS](https://plugins.trac.wordpress.org/log/custom-single/?limit=100&mode=stop_on_copy&format=rss).

## Izmaiņu žurnāls

#### 1.0.0 (2013-10-09)

 * Initial Release

## Meta

 *  Versija **1.0.0**
 *  Pēdējo reizi atjaunots: **pirms 12 gadiem**
 *  Aktīvās instalācijas: **10+**
 *  WordPress versija ** 3.5 vai jaunāka **
 *  Pārbaudīts līdz: **3.7.41**
 *  Valoda
 * [English (US)](https://wordpress.org/plugins/custom-single/)
 * Birkas:
 * [categories](https://lv.wordpress.org/plugins/tags/categories/)[custom](https://lv.wordpress.org/plugins/tags/custom/)
   [custom templates](https://lv.wordpress.org/plugins/tags/custom-templates/)[posts](https://lv.wordpress.org/plugins/tags/posts/)
   [template](https://lv.wordpress.org/plugins/tags/template/)
 *  [Papildu skats](https://lv.wordpress.org/plugins/custom-single/advanced/)

## Vērtējumi

Vēl nav iesniegta neviena atsauksme.

[Your review](https://wordpress.org/support/plugin/custom-single/reviews/#new-post)

[Skatīt visas atsauksmes](https://wordpress.org/support/plugin/custom-single/reviews/)

## Līdzdalībnieki

 *   [ Tor N. Johnson ](https://profiles.wordpress.org/kasigi/)

## Atbalsts

Jums ir kaut kas ko teikt? Vajadzīga palīdzība?

 [Skatīt atbalsta forumu](https://wordpress.org/support/plugin/custom-single/)