Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #633361

    Hello,

    I’m using Enfold theme with Polylang and am having trouble with one function of the Portfolio Grid.

    I’ve set the portfolio grid to show a maximum of 16 items. When there are more than 16 items, a page selector (1,2,3) becomes available at the bottom of the grid. When the user clicks on ‘2’ for example, they are redirected to an error page that says:
    “Nothing Found. Sorry, the post you are looking for is not available. Maybe you want to perform a search?”

    Are you able to help me with this problem?

    I’m not sure if this would affect the functionality, but I have used some custom code found on the forum so that Ajax search would only search in the current language:

    /**
     * Ajax Search Query
     */
     
    add_filter('avf_ajax_search_query', 'avf_modify_ajax_search_query', 10, 1);
    function avf_modify_ajax_search_query($search_parameters)
    {
    $language = pll_current_language();
    parse_str($search_parameters, $params);
    $params['lang'] = $language;
    $search_parameters = http_build_query($params);
    return $search_parameters;
    }

    Thanks!

    #633579

    Hi, just a quick bump. Thanks!

    #634168

    Hi,

    Could you try updating to the latest version of the theme (3.5.4) to see if that helps please?

    Thanks,
    Rikard

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