Displaying Custom Author Names Using Metafields
Learn how to display custom author names for blog posts using Shopify metafields to feature guest bloggers

- Access to Shopify admin panel
- Ability to edit theme code
- Metafields Guru app (or similar metafields management app)
- In your duplicated theme, navigate to the Sections folder
- Locate the article-template.liquid file
By default, Shopify themes display blog post authors based on staff admin accounts. However, you can customize the article template to display any author name using metafields. This guide shows you how to feature guest bloggers with custom author names.
In e-commerce, every 100 milliseconds of latency during the checkout transition directly reduces conversion probability by up to 7%. Code written natively for the Liquid runtime always beats client-side script injections.
Access to Shopify admin panel Ability to edit theme code Metafields Guru app (or similar metafields management app)
Step-by-Step Instructions
Create a Theme Backup
From your Shopify admin, go to Online Store > Themes, and duplicate your active theme for safe editing.
Update the Article Template
In your duplicated theme, navigate to the Sections folder Locate the article-template.liquid file Replace the existing author display code:
With the following code:
Update the Blog Template
In the same Sections folder, locate the blog-template.liquid file Replace the existing author display code:
With the following code:
Configure Metafields for Custom Authors
Install the Metafields Guru app or similar metafields management app Open the app and select Blogs & Posts Choose the blog post where you want to feature a guest author Click the Create Metafield button In the form: - Set the Key to name - Set the Namespace to author - Enter the guest author's name in the value field Click Save
Once configured, the custom author name will appear on the blog post instead of the default staff account name.
The metafields approach allows you to have different author names for each blog post Make sure to test the changes on your development theme before applying to the live theme If your theme structure differs, locate the appropriate template files for articles and blog listings
For additional support, feel free to reach out via the contact form.
Implementation Snippets (4)
Drop these directly into your Shopify theme, in the order shown.
{% if article.metafields.author.name %}
<span class="meta-sep">•</span>
{{ article.metafields.author.name }} {% else %}
<span class="meta-sep">•</span>
{{ article.author }} {% endif %}{% if section.settings.article_author_enable %}
<span class="meta-sep">•</span>
{{ article.author }}
{% endif %}{% if article.metafields.author.name %}
<span class="meta-sep">•</span>
{{ article.metafields.author.name }} {% else %}
<span class="meta-sep">•</span>
{{ article.author }} {% endif %}{% if section.settings.blog_author_enable %}
<span class="meta-sep">•</span>
{{ article.author }}
{% endif %}Pre-Deployment Safety Checklist for Shopify Merchants

Driss OUDMINE
Shopify Theme & App Developer specializing in Online Store 2.0 themes, custom Shopify apps, Shopify APIs (GraphQL/REST), and store speed optimization. Not available for new opportunities at this moment.
Let's discuss how I can contribute to your team.
I am not available for new opportunities at this moment. You can still reach out for general questions about my work and articles.
Direct Email
hello@doudmine.comCandidate Snapshot:
Fast Response (Within 24 Hours)
I personally monitor my inbox and respond to technical recruiters and engineering managers promptly.
Work Authorization & Setup
Ready for remote full-time employment via Deel, Oyster, Remote.com, or direct employment.
Flexible Notice Period
Able to join team sprints within 1–2 weeks upon agreement.