Title: Previous Post
Last modified: August 22, 2016

---

# Previous Post

 *  Resolved [c05338](https://wordpress.org/support/users/c05338/)
 * (@c05338)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/previous-post-1/)
 * Hi,
 * The solution you gave me regarding posts isn’t the one I’m looking for.
 * What I want is a code that loads related posts of the same category/type with
   the current post loaded.
 * Example:
 * Port1 and Port2 and Port3 are in Type1
 * So when I click on Port1 and it loads I get a sidebar menu.
 * Type1
    —- Port1 (current) Port2 Port3
 * This is the way it should work
 * [https://wordpress.org/plugins/zillaportfolio/](https://wordpress.org/plugins/zillaportfolio/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [marksouthard](https://wordpress.org/support/users/mbsatunc/)
 * (@mbsatunc)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/previous-post-1/#post-5486841)
 * For outputting the portfolio types in a portfolio post, you can use either get_the_terms(
   [http://codex.wordpress.org/Function_Reference/get_the_terms](http://codex.wordpress.org/Function_Reference/get_the_terms))
   or the_terms ([http://codex.wordpress.org/Function_Reference/the_terms](http://codex.wordpress.org/Function_Reference/the_terms)).
   portfolio-type will be the taxonomy.
 * If you want to output related portfolio posts within the portfolio post, you 
   are going to have to write some custom code. The portfolio plugin does not include
   this functionality at this time.

Viewing 1 replies (of 1 total)

The topic ‘Previous Post’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/zillaportfolio_aeaeae.svg)
 * [Zilla Portfolio](https://wordpress.org/plugins/zillaportfolio/)
 * [Support Threads](https://wordpress.org/support/plugin/zillaportfolio/)
 * [Active Topics](https://wordpress.org/support/plugin/zillaportfolio/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zillaportfolio/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zillaportfolio/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [marksouthard](https://wordpress.org/support/users/mbsatunc/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/previous-post-1/#post-5486841)
 * Status: resolved