Skip to product information
1 of 1
Published:2023.11.12

Example of settings for the Shopify theme "Dawn" to display blog post author names other than account names

Example of settings for the Shopify theme "Dawn" to display blog post author names other than account names

Applications

  • CheckoutEdit

How to implement

  • LIQUID
View full details

In Shopify blogs, the "Author Name" field can usually only be set to the account owner or staff member's name, and cannot be set freely. Here is an example of how to use a metafield to display any name.


Example of settings to allow blog post author names to be displayed other than the account name


Step 1: Add blog post meta field definitions


Setting Step 2: Edit the code for the author name display part of "main-article.liquid" and "article-card.liquid"


How to use: Enter the author name you want to display in the meta field when posting a blog post. *If left blank, the default name of the account that created the post will be displayed.


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

Edit the code for the author name display part of "main-article.liquid" and "article-card.liquid"


Change the JSON-LD to the rewritten code extracted from structured_data and replace the author name display part

Related Post