Skip to content

Hook ของ Plant3

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

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

Section titled “หน้าบทความ (single.php)”
  1. plant_before_single_content ตำแหน่งก่อนเนื้อหา
  2. plant_after_single_content ตำแหน่งหลังเนื้อหา
  3. plant_end_single_date ตำแหน่งหลังวันที่ตรงหัวข้อ
  1. plant_page_meta ตำแหน่งหลังเนื้อหา (ยกเว้นหน้าแรก)
  1. plant_begin_entry_pic ตำแหน่งก่อนรูปภาพ
  2. plant_end_entry_pic ตำแหน่งหลังรูปภาพ