I have the following query along with a custom post type called "Questions":
<ul> <?php $args = array( 'post_type' => 'questions', 'posts_per_page' => 50 ); $loop = new WP_Query( $args ); while ( $loop->have_posts() ) : $loop->the_post(); ?> <li> <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"> <?php the_title(); ?> </a> </li> <?php endwhile; ?> </ul>
I've also created a custom taxonomy called "Type" and linked it to this post type in order to categorize the content (like, type of questions). This query lists all the questions title but I would like to find a way to list the categories this question belongs to so it looks like:
- How do I configure my email client? in "Technical Support"
- How to change my themes' background image in "Wordpress Support"
I've tried using but I'm not getting any results.