When you install the theme, we have set default template for Blog & Article. In addition, we have many other pre-built templates. If you want to use these templates, follow the steps below.
This is the method to import from json file through theme code.
- If you do not know the location of the
sample-data
. See here - See instructions for opening theme code on the shopify store.
Import Blog Template
We have pre-built blog template. The template is stored in the sample-data/sub-templates/blog
folder. You can find them with the name "sub-blog template".
Tips :
- Blog template are in the format
blog.[name-template].json
- The skin grid will be named
blog.grid-**.json
- The skin lists will be named
blog.list-**.json
Locate the template file in the sample-data/sub-templates/blog
folder. Open the template/blog.json
file in the theme code and replace the content with the content of the blog.[name-template].json
file in the sample-data/sub-templates/blog
folder.
Import Article Template
We have pre-built article template (blog detail page). The template is stored in the sample-data/sub-templates/blog
folder. You can find them with the name "sub-article template"
Tips :
- Article template are in the format
article.[name-template].json
Locate the template file in the sample-data/sub-templates/blog
folder. Open the template/article.json
file in the theme code and replace the content with the content of the article.[name-template].json
file in the sample-data/sub-templates/blog
folder.