Shopify themes, liquid, logos, and UX
I have page template code below that shows all blog posts matching a specific tag.
But it's only outputting recent articles (only 2 matching) when it should be showing ALL articles (more than 10+).
Anyone know what I'm doing wrong? Thank you.
<div class="page-width">
<div class="grid">
<div class="grid__item medium-up--five-sixths medium-up--push-one-twelfth">
<div class="section-header text-center">
<h1>{{ page.title }}</h1>
</div>
<div class="rte">
{{ page.content }}
{% for article in blogs.news.articles %}
{% if article.tags contains 'exercise' or article.tags contains 'fitness' %}
<div class="njohn_search_otherpage">
<!---<div>{{ article.image.src | img_url: 'medium' | img_tag: article.title }}</div> --->
<div class="list-view-item__link">
<div class="list-view-item__image-column">
<div class="list-view-item__image-wrapper product-card__image-wrapper">
<center><img class="list-view-item__image" src="{{ article.image.src | img_url: '600x600' }}" alt="{{ article.image.alt | escape }}"></center>
</div>
</div>
<div><b><a href="{{ article.url }}" title="{{ article.title | escape }}"> {{ article.title }}</div></a></b>
{{ article.content | strip_html | truncatewords: 50 }}
</div><br>
{% endif %}
{% endfor %}
</div>
</div>
</div>
</div>
Hello @peeduh,
I'm so glad to support you today 😁.
To can show blog posts should take into account the following factors:
1. On the right sidebar of the Blog Post choose Visibility:
2. At your individual blog posts, you should use "Organization > Blog" on right side bar to assign the blog posts to the same blog.
Eg:
3. In your code above, the blog posts should have tags as fitness or exercise.
Eg:
I hope you find the answer helpful.
Kind & Best regards,
GemPages Support Team.
I have done this, but only 3 posts show. I now have 4. Before uploading this newest one, my first post was visible. Now it's not showing. When I select view all, it does nothing additional. No more than 3 posts show.
I am having this same issue. I have 5 blog posts in one blog but when I click "view all" button only the 4 show up that are in the preview. And what's really weird is one of them that's showing up is published after the one that isn't viewing? Not sure what to do to get that post to show up!
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025