Answers.Body: <p>If I understand properly, you want to show <em>related</em> FAQ based on categories.</p>
  <p>On your entry template, you could do something like this:</p>
  <pre><code>{# Fetch the categories of the current entry #}
  {% set entryCategories = entry.yourCategoriesFieldHandle.all() %}
  
  {# Find related entries #}
  {% set relatedFaqs = craft.entries()
      .section('faqs')
      .relatedTo(entryCategories)
      .all() %}
  
  {# Display related FAQs #}
  &lt;ul&gt;
  {% for entry in relatedFaqs %}
      &lt;li&gt;&lt;a href=&quot;{{ entry.url }}&quot;&gt;{{ entry.title }}&lt;/a&gt;&lt;/li&gt;   
  {% endfor %}
  &lt;/ul&gt;
  
  </code></pre>
  <p>Change <code>yourCategoriesFieldHandle</code> to what your field handle is and <code>.section('faqs')</code> to the correct section handle for your FAQ's section.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-17T20:44:55.580Z
Answers.Text: Thank you very much!
Answers.UserDisplayName: Spheriri
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-15T14:24:05.830Z
Answers.LastActivityDate: 2021-03-15T14:24:05.830Z
Answers.UserDisplayName: Oli
Body: <p>I'm abit lost as to how to structure my FAQ page.</p>
  <p>I have a single FAQ page that pulls in every FAQ post, these posts come from the FAQ Entries channel.</p>
  <p>But</p>
  <p>On the single FAQ page, how do I add a navigation that only shows certain FAQ Entries using categories?</p>
  
Tags: <categories><navigation>
Title: Adding Categories navigation to show certain entries
ThreadText: # Adding Categories navigation to show certain entries
  
  (Asked by: username_0 on 2021-03-15)
  
  I'm abit lost as to how to structure my FAQ page.
  
  I have a single FAQ page that pulls in every FAQ post, these posts come from the FAQ Entries channel.
  
  But
  
  On the single FAQ page, how do I add a navigation that only shows certain FAQ Entries using categories?
  
  **Tags:** categories, navigation
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-03-15. Score: 2 | Accepted answer
  
  If I understand properly, you want to show *related* FAQ based on categories.
  
  On your entry template, you could do something like this:
  
  ```
  {# Fetch the categories of the current entry #}
  {% set entryCategories = entry.yourCategoriesFieldHandle.all() %}
  
  {# Find related entries #}
  {% set relatedFaqs = craft.entries()
      .section('faqs')
      .relatedTo(entryCategories)
      .all() %}
  
  {# Display related FAQs #}
  <ul>
  {% for entry in relatedFaqs %}
      <li><a href="{{ entry.url }}">{{ entry.title }}</a></li>   
  {% endfor %}
  </ul>
  
  ```
  
  Change `yourCategoriesFieldHandle` to what your field handle is and `.section('faqs')` to the correct section handle for your FAQ's section.
  
  > **Comments:**
  > **username_0**: Thank you very much!  
  
  ---
  
  