I’d rather not have anything show if there aren’t any results. Right now, it just shows the “Blogs by” text and “No Results”. I’d rather not show any of that if there aren’t results. Is there a way to not show the h3 if there are no results? Obviously I can’t have it in the tag pair because it’ll keep looping over and over.
Also, this is just the snippet of my related channel entry…
{exp:channel:entries channel="profile"}
<h3 class="sub">Blogs by {first_name} {last_name}.</h3>
{parents channel="blog" field="blogger" status="Featured Blogger|open"}
{if parents:no_results}No Results.{/if}
<a href="http://{site_url}site/blog_view/{parents:url_title}">{parents:title}</a>
{/parents}