Indytheme Support
ถาม - ตอบ => Smart Variety => ข้อความที่เริ่มโดย: indytheme-108 ที่ 08/03/23 เวลา 23:15 น.
-
ใช้ Plug in Yoast
ตั้งค่า Title ได้ตามปกติ
แต่ description เหมือนจะดึงจากบทความมาแสดงอะค่ะ
-
เบื้องต้น หากต้องการ disable meta ของ smart variety
ให้แก้ที่ไฟล์ libs/theme-enqueue.php ของธีมครับ
แก้
add_action('wp_head', [$this, 'indytheme_meta']);
เป็น
// add_action('wp_head', [$this, 'indytheme_meta']);
-
ขอบคุณมากค่ะ