loop-pagination error?
-
Coming from mTranslate now using qTranslate-x. Noticed an issue with what I supposed is linked to the following code:
in loop-nav.php from the theme “Origin” the command loop_pagination(); creates in the “main” language this:
<nav class="pagination loop-pagination"><span class='page-numbers current'>1</span> <a class='page-numbers' href='https://www.myundisclosedurl.de/page/2/'>2</a> <span class="page-numbers dots">…</span> <a class='page-numbers' href='https://www.myundisclosedurl.de/page/13/'>13</a> <a class="next page-numbers" href="https://www.myundisclosedurl.de/page/2/">Vor →</a></nav>
whereas in the second language it creates this:
<nav class="pagination loop-pagination"><span class='page-numbers current'>1</span> <a class='page-numbers' href='https://www.myundisclosedurl.de?lang=sv'>2</a> <span class="page-numbers dots">…</span> <a class='page-numbers' href='https://www.myundisclosedurl.de?lang=sv'>13</a> <a class="next page-numbers" href="https://www.myundisclosedurl.de?lang=sv">Next →</a></nav>
Hence, in the second version the code created cannot be used to browse through the pages as the page number is not in the url any longer.
Any idea on how to fix this?
BR
Oliver
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘loop-pagination error?’ is closed to new replies.