Hi, not sure whether this can be done or not or whether its something simple that I’m overlooking. Using the code below, EE will display the three entries from within the specified blog in to the specified content, which is fine.
<h2 class="feature">Lux De Ville</h2>
<a href="#" title="more lux de ville">more lux de ville</a>
{exp:channel:entries channel="lux-de-ville" limit="3"}
<div class="itemcontainer">
{site_url}assets/images/item-example.jpg
<h3>{title}</h3>
<p>{short-description}<br />
{product-price}<br />
</div><br />
{/exp:channel:entries}However, Im having to hardcode the H2 and link for the range just above where I’m calling in the EE blog. The H2 is actually the title of the channel and the link through will point to the full list of entries, but I dont want them to duplicate along with the content thats within the class “itemcontainer”.
So, what Im asking is, is there a way of calling it in as below, but only calling in the first two lines just the once and duplicating the the class just the three times as specified?
{exp:channel:entries channel="lux-de-ville" limit="3"}
<h2 class="feature">{channel}</h2>
<a href="#" title="more lux de ville">more lux de ville</a>
<div class="itemcontainer">
{site_url}assets/images/item-example.jpg
<h3>{title}</h3>
<p>{short-description}<br />
{product-price}<br />
</div><br />
{/exp:channel:entries}Hope this makes sense and thanks in advance for any info.
Scott
PS not sure if {channel} would display the channel name either