Hi there!
I want my client to be able to upload multiple images in a blog post, so I'm using repeatable reagions. But, I can't seem to figure out how to only display one image on the blog list page.
This is my code for the blog list page:
Please help
I want my client to be able to upload multiple images in a blog post, so I'm using repeatable reagions. But, I can't seem to figure out how to only display one image on the blog list page.
This is my code for the blog list page:
- Code: Select all
<cms:pages masterpage='blog.php' paginate='1' limit='5'>
<article class="blog">
<h2 class="u--align-center"><cms:show k_page_title /></h2>
<div class="date u--align-center"><cms:date k_page_date format='F d, Y' /></div>
<div class="text">
<cms:excerptHTML count='50'>
<cms:show blog_content />
</cms:excerptHTML>
</div>
<img class="blog-img" src="<cms:show my_image" alt="<cms:show k_page_title />">
<!-- Pagination, etc. -->
</article>
</cms:pages>
Please help
