Blog posts - why does this only show recent blog posts and not ALL?

Topic summary

Users are experiencing an issue where blog post listings display only a limited number of recent posts instead of all matching articles, despite code that should show all posts with specific tags (like ‘fitness’ or ‘exercise’).

Reported Problems:

  • One user’s code shows only 2 recent articles when 10+ should match the tag criteria
  • Another sees only 3 posts displaying when 4 exist
  • A third reports only 4 of 5 posts appearing, with the missing post oddly published before one that does show

Suggested Solution (from GemPages support):

  1. Check Visibility settings in the Blog Post sidebar
  2. Verify blog posts are assigned to the correct blog via Organization > Blog
  3. Confirm posts have the appropriate tags (‘fitness’, ‘exercise’, etc.)

Current Status:
Users report the suggested fixes haven’t resolved the issue. The problem appears to involve pagination limits or visibility settings not being properly recognized. The discussion remains open with no definitive solution identified.

Summarized with AI on November 12. AI used: claude-sonnet-4-5-20250929.

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.


  

    

      

        # {{ page.title }}
      

      
        {{ page.content }}

{% for article in blogs.news.articles %} 
{% if article.tags contains 'exercise' or article.tags contains 'fitness' %} 

       
        
 
  
          

                                 

                    

                      
                    

                  

 
            
   **{{ article.title }}**

    
  
                {{ article.content | strip_html | truncatewords: 50 }}
  
  

 {% endif %} 
 {% endfor %}
        
      

    

  

Hello @peeduh ,

I’m so glad to support you today :grin: .

To can show blog posts should take into account the following factors:

  1. On the right sidebar of the Blog Post choose Visibility:

  1. At your individual blog posts, you should use “Organization > Blog” on right side bar to assign the blog posts to the same blog.

Eg:

  1. 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.

1 Like

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.

1 Like

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!