Custom Fields
Re-Envisioned
Support MB Relationships Taxonomy count not changing after connecting a term:term relationship (AIO)

  • Creator
    Topic
  • #32854
    Resolved Sam
    Participant

    Hi - I've used the AIO plugin to create a term to term relationship to essentially "copy" the related posts from one taxonomy to another (for front-end display flow purposes), however I can't get the taxonomy count of my newly created relationship destination to change.

    More specifically, I have the following setup (all of which has been created in AIO):

    Post type: Activity
    Taxonomies: "activity-type" (legacy taxonomy) & "misc" (newly created one)
    Relationship: "activity-type" (term) to "misc" (term) - non-reciprocal
    Connected from: "activity-type:other" (child of "activity-type" taxonomy) (current count 1,500)
    Connected to: "other-categories" (parent in "misc" taxonomy) (current count 0, but expecting same 1,500)

    Everything appears where it's supposed to, EXCEPT for the fact that the newly created relationship destination ("other-categories" from the "misc" taxonomy) is showing a 0 count, when it expect it to be displaying the same 1,500 as the term it's connected from ("activity-type:other").

    What am I misunderstanding?

    Thank you for getting your brain around this,
    Sam

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #32861
    Long Nguyen
    Moderator

    Hi Sam,

    The column Count in the Taxonomy page shows the number of posts assigned to the term. But the connection between terms does not assign the posts to the connection term. That is a different point.

    #32863
    Sam
    Participant

    Ok, but is there a metabox solution for handling this? If not, can you point me in a direction.

    Thanks,
    Sam

    #32871
    Long Nguyen
    Moderator

    Hi Sam,

    If you are familiar with coding, you can use the WP function wp_set_post_terms() to set post terms. Or contact a developer to create a snippet code to do that.

    #32879
    Sam
    Participant

    Perfect. Will pass on to my dev.

    Thank you

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