Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1466900

    Hello,
    Search form for some words like “семицветик” does not show a post in drop down list field, but when you press “search button” the page is found.
    Is there some attribute to add to this drop down while search?
    How to set priority to be shown in dropdown?
    https://buzaevclinic.ru

    #1467049

    Hey ibuzaev,

    Thank you for the inquiry.

    The AJAX search seems to be working as expected. Please check the screenshot in the private field.

    Best regards,
    Ismael

    #1467098

    There are pages in the search. But the page with this content is ABSENT in results.
    https://buzaevclinic.ru/parkinsons-disease-community/ this is that page

    • This reply was modified 2 weeks, 4 days ago by ibuzaev.
    #1467160

    Hi,

    Thank you for the update.

    The keyword is also present in the items in the AJAX search results. Please check the private field. It’s possible that your preferred or expected post was published in the past or is not included in the initial results. Users may need to access the full search results page and use pagination to view other pages containing the keyword.

    Best regards,
    Ismael

    #1467178

    The Ajax search shows only a few results. The results are displayed in a certain order (newest; page order …); Your search term is on a page that is older than the pages shown.
    The number – how many results are displayed – is set to 5 by default in Enfold. This makes sense for the normal placement at the top inside main menu. Where you have the search, you might want to increase this a little.

    Incidentally, if you only want to display pages (or posts) there, you could also restrict this to these post types.

    Put this to your child-theme functions.php :

    function avf_modify_ajax_search_query($search_parameters){
      parse_str($search_parameters, $params);
      $params['numberposts'] = 10;
      $search_parameters = http_build_query($params);
      return $search_parameters;
    }
    add_filter('avf_ajax_search_query', 'avf_modify_ajax_search_query', 10, 1);
    #1467202

    Thank you very much, Guenni007 and Ismael

    #1467254

    Hi,

    You’re very welcome! Please feel free to open another thread if you have more questions about the theme.

    Have a nice day.

    Best regards,
    Ismael

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Strange Search Behaviour’ is closed to new replies.