• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

previous page + qtranslate : back to default language

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › previous page + qtranslate : back to default language

This topic is: not resolved
  • This topic has 2 replies, 1 voice, and was last updated 13 years, 7 months ago by virginie.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 9, 2013 at 9:45 pm #34447
    virginie
    Member

    Hello,

    I'm using qtranslate plugin 2.5.34 with genesis 1.9.1 et News Theme 2.1. Everything works fine except for Previous Link Page. First page/number always return to default language.

    I tried several patch from qtranslate forum but nothing worked. Does anyone had this problem before and/or fix it?

    exemple : http://ymamj.org/blogue/en/category/article/page/2

    if I go back to page 1, it change to default language French
     thank you
     

     

     

    April 10, 2013 at 11:27 am #34582
    virginie
    Member

    note : I used Genesis Featured page widget as first page.

    April 11, 2013 at 12:36 pm #34799
    virginie
    Member

    If I look at the source code, I see the link for page 2 : http://ymamj.org/blogue/en/category/article/page/2

    and for page 1 is : http://ymamj.org/blogue/en/category/article/

    if  I go back from page 2 to page 1, link http://ymamj.org/blogue/en/category/article/

    change to http://ymamj.org/blogue/category/article/

    even if we read the English link in the source code as http://ymamj.org/blogue/en/category/article/

    I tried this function but its not working - maybe something is missing to be compatible with genesis :

    add_filter('get_pagenum_link', 'qtranslate_next_previous_fix');

    function qtranslate_next_previous_fix($url) {
    $aUrl = explode("/".qtrans_getLanguage(),$url);
    if (isset($aUrl[1]))
    $url=qtrans_convertURL($aUrl[1]);
    return $url;
    }

    thank you

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble