Fjern forfatterens navn fra blogopslag
På denne side
Fjern forfatterens navn
Hvis du vil fjerne forfatterens navn fra en blog, skal du redigere Liquid i dine blog.liquid
- og article-template.liquid
-skabeloner. Hvis du bruger Boundless, skal du redigere Liquid i dine blog.liquid
- og article.liquid
-skabeloner.
Trin:
Desktop
- Gå til Webshop > Temaer i din Shopify-administrator.
- Find det tema, du vil redigere, og klik på knappen … for at åbne handlingsmenuen. Klik derefter på Rediger kode.
- Klik på
blog.liquid
i mappen Skabeloner. - Brug
ctrl
+F
på en PC ellercommand
+F
på Mac for at finde dette Liquid-tag og slette det:
{{ 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 }}
- Klik på Gem.
- Klik på
article-template.liquid
i mappen Afsnit. Klik påarticle.liquid
i mappen Skabeloner, hvis du bruger Boundless. - Brug
ctrl
+F
på en PC ellercommand
+F
på Mac for at finde dette Liquid-tag og slette det:
{{ 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 }}
- Klik på Gem.
iPhone
- Tryk på knappen … i Shopify-appen.
- Tryk på Webshop i afsnittet Salgskanaler.
- Tryk på Administrer temaer.
- Find det tema, du vil redigere, og klik på knappen … for at åbne handlingsmenuen. Klik derefter på Rediger kode.
- Klik på
blog.liquid
i mappen Skabeloner. - Brug
ctrl
+F
på en PC ellercommand
+F
på Mac for at finde dette Liquid-tag og slette det:
{{ 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 }}
- Klik på Gem.
- Klik på
article-template.liquid
i mappen Afsnit. Klik påarticle.liquid
i mappen Skabeloner, hvis du bruger Boundless. - Brug
ctrl
+F
på en PC ellercommand
+F
på Mac for at finde dette Liquid-tag og slette det:
{{ 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 }}
- Klik på Gem.
Android
- Tryk på knappen … i Shopify-appen.
- Tryk på Webshop i afsnittet Salgskanaler.
- Tryk på Administrer temaer.
- Find det tema, du vil redigere, og klik på knappen … for at åbne handlingsmenuen. Klik derefter på Rediger kode.
- Klik på
blog.liquid
i mappen Skabeloner. - Brug
ctrl
+F
på en PC ellercommand
+F
på Mac for at finde dette Liquid-tag og slette det:
{{ 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 }}
- Klik på Gem.
- Klik på
article-template.liquid
i mappen Afsnit. Klik påarticle.liquid
i mappen Skabeloner, hvis du bruger Boundless. - Brug
ctrl
+F
på en PC ellercommand
+F
på Mac for at finde dette Liquid-tag og slette det:
{{ 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 }}
- Klik på Gem.