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.
- The topic ‘Display list of categories for a particular post’ is closed to new replies.