De naam van de auteur verwijderen uit blogposts
Let op
Vintage thema's zijn niet beschikbaar in de Theme Store. Vintage thema's hebben niet de functies die in de Online Store 2.0-thema's van Shopify zijn opgenomen en de gratis vintage thema's van Shopify krijgen geen updates, behalve als dit voor de beveiliging nodig is.
Opmerking
Deze aanpassing is voor vintage thema's van Shopify en is niet van toepassing op Online Store 2.0-thema's.
Opmerking
De stappen in deze tutorial verschillen al naar gelang of je een thema met of zonder secties gebruikt. In een thema met secties kun je slepen en neerzetten om de opmaak van de homepage te bepalen en in een thema zonder secties kan dat niet.
Ga naar de pagina Code bewerken van je thema om erachter te komen of je thema secties ondersteunt. Gebruik een thema met secties als de directory Secties bestanden bevat. Thema's zonder secties werden voor oktober 2016 in gebruik genomen en de directory Secties van deze thema's bevat geen bestanden.
Als je een thema met secties gebruikt, klik je op de knop Thema's met secties en volg je de instructies. Als je een ouder thema zonder secties gebruikt, klik je op de knop Thema's zonder secties en volg je de instructies.
Verwijder de naam van de auteur Om de naam van de blogauteur te verwijderen, moet je Liquid in je templates blog.liquid
en je article-template.liquid
bewerken. Als je Boundless gebruikt, moet je Liquid in je templates voor blog.liquid
en article.liquid
bewerken.
Stappen:
Desktop
Ga in het Shopify-beheercentrum naar webshop > Thema's .
Zoek het thema dat je wilt bewerken, klik op de knop … om het actiemenu te openen en klik vervolgens op Code bewerken .
Klik in de map Templates op blog.liquid
.
Gebruik ctrl
+ F
op een PC of command
+ F
op een Mac-computer om dit Liquid-tag te vinden en te verwijderen:
{{ 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 op Opslaan .
Klik in de map Secties op article-template.liquid
. Klik voor Boundless in de map Templates op article.liquid
.
Gebruik ctrl
+ F
op een PC of command
+ F
op een Mac-computer om dit Liquid-tag te vinden en te verwijderen:
{{ 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 op Opslaan .
iPhone
Tik in de Shopify-app op de knop … .
Tik in het gedeelte Verkoopkanalen op webshop .
Tik op Thema's beheren .
Zoek het thema dat je wilt bewerken, klik op de knop … om het actiemenu te openen en klik vervolgens op Code bewerken .
Klik in de map Templates op blog.liquid
.
Gebruik ctrl
+ F
op een PC of command
+ F
op een Mac-computer om dit Liquid-tag te vinden en te verwijderen:
{{ 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 op Opslaan .
Klik in de map Secties op article-template.liquid
. Klik voor Boundless in de map Templates op article.liquid
.
Gebruik ctrl
+ F
op een PC of command
+ F
op een Mac-computer om dit Liquid-tag te vinden en te verwijderen:
{{ 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 op Opslaan .
Android
Tik in de Shopify-app op de knop … .
Tik in het gedeelte Verkoopkanalen op webshop .
Tik op Thema's beheren .
Zoek het thema dat je wilt bewerken, klik op de knop … om het actiemenu te openen en klik vervolgens op Code bewerken .
Klik in de map Templates op blog.liquid
.
Gebruik ctrl
+ F
op een PC of command
+ F
op een Mac-computer om dit Liquid-tag te vinden en te verwijderen:
{{ 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 op Opslaan .
Klik in de map Secties op article-template.liquid
. Klik voor Boundless in de map Templates op article.liquid
.
Gebruik ctrl
+ F
op een PC of command
+ F
op een Mac-computer om dit Liquid-tag te vinden en te verwijderen:
{{ 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 op Opslaan .