Support » Plugin: Beautiful taxonomy filters » Filter disappears when no result is found

Viewing 1 replies (of 1 total)
  • Plugin Author Jonathandejong

    (@jonathandejong)

    Hi @mrmazure

    I’m going to guess that this is one of two scenarios:

    1. You’re using the automagic insertion option to add the filters to your archives. Unfortunately the only hook that can be used for this feature is one that only fires before the loop IF there are posts to show. Otherwise it wont trigger.. big bummer but that’s how WP does it for some reason. A workaround could be to also set the conditional dropdowns options to avoid the possibility for empty results OR to use a different method of adding BTF to your archives.

    2. You have placed BTF inside the if statement of your archive loop. That will result in BTF never being triggered if the statement is false (no posts). To resolve just move BTF above the if statement.

    Best of luck!

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