Pagination issue with qTranslate
-
I’ve been using qTranslate plugin for a long time and it usually works perfectly, with few well-known tricks. This time I’m coding to display all posts from a category with pagination by adding
get_previous_posts_link()
andget_next_posts_link()
to browser among pages. It works fine with default language but it fails after switching to the second language. I’m using custom permalink structure (/%category%/%postname%/
): if on local XAMPP server the link in default language is i.e.https://localhost/www/site-root/category/category-x/page/2/
, the translated link should be likehttps://localhost/www/site-root/en/category/category-x/page/2/
but otherwise it ishttps://localhost/www/site.root/en/www/site-root/category/category-x/page/2/
and it obviously gives error.
I can’t fix it this wierd behaviour. Even trying some filters I found. Thinking of making pagination with jQuery but I’d prefere to keep native wordpress functionality. Please, any suggestion will be appreciated.
- The topic ‘Pagination issue with qTranslate’ is closed to new replies.