WordPress.org

Ready to get started?Download WordPress

Forums

qTranslate
Pagination is broken! (1 post)

  1. Guido Eugenio aka Zhenya
    Member
    Posted 2 years ago #

    I'm using WP 3.3.1, the plugin qTranslate 2.5.27 and the theme Magazine Basic.
    Until MB 2.7.3 the pagination in another language was working properly, that is, in the second language every url of pages, archives and tags was ending:

    /page/2/?lang=ru
    /page/3/?lang=ru

    ..and so on.

    With the Magazine Basic release 2.7.4 or 2.7.5 and also the latest update of the theme, 2.7.6, the pagination is broken, i.e. in the second language all urls are:

    /?lang=ru/page/2/
    /?lang=ru/page/3/

    Thus, these pages are redirected to the home page of the main language.. And if I try again to navigate the archives, it doesn't work even in the main language because the url became:

    /?lang=ru%2Fpage%2F3%2F/page/2/
    /?lang=ru%2Fpage%2F3%2F%2Fpage%2F3%2F/page/3/

    I've already asked the author of the theme Magazine Basic and he advised to adress me to you with this question. He suggests controlling whether qTranslate works with that new WordPress pagination function:
    http://codex.wordpress.org/Function_Reference/paginate_links

    And another thing more, clicking on the Title/Home-Link resets selected language. The problem is this: Whatever language you are viewing the site in, when you click the Home button you are taken back to the default language Home page. To make it function I used:

    echo bloginfo('url')

    instead of:

    echo home_url()

    But now WordPress requires that you use echo home_url() and you can see it from the default theme.

    Thanks for any help or suggestions.

    http://wordpress.org/extend/plugins/qtranslate/
    http://wordpress.org/extend/themes/magazine-basic

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by Guido Eugenio aka Zhenya
  • This topic is not resolved
  • WordPress version: 3.3.1