Wordpress 2.6.2
[autoinstalls/wordpress.git] / wp-includes / template-loader.php
index e2a24f204fcfa6d1b9c5e05f965f7449e0c5f234..9fd4ffe5171d860ea89aeff68b7886badcd20087 100644 (file)
@@ -20,6 +20,9 @@ if ( defined('WP_USE_THEMES') && constant('WP_USE_THEMES') ) {
        } else if ( is_search() && $template = get_search_template() ) {
                include($template);
                return;
+       } else if ( is_tax() && $template = get_taxonomy_template()) {
+               include($template);
+               return;
        } else if ( is_home() && $template = get_home_template() ) {
                include($template);
                return;
@@ -39,9 +42,6 @@ if ( defined('WP_USE_THEMES') && constant('WP_USE_THEMES') ) {
        } else if ( is_tag() && $template = get_tag_template()) {
                include($template);
                return;
-       } else if ( is_tax() && $template = get_taxonomy_template()) {
-               include($template);
-               return;
        } else if ( is_author() && $template = get_author_template() ) {
                include($template);
                return;