WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Multisite Language Switcher] Available Translation url (6 posts)

  1. zouzouille
    Member
    Posted 2 years ago #

    Hi,

    How can I retrieve the available translation url for the current page?

    Thanks

  2. Dennis Ploetner
    Member
    Posted 2 years ago #

  3. zouzouille
    Member
    Posted 2 years ago #

    Thank you for your response realloc

    No, actually I need to know the url of the translation of my current page (url use with flags)

    My web site is in English and French.

    On my english page (www.mywebsite.com/article-12/) i would put the french url in one variable(fr.mywebsite.com/article-12 /) and vice versa

    [ Please do not bump, that's not permitted here. ]

  4. Dennis Ploetner
    Member
    Posted 2 years ago #

    You could use this function here: https://github.com/lloc/Multisite-Language-Switcher/wiki/Change-the-blog-collection but without changing the array.

  5. zouzouille
    Member
    Posted 2 years ago #

    Hi realloc,

    Thank you for your reponse but this function does not respond to my needs.

    Finally, I use and fit the MslsOutput function of this page and I get the url I needed.

    Thanks

  6. Dennis Ploetner
    Member
    Posted 2 years ago #

    OK. Very good!!

Topic Closed

This topic has been closed to new replies.

About this Topic