Link to taxonomie entries Bolt -


i used following code display category of each entry:

{% if record.taxonomy.categorie defined %}     {% tag in record.taxonomy.categorie %}     {{ tag }}{% if not loop.last %}, {% endif %}     {% endfor %} {% endif %} 

the category not displayed link page entries in specific category. how can this?

the way know how tags related content.

    {% if related.taxonomy.tags defined %}         {% tag in related.taxonomy.tags %}         <a href="http://example.com/tags/{{ tag }}">{{ tag }}</a>{% if not loop.last %}, {% endif %}         {% endfor %}     {% endif %} 

you can try:

    {% if record.taxonomy.categorie defined %}         {% categorie in record.taxonomy.categorie %}         <a href="http://example.com/categorie/{{ categorie }}">{{ categorie }}</a>         {% endfor %}     {% endif %} 

hope helps.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -