You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

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:

  1. Locate or create the theme.toml file
    This file lives in the root directory of your Shopify theme. If it doesn't exist yet, just make a new plain text file named theme.toml in your theme's main folder.

  2. Add the required configuration properties
    Inside the theme.toml file, 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"
    
  3. 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

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.12 03:59:53