How to create sidebars such as archives for Dawn themed blog posts

Hello, I’m seeking assistance on customizing my website using the “Dawn” theme.

I want to create a sidebar for archives for blog posts (categorize by year + month).

I tried applying the instructions provided in this website, but could not do it.

https://ec-penguin.com/en/blogs/shopify/sidebar-categories-archives

I can’t find templates/article.liquid or similar.

It would be very helpful if anyone could provide me with advice on how to make an archives list sidebar just like the one shown in the website.

Thank you!

Hey @jade_19 ,

Thank you for reaching out! I understand your goal of creating a sidebar for blog archives categorized by year and month in the “Dawn” theme. It’s a great idea to enhance the browsing experience for your blog readers.

The “Dawn” theme doesn’t include a pre-built article.liquid template, as Shopify Online Store 2.0 uses a dynamic article.json template structure instead. This means we’ll need to take a slightly different approach to achieve the archive sidebar.

To create an archive-style sidebar like the one shown in the website you referenced, we can:

  1. Use Metafields or Custom Code: We can dynamically generate archive links for years and months by leveraging metafields or custom Liquid code.

  2. Customize the Blog Template: Modify the blog.json or create a custom section that includes a sidebar with archive categories.

  3. Add Styling: Ensure the sidebar matches the overall look and feel of your website.

With over my 8 years of experience, I can help you implement this feature seamlessly, providing the best outcome for your site. Please don’t hesitate to reach out via the email in my signature below—I’m here to help bring your vision to life!

Best regards,
Rajat