Forums Forums Search & Filter Pro Plugin doesn't work properly using website navigation menu

Viewing 10 posts - 1 through 10 (of 12 total)
  • Anonymous
    #68544

    Hello, I’ve set three different search forms, using shortcode to display search results:

    http://www.oltre-kit.it/kit/
    http://www.oltre-kit.it/box/
    http://www.oltre-kit.it/parts/

    The plugin is set to search in Portfolio post, using custom taxonomies.

    Everything seems to work properly, but only if the page is opened with direct link. If I use the navigation menu, I need to reload the page, otherwise nothing happens… How can i solve this?
    Thanks

    Trevor
    #68609

    I see what is being done. You are using Ajax to reload the part of the page that is the content and change the URL shown in the browser, but my guess is that our plugin is not seeing the change. On the Display Results settings tab, there are three checkboxes. The last one is to use AJAX only on the results page, and is usually checked (ON). What happens if it is off?

    Anonymous
    #68711

    I’ve tried in this page: http://www.oltre-kit.it/kit/
    But the result is the same, unfortunately

    Trevor
    #68791
    This reply has been marked as private.
    Anonymous
    #68951
    This reply has been marked as private.
    Trevor
    #68964

    OK, I can see what the issue is, but how to fix it is the question. What is happening is the the menu system is using Ajax to load the page and the S&F javascript is not being triggered so that it can bind to the search form, and so the search form loses its functionality. I will speak to Ross, as I have a feeling he may be able to fix this. I am not sure when he will be free, as he trying to put to bed an update to the plugin.

    Anonymous
    #68967
    This reply has been marked as private.
    Anonymous
    #69064
    This reply has been marked as private.
    Trevor
    #69070

    If the code in results.php looks like this:

    <?php 
    if ( has_post_thumbnail() ) {
      echo '<p>';
      the_post_thumbnail("small");
      echo '</p>';
    }
    ?>

    Change that block to this:

    <?php 
    if ( has_post_thumbnail() ) {
      echo '<a href="';
      the_permalink();
      echo '">';
      the_post_thumbnail("small");
      echo '</a>';
    }
    ?>

    I think. If you have a different image size, like thumb or thumbnail, or you have an array the the_post_thumbnail to add classes, then edit accordingly.

    Anonymous
    #69152
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 12 total)