• Resolved Rose

    (@eos-rose)


    I have several registered taxonomies, but I cannot seem to get the taxonomy.php template to work. It’s like it’s being ignored entirely. All that comes up is my error page for when a page does not exist. Does anyone know why this would happen?

    For that matter, maybe someone has a working template code they could share with me so that I can compare and see what I’m doing wrong…?

Viewing 1 replies (of 1 total)
  • Thread Starter Rose

    (@eos-rose)

    P.S. my taxonomy.php file currently looks like this:

    <?php
    get_header();
        $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
    ?>
    
    				<h1 class="page-title"><?php
    					    printf( __( 'Posts classified under: %s', 'supernatural' ), '<span>' . $term_name . '</span>' );
    				?></h1>
    				<?php
    					if ('' != $term_descr ) {
    echo "<p>$term_descr</p>\n";
    }
    				?>
    
    <?php get_footer(); ?>
Viewing 1 replies (of 1 total)
  • The topic ‘taxonomy.php not working’ is closed to new replies.