ブログ記事から執筆者の名前を削除する
このページはDec 08, 2023に印刷されています。最新のバージョンについては、https://help.shopify.com/ja/manual/online-store/themes/themes-by-shopify/vintage-themes/customizing-vintage-themes/remove-author-nameをご覧ください。
目次
執筆者の名前を削除する
ブログ執筆者の名前を削除するには、blog.liquid
およびarticle-template.liquid
テンプレートでLiquidを編集する必要があります。Boundlessを使用している場合は、blog.liquid
テンプレートとarticle.liquid
のテンプレートでLiquidを編集する必要があります。
手順:
- 管理画面から [オンラインストア] > [テーマ] に移動します。
- 編集するテーマを見つけて、[...] ボタンをクリックしてアクションメニューを開き、[コードを編集する] をクリックします。
-
[テンプレート] フォルダで、
blog.liquid
をクリックします。 - PCで
ctrl
+F
、Macでcommand
+F
を使用して、次のLiquidタグを見つけて削除します。
{{ article.author }}
For **Simple** and **Supply**, the author and date share the same liquid tag. To remove both, use `ctrl` + `F` on a PC or `command` + `F` on a Mac to locate this Liquid tag and delete it:
{{ 'blogs.article.author_on_date_html' | t: author: author, date: date }}
If you want to keep only the date, then replace the code above with:
{{ date }}
- [保存] をクリックします。
-
セクションフォルダで、[
article-template.liquid
] をクリックします。Boundlessの場合、テンプレートフォルダで、[article.liquid
] をクリックします。 - PCで
ctrl
+F
、Macでcommand
+F
を使用して、次のLiquidタグを見つけて削除します。
{{ article.author }}
For **Simple** and **Supply**, the article author and article date share the same liquid tag. To remove both, use `ctrl` + `F` on a PC or `command` + `F` on a Mac to locate this Liquid tag and delete it:
{{ 'blogs.article.author_on_date_html' | t: author: author, date: date }}
If you want to keep only the date, then replace the code above with:
{{ date }}
- [保存] をクリックします。
- Shopifyアプリで [...] ボタンをタップします。
- 販売チャネルセクションで、[オンラインストア] をタップします。
- [テーマを管理する] をタップします。
- 編集するテーマを見つけて、[...] ボタンをクリックしてアクションメニューを開き、[コードを編集する] をクリックします。
-
[テンプレート] フォルダで、
blog.liquid
をクリックします。 - PCで
ctrl
+F
、Macでcommand
+F
を使用して、次のLiquidタグを見つけて削除します。
{{ article.author }}
For **Simple** and **Supply**, the author and date share the same liquid tag. To remove both, use `ctrl` + `F` on a PC or `command` + `F` on a Mac to locate this Liquid tag and delete it:
{{ 'blogs.article.author_on_date_html' | t: author: author, date: date }}
If you want to keep only the date, then replace the code above with:
{{ date }}
- [保存] をクリックします。
-
セクションフォルダで、[
article-template.liquid
] をクリックします。Boundlessの場合、テンプレートフォルダで、[article.liquid
] をクリックします。 - PCで
ctrl
+F
、Macでcommand
+F
を使用して、次のLiquidタグを見つけて削除します。
{{ article.author }}
For **Simple** and **Supply**, the article author and article date share the same liquid tag. To remove both, use `ctrl` + `F` on a PC or `command` + `F` on a Mac to locate this Liquid tag and delete it:
{{ 'blogs.article.author_on_date_html' | t: author: author, date: date }}
If you want to keep only the date, then replace the code above with:
{{ date }}
- [保存] をクリックします。
- Shopifyアプリで [...] ボタンをタップします。
- 販売チャネルセクションで、[オンラインストア] をタップします。
- [テーマを管理する] をタップします。
- 編集するテーマを見つけて、[...] ボタンをクリックしてアクションメニューを開き、[コードを編集する] をクリックします。
-
[テンプレート] フォルダで、
blog.liquid
をクリックします。 - PCで
ctrl
+F
、Macでcommand
+F
を使用して、次のLiquidタグを見つけて削除します。
{{ article.author }}
For **Simple** and **Supply**, the author and date share the same liquid tag. To remove both, use `ctrl` + `F` on a PC or `command` + `F` on a Mac to locate this Liquid tag and delete it:
{{ 'blogs.article.author_on_date_html' | t: author: author, date: date }}
If you want to keep only the date, then replace the code above with:
{{ date }}
- [保存] をクリックします。
-
セクションフォルダで、[
article-template.liquid
] をクリックします。Boundlessの場合、テンプレートフォルダで、[article.liquid
] をクリックします。 - PCで
ctrl
+F
、Macでcommand
+F
を使用して、次のLiquidタグを見つけて削除します。
{{ article.author }}
For **Simple** and **Supply**, the article author and article date share the same liquid tag. To remove both, use `ctrl` + `F` on a PC or `command` + `F` on a Mac to locate this Liquid tag and delete it:
{{ 'blogs.article.author_on_date_html' | t: author: author, date: date }}
If you want to keep only the date, then replace the code above with:
{{ date }}
- [保存] をクリックします。