Home Forums General Issues Add a field to term_relationships


Add a field to term_relationships

  • I am just wondering if it is possible to add a acf custom-field to the term_relationships table ?
    So basically I want to build a kind of weighted list entries. A post should be a part of a list. Plus the lists’ entries should show up in a well defined display order. So speaking in “SQL” ordering by a field on the relation from a tax-term to the post ?

  • Hi @hcarsten,

    Thanks for the post.

    ACF only makes it possible to map a field to a certain taxonomy term or category tag.

    A workaround for this issue would be to pass a custom field value within a tax_query to order your posts by.

    I hope this info helps.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.