Custom Fields
Re-Envisioned
Support General multiple taxonomy fields using a single taxonomy on the same page bug!

This topic contains 1 reply, has 1 voice, and was last updated by  aaron 2 months, 1 week ago.

  • Creator
    Topic
  • #14120
    Resolved
    aaron
    Participant

    Hi,

    I have two taxonomy fields, both using the same taxonomy.
    When i save the post/page the lowest field updates the previous fields?

    They have unique ID’s.
    Even when placed inside different metaboxes the one updates the other.

    array(
        'name'       => 'Area Left',
        'id'         => "{$prefix}venue_left",
        'type'       => 'taxonomy',
        // Taxonomy slug.
        'taxonomy'   => 'venue',
        'field_type' => 'select_advanced',
    ),
    array(
        'name'       => 'Area Right',
        'id'         => "{$prefix}venue_right",
        'type'       => 'taxonomy',
        // Taxonomy slug.
        'taxonomy'   => 'venue',
        'field_type' => 'select_advanced',
    ),
Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #14121

    aaron
    Participant

    Oops…

    This was my error:
    'type' => 'taxonomy_advanced'

    I was setting the current posts taxonomy not saving the taxonomy ID!

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.