Sense Blog: How to I change to display more than 6 Posts

Solved

Sense Blog: How to I change to display more than 6 Posts

DaisyJ123
Shopify Partner
10 0 3

Hi there, can somebody please help me with changing how many blog posts are shown on each page for Sense theme? It only shows 6 posts as standard but I'd like to extend to 12.

Any help would be greatly appreciated!

Accepted Solution (1)

htmlBurger
Shopify Partner
87 8 21

This is an accepted solution.

Hello,

 

The Sense theme doesn't have an option for this, so you'll have to change this in the code.

Go to Edit code and then open the file /sections/main-blog.liquid.

On Line 19, you'll see this code:

 

{%- paginate blog.articles by 6 -%}

 

 Change the to 12 and you are good to go.

Found this helpful? Like and accept as solution to help others too!
htmlBurger – Founded in 2007, Shopify experts for 10+ years.
Custom themes, UI/UX design, ongoing maintenance & support.
Let's talk: ecom@htmlburger.com

View solution in original post

Replies 2 (2)

htmlBurger
Shopify Partner
87 8 21

This is an accepted solution.

Hello,

 

The Sense theme doesn't have an option for this, so you'll have to change this in the code.

Go to Edit code and then open the file /sections/main-blog.liquid.

On Line 19, you'll see this code:

 

{%- paginate blog.articles by 6 -%}

 

 Change the to 12 and you are good to go.

Found this helpful? Like and accept as solution to help others too!
htmlBurger – Founded in 2007, Shopify experts for 10+ years.
Custom themes, UI/UX design, ongoing maintenance & support.
Let's talk: ecom@htmlburger.com
DaisyJ123
Shopify Partner
10 0 3

Thank you so much! I was going mad trying to find that section of code!! Thank youuuu!!