Usuń nazwisko autora z postów na blogu
Uwaga
Klasyczne szablony nie są dostępne w Theme Store. Te szablony nie mają funkcji zawartych w szablonach Online Store 2.0 , a darmowe klasyczne szablony Shopify nie są aktualizowane z wyjątkiem poprawek bezpieczeństwa.
Uwaga
To dostosowanie jest przeznaczone dla klasycznych szablonów Shopify i nie ma zastosowania do szablonów Online Store 2.0.
Uwaga
Kroki tego tutoriala różnią się w zależności od tego, czy używasz szablonu z sekcjami czy bez sekcji . Szablon z sekcjami umożliwia przeciąganie i upuszczanie elementów w celu zmiany układu strony głównej, nie jest to możliwe w przypadku szablonu bez sekcji.
Aby ustalić, czy Twój szablon obsługuje sekcje, przejdź do strony Edytuj kod . Jeśli w katalogu Sekcje znajdują się pliki, używasz szablonu z sekcjami. Szablony bez sekcji zostały opublikowane przed październikiem 2016 roku i nie mają plików w katalogu Sekcje .
Jeśli używasz szablonu z sekcjami, kliknij przycisk Szablony z sekcjami i zastosuj się do instrukcji. Jeśli używasz starszego szablonu, niezawierającego sekcji, kliknij przycisk Szablony bez sekcji i zastosuj się do instrukcji.
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:
Pulpit
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 lub command
+ 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 kliknij article.liquid
.
Użyj ctrl
+ F
na komputerze PC lub command
+ 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 .
iPhone
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 lub command
+ 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 kliknij article.liquid
.
Użyj ctrl
+ F
na komputerze PC lub command
+ 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 .
Android
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 lub command
+ 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 kliknij article.liquid
.
Użyj ctrl
+ F
na komputerze PC lub command
+ 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 .