Taxonomy Field - Not saving to term_relationships

Support General Taxonomy Field - Not saving to term_relationshipsResolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11403
    davidrknowlesdavidrknowles
    Participant

    I have come across something weird, I used the straight Taxonomy Field as opposed to the Advanced Taxonomy Field due to its ability to sets post terms.

    I am not sure if this is an issue with having a custom table on the post type, as I found the term meta in my custom table.

    #11406
    davidrknowlesdavidrknowles
    Participant

    Just released I didn't finish what I was thinking lol

    So the taxonomy field is not creating a relationship with the post and the term, I think the standard way is to write the link in the term_relationships table but this isn't happening, instead, it is writing to the custom table I have on that post type for all the meta.

    I am yet to try and see if having the table is the cause of the issue.

    #11420
    Anh TranAnh Tran
    Keymaster

    Hi David,

    If you set the meta box to use a custom table, then all fields will save data in the custom table. The storage (custom table) is set for meta box, thus it applies to all its fields.

    #11434
    davidrknowlesdavidrknowles
    Participant

    Thanks Anh, thought this might have been the case, I have made an AJAX hack but am just trying to refine it a little and use a filter or action that passes the meta fields before it is saved to the database.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.