• Hi, I created a custom post type “practitioner” and used ACF to create my fields. Each practitioner has a custom field called “practitioner_country”.

    The values for these fields correspond with the countries selected in the Interactive Geo Maps plugin.

    In FacetWP I created a checkbox facet based on the custom field ‘practitioner_country’

    On my Custom Post Type archive page, I display a list of all practitioners.

    At the top I have the map created with Interactive Geo Maps and the relevant countries selected.

    I now need to somehow utilize the FacetWP JavaScript API, specifically the FWP.set and FWP.refresh methods, to programmatically set the facet value and refresh the listings. 

    But this is where I get lost…

    Any direction would be super appreciated

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Integrate with FacetWP’ is closed to new replies.