Display list of categories for a particular post
-
Hi,
Im really blank at the moment, been a long day. I need to output a list of categories associated to a post. I have been using<?php echo wp_get_post_categories( $post_id, $args ) ?>
but all is get is the word “Array”. I also tried putting this into a foreach loop with no luck. Just need to display the categories that are given to a post.
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Display list of categories for a particular post’ is closed to new replies.