Forums Forums Search & Filter Pro Pagination problem in Polylang Arabian language

Viewing 10 posts - 1 through 10 (of 24 total)
  • Anonymous
    #186164

    Hi I’m using this plugin with polylang.
    I’ve made an override template to show results in each language.
    For that I’ve copied this code for pagination:

    `<div class=”pagination”>

    <div class=”nav-previous”><?php next_posts_link( ‘Older posts’, $query->max_num_pages ); ?></div>
    <div class=”nav-next”><?php previous_posts_link( ‘Newer posts’ ); ?></div>
    <?php
    /* example code for using the wp_pagenavi plugin */
    if (function_exists(‘wp_pagenavi’))
    {
    echo “<br />”;
    wp_pagenavi( array( ‘query’ => $query ) );
    }
    ?>
    </div>`
    It works in Spanish and English
    https://goo.gl/UFUBuF
    https://goo.gl/e8CeBQ

    But I don´t know in Arabian links to Spanish results
    https://www.eloyortega.com/pruebas/bempresas/ar/buscador-arabe/

    Can you help me, please?

    Thank you

    Trevor
    #186179

    On that last (Arabic link), the search form is in Spanish, not Arabic? Why is it not translated?

    Anonymous
    #186181

    Hello this is because I haven´t Arabian texts translated yet . But Search Form is saved as Arabian language in Polylang

    Trevor
    #186185

    And all the posts and taxonomy terms etc are translated into arabic?

    Anonymous
    #186187

    I think so, if is not polylang wouldn´t show them in that page.
    I´ve seen that it works if we add manually “?sf_paged=2”
    https://goo.gl/EjGQ9H

    Trevor
    #186195
    This reply has been marked as private.
    Anonymous
    #186230

    Yes, I just uploaded, renaming the older plugin folder, it but still links to Spanish page:
    https://goo.gl/aJAxae

    Trevor
    #186249

    Just renaming the folder would likely cause issues (unless you deactivated it first?). Moving the old folder UP one level (into the wp-content parent folder) is safer.

    Other than with Search & Filter, does the Arabic translation for other pages in your site work fine?

    If you deactivate Search & Filter and do a standard WordPress search in the Arabic version of the site, are the results there in Arabic?

    Anonymous
    #186275

    Well I’ve deleted from server the old folder.
    Then I deactivated & activated plugin, no changes.
    Search & Filter works fine in Spanish and English version, haven’t tried in other languages:
    https://goo.gl/UFUBuF
    https://goo.gl/e8CeBQ

    Anonymous
    #186278

    I have made another page template with a loop for the custom post type, and here the pagination works in Arabic:
    https://goo.gl/fcz9AR

Viewing 10 posts - 1 through 10 (of 24 total)