Answers.Body: <p>If I'm following you correctly, it should be as simple as this:</p>
  
  <pre><code>&lt;span class="catNoticia"&gt;
      {% if blog.myCategoryFieldHandle|length %}
          &lt;ul&gt;
              {% for category in blog.myCategoryFieldHandle %}
                  &lt;li&gt;{{ category.title }}
              {% endfor %}
          &lt;/ul&gt;
      {% endif %}
  &lt;/span&gt;
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-25T22:06:58.327Z
Answers.LastActivityDate: 2015-07-25T22:06:58.327Z
Answers.UserDisplayName: Brad Bell
Body: <p>I have a simple and maybe a stupid question, it´s my first Craft Website...</p>
  
  <p>I´m listing  a news section, the news can be categorized ( max two categories ), and i don´t know how to show the category name in the news list items, the category field name is "<strong>categoriaNot</strong>"</p>
  
  <pre><code>{% for blog in craft.entries.section('noticias').limit(10) %}
  
      &lt;!--inicia noticia--&gt;
      &lt;div class="item noticiaItem"&gt;
          &lt;div class="noticiaImg"&gt;
              {% set imagen = blog.imagenNot.first() %}
  
              {% if imagen %}
                  &lt;a href="{{ blog.url }}" title="{{ blog.title }}"&gt;&lt;img src="{{ imagen.getUrl('thumb') }}"  alt="" class="img-responsive"/&gt;&lt;/a&gt;
              {% endif %} 
          &lt;/div&gt; 
          &lt;div class="noticiaTxtWrap"&gt;
              &lt;span class="catNoticia"&gt;
                  **** CATEGORY NAME HERE ****
              &lt;/span&gt;
  
              &lt;a class="tituloNoticia" href="{{ blog.url }}"&gt; {{ blog.title }}&lt;/a&gt;
  
              &lt;span class="dateNoticia"&gt;&lt;i class="fa fa-calendar"&gt;&lt;/i&gt; Publicado el: {{ blog.postDate.format('d.m.Y') }}&lt;/span&gt;
  
              &lt;span class="resumenNoticia"&gt;
                  {{ blog.resumenNot }}
              &lt;/span&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  
      &lt;!--finaliza noticia--&gt;
  
  {% endfor %}
  </code></pre>
  
  <p>Any help will be welcome!</p>
  
  <p>thanks!</p>
  
  <p>Sebastián.</p>
  
Tags: <templating><categories>
Title: Show the entry category, that´s it
ThreadText: # Show the entry category, that´s it
  
  (Asked by: username_0 on 2015-07-25)
  
  I have a simple and maybe a stupid question, it´s my first Craft Website...
  
  I´m listing a news section, the news can be categorized ( max two categories ), and i don´t know how to show the category name in the news list items, the category field name is "**categoriaNot**"
  
  ```
  {% for blog in craft.entries.section('noticias').limit(10) %}
  
      <!--inicia noticia-->
      <div class="item noticiaItem">
          <div class="noticiaImg">
              {% set imagen = blog.imagenNot.first() %}
  
              {% if imagen %}
                  <a href="{{ blog.url }}" title="{{ blog.title }}"><img src="{{ imagen.getUrl('thumb') }}"  alt="" class="img-responsive"/></a>
              {% endif %} 
          </div> 
          <div class="noticiaTxtWrap">
              <span class="catNoticia">
                  **** CATEGORY NAME HERE ****
              </span>
  
              <a class="tituloNoticia" href="{{ blog.url }}"> {{ blog.title }}</a>
  
              <span class="dateNoticia"><i class="fa fa-calendar"></i> Publicado el: {{ blog.postDate.format('d.m.Y') }}</span>
  
              <span class="resumenNoticia">
                  {{ blog.resumenNot }}
              </span>
          </div>
      </div>
  
      <!--finaliza noticia-->
  
  {% endfor %}
  
  ```
  
  Any help will be welcome!
  
  thanks!
  
  username_0.
  
  **Tags:** templating, categories
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-07-25. Score: 2 | Accepted answer
  
  If I'm following you correctly, it should be as simple as this:
  
  ```
  <span class="catNoticia">
      {% if blog.myCategoryFieldHandle|length %}
          <ul>
              {% for category in blog.myCategoryFieldHandle %}
                  <li>{{ category.title }}
              {% endfor %}
          </ul>
      {% endif %}
  </span>
  
  ```
  
  
  ---
  
  