ลบชื่อผู้เขียนออกจากบล็อกโพสต์
หมายเหตุ: ขั้นตอนสำหรับบทแนะนำการใช้งานนี้จะแตกต่างกันไป ขึ้นอยู่กับว่าคุณกำลังใช้ธีมที่แบ่งส่วน หรือไม่แบ่งส่วน อยู่ โดยธีมที่แบ่งส่วนจะให้คุณสามารถลากและวางวัตถุเพื่อจัดการเลย์เอาต์ของหน้าแรกได้ ในขณะที่ธีมที่ไม่แบ่งส่วนนั้นไม่สามารถทำได้
หากต้องการทราบว่าธีมของคุณรองรับส่วนหรือไม่ ให้ไปที่หน้าแก้ไขโค้ดของธีม หากมีไฟล์ในไดเรกทอรีส่วน หมายความว่าคุณกำลังใช้ธีมที่แบ่งส่วน ธีมที่ไม่แบ่งส่วนเปิดตัวก่อนเดือนตุลาคม 2016 และไม่มีไฟล์ในไดเรกทอรีส่วน
หากคุณใช้ธีมที่แบ่งส่วน ให้คลิกปุ่ม ธีมที่แบ่งส่วน แล้วดำเนินการตามคำแนะนำ หากคุณใช้ธีมที่ไม่แบ่งส่วนซึ่งเป็นรุ่นเก่า ให้คลิกปุ่ม ธีมที่ไม่แบ่งส่วน แล้วดำเนินการตามคำแนะนำ
ในหน้านี้
ลบชื่อผู้เขียนออก
หากต้องการลบชื่อผู้เขียนบล็อกออก คุณจะต้องแก้ไข 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 }}
- คลิกที่ “บันทึก”
- จากแอป 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 }}
- คลิกที่ “บันทึก”
- จากแอป 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 }}
- คลิกที่ “บันทึก”