At the end of each blog entry, I’ve got this code:
<h3>Related Posts</h3>
<p> <ul class="related"><br />
{exp:weblog:entries related_categories_mode="on" limit="5"}<br />
<li><a href="http://{title_permalink=blog/article}" title="{title}">{title}</a></li> <br />
{/exp:weblog:entries}<br />
</ul>Is there an easy way to say if related_categories == “0” then display “no related categories”
As it is right now, if there are not related categories, all the user sees is the h3 heading “Related Posts,” but there are no entries in the list.