Forums Forums Search & Filter Pro Filter is not working …

Viewing 9 posts - 11 through 19 (of 19 total)
  • Trevor
    #73287

    So. I have taken a long look and our plugin javascript assets are not loading correctly/at all.

    I took a further look and see that you are using Cloudflare (best never to use a CDN when developing) and I suspect that either the cached files are wrong (in which case flushing the cache at Cloudflare might fix it), OR their Speed options to combine and/or minify may be the cause. We do provide our javascripts minified by default, but we also give you unminified versions so that if you are using a CDN minifier, you can rename to backup the ones we have minified and then rename the unminified ones to the same name as the minified ones had.

    This would mean our plugin would load the same filenames, thinking they were minified, but in fact it would load the unminified versions, and then the cloudflare minifier would do its thing.

    Anonymous
    #73390

    Well its not working …

    i flushed cache and nothing. activate development mode (by pass everything) and nothing.
    we are not minifying anything thru cloudflare …

    Widget show as results everything from any category ….

    I bypassed everything inside cloudflare so that you can check it again ….

    We are waiting this plugin function properly in order to kickoff our site …..

    Trevor
    #73573

    I took a look at the page just now. I opened the HTML source and the page is clearly minified. For example, ONE of the asset files loaded is called this:

    https://la-oracion.com/wp-content/cache/minify/6751a.css

    Most importantly, I am looking for the Search & Filter javascript asset files in the source HTML, and I cannot see them. This means that either they have not been loaded, or they have been combined into a bigger compressed (minified) file.

    Anonymous
    #73792

    Trevor

    I just deactivate w3cache … and we are uninstalling it … even though .. the problem is still the same …

    Now i can see search widget is showing info right after you select something but .. it keeps showing the same articles … and from multiple categories ….

    What can we do????

    Trevor
    #73804

    This likely means that your theme is overriding our search query by using its own pre-get posts. The simplest way to try to overcome this is to create a special results page, set the form to use the Shortcode method, and use the results shortcode to display the results and set the form to use this new results page that you have made. The appearance will be basic and simply, and may miss some detail, but this we can fix. The first test is to see if this method yields the correct results.

    Anonymous
    #73875

    Well Trevor … this worked.

    If i need something regarding templating ill be back.

    for the record, we are using wp-prosperity template.

    Trevor
    #73939

    Hi. Is this thread ready to be closed then?

    Anonymous
    #76425

    Trevor

    After a few days working with Search and Filter plugin i still have some problems with it.

    If you enter here
    https://la-oracion.com/buscador-pensamientos-y-reflexiones/

    You can search for:
    Category “Frases y Reflexiones”
    Tag: multiple
    Author: multiple.

    The problem is that there are authors listed like “Antonio Furioli” with 19 post and this author doesnt have any post with category “Frases y Reflexiones”.

    So results page shows “Not found” (which is correct)
    or just does nothing and shows all the posts …

    So something is not working properly with the count feature.

    Trevor
    #76486

    Ah. The author problem is because the authors are in a different table from posts. Whilst we do intend to so more work on this part of the plugin, the count and hide empty is only reliable if no filters are loaded. For example, after filtering you might say an author has no posts left in the remaining posts, but is still shown in the list, but should be hidden. But this will not happen. It affects only authors because it is a separate table in WordPress.

Viewing 9 posts - 11 through 19 (of 19 total)