Adding different blog categories to one page

Adding different blog categories to one page

lcarabic
Visitor
2 0 0

I'm using the Refresh theme and I would like a page that displays ALL the different "categories" of my blogs, similar to showing all different collections of my products on one page, I would like my blog page to include all different categories of my blogs. 

 

example: 

Category 1 (will show all blog posts in that category once you click on it)

Category 2 (will show all blog posts in that category once you click on it)

Category 3 (will show all blog posts in that category once you click on it)

 

also, I would like the option to show ALL BLOG POSTS on that same page as well. So, visitors can read and browse thru all posts instead of clicking on different categories. 

 

I tried the suggested addition of a liquid page with the bottom code, but that did not work:

 

{% assign blog_handles = "blog1,blog2,blog3" | split: "," %}

{% for handle in blog_handles %}

{% for article in blogs[handle].articles %}

<h2><a href="{{ article.url }}">{{ article.title }}</a></h2>
{% endfor %}

{% endfor %}

 

I'm aware I can do this as sub-menus of different blog categories, but that's not what I'm looking for.

 

 

Please advise. Thank you. 

Replies 3 (3)

Katstormphoto
Excursionist
14 3 6

I'd be interested in figuring out how to do this also. I ended up setting up a sub-menu with my articles separated into different categories but I have to manually update it every time I publish a new article, it does not automatically categorize the article based on tags. I did manage to set up a sitemap for my articles and added a link at the bottom of the menu so that readers can browse through the articles. However, even the sitemap has drawbacks since it can only contain so many links.

 

Katstorm Photography

https://katstormphoto.com/blogs/news

 

Katstorm Photography
**Capturing Nature's Beauty**
High-Quality Cameras, Lenses, and Accessories
lcarabic
Visitor
2 0 0

Nice website, very organized. What theme are you using, just curious, if you don't mind sharing?

Katstormphoto
Excursionist
14 3 6

I'm using a modified Electro Theme that I purchased through Themeforest.net. I liked this theme for its affordability, customization options, and layout. This one theme gives you over 13 homepage designs, several product page setup options, built-in wishlist & compare page and tons of other options.

Katstorm Photography
**Capturing Nature's Beauty**
High-Quality Cameras, Lenses, and Accessories