Changes between Initial Version and Version 1 of Ticket #35326, comment 1
- Timestamp:
- 01/06/2016 11:03:04 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35326, comment 1
initial v1 1 1 `category-{$category->term_id}.php` and `tag-{$tag->term_id}.php` exist as well, but after the slug variant. 2 2 3 So adding `taxonomy-{$term->term_id}.php` seems legit, it should just be in the same order, i.e. 3 So adding `taxonomy-taxonomy-{$term->term_id}.php` seems legit (not `taxonomy-{$term->term_id}.php`) 4 5 Example: 4 6 5 7 {{{#!php 6 8 $templates[] = "taxonomy-$taxonomy-{$term->slug}.php"; 7 $templates[] = "taxonomy- {$term->term_id}.php";9 $templates[] = "taxonomy-$taxonomy-{$term->term_id}.php"; 8 10 }}}