single portfolio "button back" issue

  • Posted in : cvCard WP
  • Abbe
    Participant

    Hi,

    I’m having an issue with multilingual wp and the href att from the “back button”

    To be clear:

    This is my projects page in English:
    http://thesearemyworks.com/#/works

    Access this project in English and click “back button” = EVERYTHING OK
    http://thesearemyworks.com/#/works/portfolio/nestle-foodservices/

    This is my projects page in Spanish:
    http://es.thesearemyworks.com/#/trabajos

    Access this project in Spanish and click “back button” = WRONG
    http://es.thesearemyworks.com/#/trabajos/portfolio/nestle-foodservices/

    As you can see it remains the wrong slug on the href att of the back button. Making it imposible to go back for real.

    I tried to modify single-portfolio.php – line 27 – to instead of using $portfolio_page_slug, to use the Portfolio Widget Title, which i could actually translate trough WPML string translation menu.

    <a class="button back" href="">

    Haven’t success, I’m using WPML and cvCard all up to date.
    Please help.

    Abbe
    Participant

    Good morning,

    Sorry to bump, but could you please have a look into my problem. I’m haven’t been able to fix it yet.

    thank you.

    Mehmet S.
    Keymaster

    Hi, the “back” link is not compatible for multilingual wp, I will try to find a solution. Thanks for the feedback.

    You can hide it to use browser back button instead.

    Abbe
    Participant

    Hi, thank you for looking at it. The browser back button isn’t optimal, users may not understand “how to” and leads to unpleasant experience.

    I applied a patch solution using ICL_LANGUAGE_CODE from wpml to detect the lang code and load the proper html code.

    I’ll wait for an update. Thanks again.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register