I have a Custom post called 'projects'. On certain pages I only need to display projects that have the category 'apps'. So far so good, it displays on a good. However, when I add tags to this project, I can not list just the tags of that particular post. So how can I not list all the categories that the post contains. In the code below it returns all categories, all, including those that are not linked to the post
<?php
query_posts(
array(
'post_type' => 'projects',
'category_name' => 'apps',
'showposts' => 3,
'orderby' => 'date'
)
);
?>
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<?php
$categories = get_categories($postID);
var_dump($categories);
?>