• As usual, I love the theme. But for the life of my I could not get any archives for the custom taxonomies I created with the Custom POst Types UI plugin.

    The only way I got it going was creating a taxonomy.php template in my child theme. It displayed the header info but no content. I could see by doing a var_dump($wp_query) that results were there.

    The only way I got it working was to mod the taxonomy.php` to brute force it like:

    <?php if ( $wp_query->have_posts() ) : 
    
    	$post_grid_column_classes = chaplin_get_post_grid_column_classes();
    	?>
    	
    
    	<div class="posts-grid grid load-more-target <?php echo $post_grid_column_classes; ?>">
    	
    		<?php while ( $wp_query->have_posts() ) : $wp_query->the_post(); ?>
    
    			<div class="grid-item">
    
    				<?php get_template_part( 'parts/preview', get_post_type() ); ?>
    				
    			</div><!-- .grid-item -->
    
    		<?php endwhile; ?>

    I’ve never had to do that before, and seems like applying duct tape. Am I missing something?

  • The topic ‘Blank Custom Taxonomy Archives’ is closed to new replies.