Usuń nazwisko autora z postów na blogu
Ta strona została wydrukowana dnia Jul 27, 2024. Aby zapoznać się z aktualną wersją, odwiedź https://help.shopify.com/pl/manual/online-store/themes/themes-by-shopify/vintage-themes/customizing-vintage-themes/remove-author-name.
Na tej stronie
Usuń nazwisko autora
Aby usunąć nazwisko autora bloga, musisz edytować tag Liquid w szablonie blog.liquid
oraz article-template.liquid
. Jeśli używasz szablonu Boundless, musisz edytować tag Liquid w szablonie blog.liquid
i article.liquid
.
Kroki:
- W panelu administracyjnym Shopify przejdź do opcji: Sklep online > Szablony.
- Znajdź temat, który chcesz edytować, kliknij przycisk ..., aby otworzyć menu czynności, a następnie kliknij Edytuj kod.
- W folderze Szablony kliknij
blog.liquid
. - Użyj
ctrl
+F
na komputerze PC lubcommand
+F
na komputerze Mac, aby znaleźć ten tag Liquid i go usunąć:
{{ 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 }}
- Kliknij opcję Zapisz.
- W folderze Sekcje kliknij
article-template.liquid
. W przypadku szablonu Boundless w folderze Szablony kliknijarticle.liquid
. - Użyj
ctrl
+F
na komputerze PC lubcommand
+F
na komputerze Mac, aby znaleźć ten tag Liquid i go usunąć:
{{ 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 }}
- Kliknij opcję Zapisz.
- W aplikacji Shopify naciśnij przycisk ….
- W sekcji Kanały sprzedaży naciśnij Sklep online.
- Naciśnij Zarządzaj szablonami.
- Znajdź temat, który chcesz edytować, kliknij przycisk ..., aby otworzyć menu czynności, a następnie kliknij Edytuj kod.
- W folderze Szablony kliknij
blog.liquid
. - Użyj
ctrl
+F
na komputerze PC lubcommand
+F
na komputerze Mac, aby znaleźć ten tag Liquid i go usunąć:
{{ 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 }}
- Kliknij opcję Zapisz.
- W folderze Sekcje kliknij
article-template.liquid
. W przypadku szablonu Boundless w folderze Szablony kliknijarticle.liquid
. - Użyj
ctrl
+F
na komputerze PC lubcommand
+F
na komputerze Mac, aby znaleźć ten tag Liquid i go usunąć:
{{ 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 }}
- Kliknij opcję Zapisz.
- W aplikacji Shopify naciśnij przycisk ….
- W sekcji Kanały sprzedaży naciśnij Sklep online.
- Naciśnij Zarządzaj szablonami.
- Znajdź temat, który chcesz edytować, kliknij przycisk ..., aby otworzyć menu czynności, a następnie kliknij Edytuj kod.
- W folderze Szablony kliknij
blog.liquid
. - Użyj
ctrl
+F
na komputerze PC lubcommand
+F
na komputerze Mac, aby znaleźć ten tag Liquid i go usunąć:
{{ 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 }}
- Kliknij opcję Zapisz.
- W folderze Sekcje kliknij
article-template.liquid
. W przypadku szablonu Boundless w folderze Szablony kliknijarticle.liquid
. - Użyj
ctrl
+F
na komputerze PC lubcommand
+F
na komputerze Mac, aby znaleźć ten tag Liquid i go usunąć:
{{ 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 }}
- Kliknij opcję Zapisz.