>
Download This Plugin | |
Download Elegant Themes | |
Name | Custom-Single |
Version | 1.0.0 |
Author | Tor N. Johnson |
Rating | 0 |
Last updated | 2013-12-11 02:30:00 |
Downloads |
258
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Custom-Single plugin added 189 bytes of resources to the Home page and 163 bytes of resources to the sample Post page.
Custom-Single plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Custom-Single plugin ads no tables to your Wordpress blog database.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.