Reload Query Loop When FacetWP Uncheck [closed]

I think the “initial” state being a shortcode is the root of your issue.

I’m making a few assumptions to what your setup looks like:

  1. You have the [a-z-listing] shortcode as your “default” state for the FacetWP settings on this page.
  2. FacetWP and AZ Listings are not integrated (I don’t believe they are officially).

Here is a breakdown of events (given the assumptions above):

  1. FacetWP does an initial load and executes do_shortcode somewhere in order to render [a-z-listing].
  2. Upon filtering something with FacetWP, the shortcode html is completely deleted from the DOM. This means that we cannot get it back unless we somehow re-render the default state (page refresh?).
  3. Unchecking the filter does not resolve back to the initial state because FacetWP does not execute do_shortcode again.

Here is an animated GIF of a-z listings being replaced by the Facetwp results template completely: https://imgur.com/a/mgrYrnm

While this may not be the answer you’re looking for, it may point you in the right direction. I would look into the following resources: