Fjern forfatterens navn fra blogopslag
Advarsel
Ældre temaer er ikke tilgængelige i temabutikken. Ældre temaer har ikke de funktioner, der er inkluderet i Shopifys Online Store 2.0-temaer , og Shopifys gratis ældre temaer modtager ikke opdateringer med undtagelse af sikkerhedsrettelser.
Bemærk
Trinnene i denne vejledning er forskellige, afhængigt af om du bruger et tema med afsnit eller et tema uden afsnit . Med et tema med afsnit kan du trække og slippe for at arrangere startsidens layout – det kan du ikke med et tema uden afsnit.
Du kan finde ud af, om dit tema understøtter sektioner, ved at gå til temaets side Rediger kode . Hvis der er filer i mappen Sektioner , bruger du et tema med sektioner. Temaer uden sektioner blev udgivet før oktober 2016 og har ikke filer i mappen Sektioner .
Hvis du bruger et tema med sektioner, skal du klikke på knappen Tema med afsnit og følge vejledningen. Hvis du bruger et ældre tema uden afsnit, skal du klikke på knappen Tema uden afsnit og følge vejledningen.
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 eller command
+ 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 eller command
+ 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 eller command
+ 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 eller command
+ 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 eller command
+ 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 eller command
+ 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 .