ลบชื่อผู้เขียนออกจากบล็อกโพสต์
ในหน้านี้
ลบชื่อผู้เขียนออก
หากต้องการลบชื่อผู้เขียนบล็อกออก คุณจะต้องแก้ไข Liquid ในเทมเพลต blog.liquid
และ article-template.liquid
ของคุณ หากคุณใช้งานธีม Boundless คุณจะต้องแก้ไข Liquid ในเทมเพลต blog.liquid
และ article.liquid
ของคุณ
ขั้นตอน:
เดสก์ท็อป
- ในส่วนผู้ดูแล Shopify ให้ไปที่ร้านค้าออนไลน์ > ธีม
- ค้นหาธีมที่คุณต้องการแก้ไข แล้วคลิกปุ่ม … เพื่อเปิดเมนูดำเนินการ จากนั้นคลิก แก้ไขโค้ด
- ในโฟลเดอร์เทมเพลต ให้คลิกที่
blog.liquid
- ใช้
ctrl
+F
บน PC หรือcommand
+F
บน Mac เพื่อค้นหาและลบแท็ก Liquid นี้:
{{ 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 }}
- คลิกที่ “บันทึก”
- ในโฟลเดอร์ส่วน ให้คลิกที่
article-template.liquid
สำหรับธีม Boundless ให้คลิกที่article.liquid
ในโฟลเดอร์เทมเพลต - ใช้
ctrl
+F
บน PC หรือcommand
+F
บน Mac เพื่อค้นหาและลบแท็ก Liquid นี้:
{{ 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 }}
- คลิกที่ “บันทึก”
iPhone
- จากแอป Shopify ให้แตะที่ปุ่ม …
- ในส่วนช่องทางการขาย ให้แตะที่ร้านค้าออนไลน์
- แตะจัดการธีม
- ค้นหาธีมที่คุณต้องการแก้ไข แล้วคลิกปุ่ม … เพื่อเปิดเมนูดำเนินการ จากนั้นคลิก แก้ไขโค้ด
- ในโฟลเดอร์เทมเพลต ให้คลิกที่
blog.liquid
- ใช้
ctrl
+F
บน PC หรือcommand
+F
บน Mac เพื่อค้นหาและลบแท็ก Liquid นี้:
{{ 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 }}
- คลิกที่ “บันทึก”
- ในโฟลเดอร์ส่วน ให้คลิกที่
article-template.liquid
สำหรับธีม Boundless ให้คลิกที่article.liquid
ในโฟลเดอร์เทมเพลต - ใช้
ctrl
+F
บน PC หรือcommand
+F
บน Mac เพื่อค้นหาและลบแท็ก Liquid นี้:
{{ 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 }}
- คลิกที่ “บันทึก”
Android
- จากแอป Shopify ให้แตะที่ปุ่ม …
- ในส่วนช่องทางการขาย ให้แตะที่ร้านค้าออนไลน์
- แตะจัดการธีม
- ค้นหาธีมที่คุณต้องการแก้ไข แล้วคลิกปุ่ม … เพื่อเปิดเมนูดำเนินการ จากนั้นคลิก แก้ไขโค้ด
- ในโฟลเดอร์เทมเพลต ให้คลิกที่
blog.liquid
- ใช้
ctrl
+F
บน PC หรือcommand
+F
บน Mac เพื่อค้นหาและลบแท็ก Liquid นี้:
{{ 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 }}
- คลิกที่ “บันทึก”
- ในโฟลเดอร์ส่วน ให้คลิกที่
article-template.liquid
สำหรับธีม Boundless ให้คลิกที่article.liquid
ในโฟลเดอร์เทมเพลต - ใช้
ctrl
+F
บน PC หรือcommand
+F
บน Mac เพื่อค้นหาและลบแท็ก Liquid นี้:
{{ 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 }}
- คลิกที่ “บันทึก”