3
Taxonomy: ทำไม 'with_front' => false ไม่ทำงาน
อย่างจริงจังทำไม'with_front' => falseไม่ทำงานตามที่ควรจะเป็น? ควรลบชื่อ TAXONOMY BASE และคำถามของฉันคือทำไมมันไม่ทำงาน? ฉันไม่ต้องการให้กระสุนฐานแท็กซอนปรากฏใน URL ของฉันและ codex บอกว่า'with_front' =>เท็จควรช่วยได้ แต่ก็ไม่ได้ ปล่อยกระสุนว่างเปล่าเช่น'slug'=> ''สร้างข้อผิดพลาด 404 register_taxonomy("tax_categories", array("products"), array( "hierarchical" => true, "label" => "Categories", "singular_label" => "Category", "show_ui" => true, 'update_count_callback' => '_update_post_term_count', "rewrite" => array( 'with_front' => false, 'hierarchical' => true ) )); ปัญหานี้ควรได้รับการแก้ไขhttp://core.trac.wordpress.org/ticket/16807 โปรดช่วยให้เข้าใจ ขอบคุณ.