Answers.Body: <p>With a little help I got there:</p>
  
  <pre><code>{% set categories = craft.categories.group('developmentType').id('not ' ~ category.id) %}
  &lt;ul&gt;
  {% for category in categories %}
      &lt;li&gt;&lt;a href="{{ category.url }}" class="btn"&gt;{{ category }} Opportunities&lt;/a&gt;&lt;/li&gt;
  {% endfor %}
  &lt;/ul&gt;
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-03T16:00:27.100Z
Answers.LastActivityDate: 2015-07-03T16:00:27.100Z
Answers.UserDisplayName: richardpixel
Body: <p>In a template for a category page, I'm trying to output a list of links through to all categories within a category group but exclude the category that the user is on.</p>
  
  <p>Does that make sense? What I'm trying doesn't work, but I'm new to Craft and Twig!</p>
  
Tags: <categories><category>
Title: Display a list of categories excluding the current one
ThreadText: # Display a list of categories excluding the current one
  
  (Asked by: username_0 on 2015-07-03)
  
  In a template for a category page, I'm trying to output a list of links through to all categories within a category group but exclude the category that the user is on.
  
  Does that make sense? What I'm trying doesn't work, but I'm new to Craft and Twig!
  
  **Tags:** categories, category
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2015-07-03. Score: 5
  
  With a little help I got there:
  
  ```
  {% set categories = craft.categories.group('developmentType').id('not ' ~ category.id) %}
  <ul>
  {% for category in categories %}
      <li><a href="{{ category.url }}" class="btn">{{ category }} Opportunities</a></li>
  {% endfor %}
  </ul>
  
  ```
  
  
  ---
  
  