Skip to product information
1 of 1
Published:2023.05.01

How to use meta fields to link to your blog on the Dawn Shopify theme

How to use meta fields to link to your blog on the Dawn Shopify theme

Applications

  • Navigation management and editing

How to implement

  • LIQUID
View full details

Here's how to use Shopify meta fields to add internal links to your blog posts. You could write the code directly in the text in HTML editing mode, but this can result in a high operational burden as the layout can get messed up, so it's easier to update if you make it a separate procedure.

How to use meta fields to set up internal blog links in the Dawn theme


[Settings Step 1] Add the scheme to "main-article.liquid" and the label to "ja.schema.json"


[Settings Step 2] Add the "blog article" meta field and modify the display code of "main-article.liquid"


[Operation Procedure] Add a headline to the blog post and enter the same string as the headline in the meta field.


After making a purchase (all items are ¥0), you will be able to view the sample code.

If you have already made a purchase, please login here.

Sample Codes

Test Theme :Dawn/Rise 15.2.0

Add scheme to "main-article.liquid"


Add a label to "ja.schema.json"


Corrected (added) code 1

Related Post