No templates found for blog posts

Hey,

I’m trying to setup a blog for my Shopify store, but I’m running into an issue. I have created the blog page, but I do not have the option to create a blog post template. The option is simply not present in the dropdown menu.

I have a custom theme created by a developer if that makes any difference?

Is it possible that there is a setting or some code that needs to be changed in order for me to create the blog post template?

Any help is much appreciated!

Hey @SOLE5

It probably means that your developer forgot to create the blog template. It’s not a big problem. Feel free to share your store URL and collab code in my private messages and I can create one for you.

Best,
Moeed

Hey @SOLE5,

The requested changes requires to do the custom code in your theme file.

Could you share the store url and the collab code so that I can take a look into it.
Thanks

This can be done by creating a new liquid file in store backend. You can share this situation with developers who helped design your store, or directly access by clicking three dots near Customize button and selecting theme edit option to add a liquid file named as blog.liquid.

You have to create a blog to make this available.

Thank you, this makes sense!

Do I need to copy the entire contents of the theme.liquid into the added blog.liquid file?

And do I also need to create an article.liquid file for the actual article pages too?

  1. No need to copy entire contents of theme.liquid into the newly added file. It depends what contents you need in the new blog liquid file and for further details, you can discuss with developers who worked on your store before.
  2. It is available to do so, but it will be better if can create a new category from admin page directly, as when you add some elements or plugins, it will be automatically added as liquid files or linked with related liquid files. Both available and it is up to you according to real situation.

Thanks again. That’s very helpful! Unfortunately our developer is booked out and has a very long lead time and I’m trying to get this sorted ASAP.

I have a page.blog.json in my ‘templates’ section in the code. And I used the AI section tool to create the elements/design for the blog page - this code is saved in the ‘blocks’ section and titled ‘ai_gen_block_xxxxx.liquid’.

Does the blog.liquid file actually need to be called ‘page.blog.liquid’ and saved into the ‘templates’ section to match with the .json file? And is the contents of the new .liquid file mostly going to be the code from ‘ai_gen_block_xxxxx.liquid’ or from the main ‘theme.liquid’ in the ‘layout’ section?

Again thank you for your help!

Hey @SOLE5

The issue you’re facing is very likely caused by your custom theme not including the standard Shopify blog and article templates — these are the files named blog.json and article.json.

When these templates are missing, Shopify simply doesn’t show the option to choose or create a blog post template in the dropdown menu.

Here’s what you can do to fix it (no coding needed for now):

1. Check your theme structure:

In your Shopify admin, go to “Online Store”, then “Themes”, click on “Actions”, and choose “Edit code”.

Inside the list of theme files, look for a folder named Templates. There should be two files: one for the blog and one for individual articles.

2. If they’re missing:

Your theme developer might not have added them. You can either ask the developer to include standard blog and article templates, or you can add a free Shopify theme (like Dawn) temporarily to compare — that theme includes the standard templates.

3. If they exist but still don’t appear:

Check that the file names are written exactly as blog.json and article.json. If they are named differently or contain invalid formatting, Shopify won’t display them.

4. Custom-built theme note:

If your developer built a very customized theme or a “headless” structure, the blog system might have been intentionally removed. In that case, your developer will need to add the blog functionality back in so Shopify recognizes it.

Tip:

You can quickly test whether the issue is theme-related by switching to the default Dawn theme. If the blog template options appear there, it confirms your custom theme is missing the required structure.

Best,

Rafael from Muthwerk

:sparkles: E-Commerce Solutions & Shopify Optimization

Thank you so much!

The issue was that the article.json file was missing. Now that I’ve added that in I was able to create a template for the articles, and use the AI tool to create a section layout.

My issue now is that the buttons do not work and I cannot highlight any of the text on the page.

E.g. the ‘back to blog’ button is not clickable. Do you know what part of the code I might have to edit to fix this?

^^^And I didn’t need to add or any of the .liquid files to get this to work. Simply just had to add in the article.json. Hopefully that is not an issue.

This question you raised here has been related to the json file how to be effective in the liquid file. If your developer is under very tight schedule and cannot help you directly, you can also try to ask AI tool how to join json file with related liquid file under same template properly and it should give you some suggestions or ideas if you ask with real examples.

I’m sorry for unable to give you the solution here directly, as it depends on the theme or store contents using and each theme has different ways of coding when it comes to this aspect.