# Cross linking/bi-directional relationships between Hugo Post Types?

**URL:** <https://discourse.gohugo.io/t/cross-linking-bi-directional-relationships-between-hugo-post-types/15482>\
**Category:** support\
**Created:** [November 25, 2018, 9:25am UTC](https://discourse.gohugo.io/t/cross-linking-bi-directional-relationships-between-hugo-post-types/15482 "2018-11-25T09:25:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![saitor](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@saitor](https://discourse.gohugo.io/u/saitor)\
**Post date:** [November 25, 2018, 9:25am UTC](https://discourse.gohugo.io/t/cross-linking-bi-directional-relationships-between-hugo-post-types/15482/1 "2018-11-25T09:25:48Z")

</div>

Hey Guys! I’ve used Hugo for many small scale projects, and am planning to use it for a larger scale one I’m working on. The code isn’t ready yet, I’m preemptively sharing this because I know I’m going to hit a wall when the project comes to this stage.

The Requirement:  
I have to create 3 ‘custom post types’ called 1) Events 2) Organizers 3)Communities.  
Under each event, I’d like a link to the Organizer & Communities facilitating the events to be present. Under each organizer and community profile, I want an archive of all the events they’ve facilitated & organized to show up.

I know in wordpress, I can use a relationship field and get away with this easily, but am really wanting to achieve this in Hugo.

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [November 25, 2018, 9:37am UTC](https://discourse.gohugo.io/t/cross-linking-bi-directional-relationships-between-hugo-post-types/15482/2 "2018-11-25T09:37:09Z")

</div>

Maybe this can help:

> **[Better Relationships in Hugo, with Hugo's Related Content | Regis Philibert](https://regisphilibert.com/blog/2018/04/hugo-optmized-relashionships-with-related-content/)**
>
> By using Hugo's Related Content to manage your relationships, you could reduce your build time by 70%! In this article, we see how easy it is to implement Hugo's new Related Content feature on an existing project and how it will forever optimize the...

---

<div class="post-metadata">

**Author:** ![saitor](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@saitor](https://discourse.gohugo.io/u/saitor)\
**Post date:** [November 26, 2018, 12:04pm UTC](https://discourse.gohugo.io/t/cross-linking-bi-directional-relationships-between-hugo-post-types/15482/4 "2018-11-26T12:04:46Z")

</div>

Thanks for the response! I’ve gone through this article multiple times, and though it makes sense what he’s doing on the article, the moment I see the source code I am finding it super confusing. Have you found any other examples of people using Related Content for achieving this? 🙂
