Shopify自定义主题开发:何处添加主题名称、创作者及版本信息?
Hey there! Great question—this is all managed through your theme's core configuration file, no need to dig into template code. Here's the step-by-step breakdown:
Locate or create the
theme.tomlfile
This file lives in the root directory of your Shopify theme. If it doesn't exist yet, just make a new plain text file namedtheme.tomlin your theme's main folder.Add the required configuration properties
Inside thetheme.tomlfile, define these key values to populate the footer info in the Customize editor:name: Your theme's public display name (matches "DEBUT" in your example)version: Your theme's version number (e.g., "1.0.0" or "2.3.1")authors: The creator/support attribution (you can add one or multiple authors here)
Here's a working example to copy:
name = "My Custom Shopify Theme" version = "1.0.0" [authors] [[authors]] name = "Your Name or Agency"Upload and test
Save the file, upload your theme to Shopify, then head to the Customize editor. Scroll all the way to the bottom of the left sidebar—you'll see your theme name, version, and author info displayed exactly like the Debut theme does.
Bonus tip: If you want to link to your website, you can add a url field under the author entry, like this:
[[authors]] name = "Your Agency" url = "https://youragency.com"
Shopify will automatically turn the author name into a clickable link in the Customize footer.
内容的提问来源于stack exchange,提问作者Don40




