Hey,
I’m trying to build a blog in EE and am having some trouble displaying categories that a weblog entry is posted into alongside the number of comments.
The comments portion is working fine, but it is currently displaying all categories rather than just the one/s the entry is posted into. Here’s my code:
{exp:weblog:entries weblog="books"}
<div class="books">
<h3><a href="http://{title_permalink=">{title}</a></h3>
<h4>{authors}</h4>
<p>{short_info}<br />
{thumb_img}</p><h5>{price}</h5>
<p>Posted in: </p>
<p>{exp:weblog:categories weblog="books" style="nested" id="category_nav" show_empty="no" }<br />
<a href="http://{path=books/list}">{category_name} </a>| </p>
<p>{/exp:weblog:categories} | comments {comment_total}</p>
<p></div><br />
{/exp:weblog:entries}Any tips on what I’ve done wrong?
I’m trying to achieve the ‘posted in’ and ‘comments’ as seen here: http://tiny.cc/g0f2w
Thanks.
Shell