Skip to content

Hook ของ Plant3

This content is not available in your language yet.

Hook คือ?

คือ ตำแหน่งที่ธีมเจาะช่องไว้สำหรับแทรกโค้ดในตำแหน่งต่างๆ ของธีม ตัวอย่างการแทรกโค้ด

หน้าบทความ (single.php)

  1. plant_before_single_content ตำแหน่งก่อนเนื้อหา
  2. plant_after_single_content ตำแหน่งหลังเนื้อหา
  3. plant_end_single_date ตำแหน่งหลังวันที่ตรงหัวข้อ

หน้าเพจ (page.php)

  1. plant_page_meta ตำแหน่งหลังเนื้อหา (ยกเว้นหน้าแรก)

Content Item (content-xxx.php)

  1. plant_begin_entry_pic ตำแหน่งก่อนรูปภาพ
  2. plant_end_entry_pic ตำแหน่งหลังรูปภาพ