Blog Posts Section: Show More Posts Than Shopify’s Default Limit

Reading Time

If you're using one of Shopify's free themes, you might notice that the "Featured Blog" section only shows a maximum of 4 posts by default. While this limit might work for smaller blogs, it can be restrictive for stores with a lot of content or for those aiming to display more posts to improve user engagement and SEO.

In this tutorial, I’ll show you how to bypass this limitation easily, allowing you to display more blog posts in the "Featured Blog" section. This approach doesn't require any paid apps or complex themes, just a few simple code tweaks that will give you full control over your blog's layout. Let’s dive in and learn how to optimize your blog section!

This tutorial is compatible only with Shopify's official free themes: Colorblock, Craft, Crave, Dawn, Origin, Publisher, Refresh, Ride, Sense, Spotlight, Studio, Taste & Trade.

Looking to install this on a premium or custom theme? Contact us.

Step 1: Locating the Featured Blogs Section in Your Theme

  1. From your Shopify admin, go to Online Store > Themes.
  2. Click on the ... button next to your current theme (or whichever theme you'd like to add this feature to) and select Edit code.
  3. In the left sidebar, search for this file:

    featured-blog

    and open it. It will be under the sections folder.

  4. Press CTRL + F to trigger the search box. Search for this, quotes included:

    "post_limit"

    Now, a few lines below, you will find the text "max": 4.

    This is the maximum number of posts you are allowed to display. Change this value to 12 and click "save". You can set it to any number you like, but for performance's sake, we recommend leaving it at 12.

    Here is what it should look like:
  5. There you go, it's that simple! Now let's take a look at the customize page to ensure it's working correctly.

Final Step: Checking If It's Working on the Customize Page

  1. On the top left, click on ... and then "Customize theme".

  2. In the left sidebar, add a "Blog Posts" section if you haven't already.

  3. Click on it to open its settings.
  4. Now, in the "Number of blog posts to show" field, you'll be able to set any number up to the number you picked, in this case, 12.

And that’s it! By following these simple steps, you’ve successfully increased the number of blog posts displayed in your Shopify "Featured Blog" section, giving your store a more dynamic and engaging look. This tweak not only enhances user experience but also boosts your SEO by showcasing more content.

If you run into any issues or want to explore further customizations, feel free to leave a comment below. Happy blogging!

Back to blog

Leave a comment