Custom Fields
Re-Envisioned
Support Meta Box – FacetWP Integrator Setting up a relationships facet

  • Creator
    Topic
  • #27767
    Resolved Aldemos
    Participant

    Hi!
    We are looking at creating a filter facet for a custom post type ("tour") based on another custom post type ("place") linked through a bidirectional relationship to the first one. Is there a common procedure to do so?

    Thx a lot,
    Luc

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #27769
    Aldemos
    Participant

    Hi again, we finally did it differently, setting up a custom field based on the other Custom Post, and it works. However, how would we retrieve the Post title instead of the ID (which is what shows up for now in the filter)?

    #27790
    Long Nguyen
    Moderator

    Hi,

    The field post or the Relationship saves the post ID in the database so the filter of Facet shows the post ID as the data value. You can contact Facet support to ask to display the post title base on the post ID in the filter.

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