Fjern forfatterens navn fra blogginnlegg
På denne siden
Fjern forfatterens navn
For å fjerne bloggforfatterens navn, må du redigere Liquid-koden i blog.liquid
- og article-template.liquid
-malene. Hvis du bruker Boundless, må du redigere Liquid-koden i blog.liquid
- og article.liquid
-malene.
Trinn:
Datamaskin
- Fra Shopify-administrator går du til Nettbutikk > Temaer.
- Finn temaet du vil redigere, klikk på …-knappen for å åpne handlingsmenyen, og klikk deretter på Rediger kode.
- I Maler-mappen klikker du på
blog.liquid
. - Bruk
ctrl
+F
på PC ellercommand
+F
på Mac for å finne denne Liquid-taggen og slette den:
{{ 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 }}
- Klikk på Lagre.
- I Seksjoner-mappen klikker du på
article.liquid
. For Boundless, i Maler-mappen, klikker du påarticle-template.liquid
. - Bruk
ctrl
+F
på PC ellercommand
+F
på Mac for å finne denne Liquid-taggen og slette den:
{{ 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 }}
- Klikk på Lagre.
iPhone
- Trykk på …-knappen fra Shopify-appen.
- I Salgskanaler-seksjonen trykker du på Nettbutikk.
- Trykk på Administrer temaer.
- Finn temaet du vil redigere, klikk på …-knappen for å åpne handlingsmenyen, og klikk deretter på Rediger kode.
- I Maler-mappen klikker du på
blog.liquid
. - Bruk
ctrl
+F
på PC ellercommand
+F
på Mac for å finne denne Liquid-taggen og slette den:
{{ 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 }}
- Klikk på Lagre.
- I Seksjoner-mappen klikker du på
article.liquid
. For Boundless, i Maler-mappen, klikker du påarticle-template.liquid
. - Bruk
ctrl
+F
på PC ellercommand
+F
på Mac for å finne denne Liquid-taggen og slette den:
{{ 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 }}
- Klikk på Lagre.
Android
- Trykk på …-knappen fra Shopify-appen.
- I Salgskanaler-seksjonen trykker du på Nettbutikk.
- Trykk på Administrer temaer.
- Finn temaet du vil redigere, klikk på …-knappen for å åpne handlingsmenyen, og klikk deretter på Rediger kode.
- I Maler-mappen klikker du på
blog.liquid
. - Bruk
ctrl
+F
på PC ellercommand
+F
på Mac for å finne denne Liquid-taggen og slette den:
{{ 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 }}
- Klikk på Lagre.
- I Seksjoner-mappen klikker du på
article.liquid
. For Boundless, i Maler-mappen, klikker du påarticle-template.liquid
. - Bruk
ctrl
+F
på PC ellercommand
+F
på Mac for å finne denne Liquid-taggen og slette den:
{{ 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 }}
- Klikk på Lagre.