| name | language | licence |
|---|---|---|
| Unique Category template | PHP | Other |
| Display Google Ad after the first post | PHP | Other |
| Custom Fields | PHP | Other |
| Dynamic Content Dynamic Content | PHP | Other |
| Unique Single template | PHP | Other |
| Query Posts | PHP | Other |
| Feature post highlighting | PHP | Other |
| Customizing flickrRSS | PHP | BSD |
< 1 2 3 4 5 6 7 8 9 10 11 12 >
language: PHP
licence: Other
Unique Single template
options: view full snippet • send to code collector
<?php
$post = $wp_query- >post;
if ( in_category('1') ) {
include(TEMPLATEPATH . '/single1.php');
} elseif ( in_category('2') ) {
include(TEMPLATEPATH . '/single2.php');
} else {
include(TEMPLATEPATH . '/single_other.php');
}
? >



library
buttons (3)
wp (93)