• Resolved dlx

    (@deeluuxe)


    Hello!

    I´ve tried adding two different links for two languages using the qTranslate Shortcode in the “TopBar Text & Image” Settings:

    [:de]/my-page/[:en]/my-page/?lang=en

    Unfortunately this doesn´t work and the link is being deleted from the input field after saving. It would be great working with qTranslate here, too. So users could be directed to the right page without having to switch the language again.

    Keep on the excellent work!
    Jan

    http://wordpress.org/extend/plugins/wp-topbar/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Bob

    (@rfgoetz)

    I found the issue.

    I put in code to validate the URL entered is valid. I’ll remove that in the next release.

    In the meantime, you can open wp-topbar-db-io.php and search for

    $wptbOptions['bar_link'] = esc_url($_POST['wptblinkurl']);

    Replace it with:

    $wptbOptions['bar_link'] =($_POST['wptblinkurl']);

    Let me know if that works,

    Bob

    Plugin Author Bob

    (@rfgoetz)

    This is now fixed in v 4.13.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘qTranslate for Links’ is closed to new replies.