Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

When I called the_taxonomies() function it shows me both tags and categories. I need tags to show from the_tags() function. At the moment I haven't included the_tags() but shows me the tags through the_taxonomies().

Because of this I'm unable to style them separately.

image showing my problem in detail

<?php query_posts( 'post_type=blog'); ?> 
<?php while (have_posts()) : the_post(); ?>
    <h2><?php the_title(); ?></h2>
    <?php the_content("<span class=more-linkbl>Read more</span>"); ?>
    <div class="blog-misc">Date: <?php the_date();?> <?php the_taxonomies(); ?></div>
    ...
<?php endwhile; ?>
share|improve this question
    
Please post your code. –  s_ha_dum Feb 11 '13 at 5:40
    
<?php query_posts( 'post_type=blog'); ?> <?php while (have_posts()) : the_post(); ?> <h2><?php the_title(); ?></h2> <?php the_content("<span class=more-linkbl>Read more</span>"); ?> <div class="blog-misc">Date: <?php the_date();?> <?php the_taxonomies(); ?> </div> –  adam Feb 11 '13 at 5:52
1  
"Post" = update your question with an "Edit". –  kaiser Feb 11 '13 at 7:33

1 Answer 1

Remove the_taxonomies and use the_category, get_the_category, or get_the_terms to display categories.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.