Display one result for category post type

Did you create taxonomy-{your-slug}.php template ?
let’s say the slug is ‘locations
so, it will be something like this taxonomy-locations.php

if you haven’t created yet, create one and the template codes will look like this ,

<?php
/**
 * Locations taxonomy archive
 */
get_header();
$term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
?>
<div class="wrapper">
    <div class="primary-content">
        <h1 class="archive-title"><?php echo apply_filters( 'the_title',     $term->name ); ?> News</h1>

        <?php if ( !empty( $term->description ) ): ?>
        <div class="archive-description">
            <?php echo esc_html($term->description); ?>
        </div>
        <?php endif; ?>

        <?php if ( have_posts() ): while ( have_posts() ): the_post(); ?>

        <div id="post-<?php the_ID(); ?>" <?php post_class('post clearfix'); ?>>
            <h2 class="post-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
            <div class="content clearfix">
                <div class="post-info">
                    <p><?php the_time(get_option('date_format')); ?> by <?php the_author_posts_link(); ?></p>
                </div><!--// end .post-info -->
                <div class="entry">
                <?php the_content( __('Full story…') ); ?>
            </div>
        </div>
    </div><!--// end #post-XX -->

    <?php endwhile; ?>

    <div class="navigation clearfix">
        <div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
        <div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
    </div>

    <?php else: ?>

    <h2 class="post-title">No News in <?php echo apply_filters( 'the_title', $term->name ); ?></h2>
    <div class="content clearfix">
        <div class="entry">
            <p>It seems there isn't anything happening in <strong><?php echo apply_filters( 'the_title', $term->name ); ?></strong> right now. Check back later, something is bound to happen soon.</p>
        </div>
    </div>

    <?php endif; ?>
</div><!--// end .primary-content -->

<div class="secondary-content">
    <?php get_sidebar(); ?>
    </div><!--// end .secondary-content -->

<?php get_footer(); ?>   

here , you can customize as you want & be sure that you use your slug.

According to WordPress Hierarchy,

If no taxonomy-specific template ( taxonomy-{your-slug}.php ) is found,

then the taxonomy that lists pages will use the archive template ( archive.php )


If no archive template is found, then the taxonomy that lists pages will use the index template ( index.php )

deneme bonusu veren sitelerbahis casinomakrobetceltabetpinbahispolobetpolobet girişpinbahis girişmakrobet girişpulibet girişmobilbahis girişkolaybet giriş