• My custom post type has categories. I am trying to make what is the equivalent of a category.php page. I have named it taxonomy.php.
    The below code works, but I when I add a query to it, it stops working. Can someone tell me how to make the code below offset by -1 and still work for a custom taxonomy?

    <?php get_header(); ?>
    
    <ul>
    
    <?php   if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
     <li>
     <a href="<?php the_permalink(); ?>"><h3><?php the_title () ?> </h3></a>
     </li>
    
    <?php
    	endwhile;
    endif;wp_reset_query();
    ?>
    </ul>
    
    <?php get_footer(); ?>

The topic ‘Get Taxonomy.php’ is closed to new replies.