Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #658755

    Hello Enfold!

    Thanks for your great theme. I have three questions about search:

    1. How do i display more search results?
    More search results

    2. When clicking on view all results the order is different from the AJAX results. I would like to have AJAX results order the same as on this all results page. How do I fix this?

    All results

    3. How do I style the view all results page? Is there a template available for this page?

    Thanks for your help!

    #658756

    See attachment for information.

    #659661

    Hi,

    Thank you for using Enfold.

    1.) Please add this in the functions.php file in order to increase the number of posts:

    add_filter('avf_ajax_search_query', 'avf_modify_ajax_search_query', 10, 1);
    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;
    }

    Default value is 5.

    2.) Unfortunately, this is not possible. The query of the actual search results is different from the ajax search query.

    Best regards,
    Ismael

    #661171

    Hi Ismael!

    1. Perfect!
    2. Is there really no way to have same order of search results in AJAX and result page? This can be confusing for visitors. Is there a free plugin on the market which can help me for better search functionality?
    3. How do I style the view all results page? Is there a template available for this page?

    Thanks in advance for your help.

    #662517

    Hi,

    2.) You’d need to search such a plugin by yourself. Maybe here is something for you: kriesi.at/support/topic/recommended-plugins/

    2+3.) Refer to: https://kriesi.at/support/topic/how-to-edit-search-result-page/#post-223906

    Best regards,
    Andy

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.