2-ways relationship in facet for related post types, when both are in template

Support MB FacetWP Integration 2-ways relationship in facet for related post types, when both are in templateResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12156
    MauroMauro
    Participant

    Hi there,
    I have a weird situation. I built a facetwp filtering system for the post type "intinerary". Each Itinerary is related to a number of "city" posts.

    I've created a facet with the [Itinerary] City source and all works great.

    Now, the customer wants to implement City Guides and show them together with the Itineraries within the same interface.

    I added the relevant taxonomies and the post type to FacetWP and that works great.
    However when I select the city from the "cities" facet, it will show the related itineraries but won't show the city itself.

    Here's the example:
    https://dev.mundana.com/explore/?_destinations=europe&_city=1411

    Is there any way to make this facet reciprocal, so that when I set it I also get the city itself in the search results? I assume some kind of filter on the facetwp results would allow me to add the city with that ID?

    Any pointer is appreciated!
    Thanks,
    Mauro.

    #12181
    Anh TranAnh Tran
    Keymaster

    Hi Mauro,

    Can you please contact FacetWP and ask for help? This is a technical question and relates with how things work in FacetWP.

    #12182
    MauroMauro
    Participant

    Hi Anh, will do.

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