Support Forums

Looking for support? You can access the support system via your account.

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

Viewing 10 posts - 1 through 10 (of 12 total)
  • Beppe
    #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 Moderator
    #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?

    Beppe
    #68711

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

    Trevor Moderator
    #68791
    This reply has been marked as private.
    Beppe
    #68951
    This reply has been marked as private.
    Trevor Moderator
    #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.

    Beppe
    #68967
    This reply has been marked as private.
    Beppe
    #69064
    This reply has been marked as private.
    Trevor Moderator
    #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.

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

The topic ‘Plugin doesn't work properly using website navigation menu’ is closed to new replies.