Help to display the current categories and tags of a post

If you’re using the default category and post_tag taxonomies for your portfolio posts, then have a look at get_the_tags() and get_the_category(). These will return arrays of tags and categories for the current post. Pass post ID as parameter to the functions, when using outside the Loop.

If on the other hand you have custom taxonomies, then use get_the_terms() directly, for which you can pass the custom taxonomy slug as the 2nd parameter, post ID being the 1st.

If you want to use wp_list_categories(), then you should pass include as one of the parameters so that the list is limited to the given term IDs. There’s a nice example on the documentation how to do this with the help of wp_get_object_terms().