Hi there,
I currently have a Structure that looks like the following:
Artists
Band Name
-Overview
-About
-Tour
-Music
On the “Artists” index page, it’s pulling the artists header image and band name. Click on either one of those sends you to the Band>Overview page.
What my current problem is now, is that on the Artists page, it’s trying to pull an image and band name from every single page (ex. Overview, About, Tour)
How do I limit it to just pull from the “Band Name” page?
Currently, my template looks like this:
<div class="current-bands">
<h1 class="current">Our Current Artists</h1>
{exp:channel:entries channel="artists" dynamic="no"}
<ul class="bands">
<li>
{exp:channel_images:images entry_id="{entry_id}"}
<a href="http://{page_url}/overview">{image:url:medium}</a>
{/exp:channel_images:images}
{artist_info}
<h1 class="band-name"><a href="http://{page_url}/overview">{artist_name}</a></h1>
<h2 class="place">{artist_city}</h2>
{/artist_info}
</li>
</ul>
{/exp:channel:entries}
</div>Thanks for your help in advance!