• Hi all!

    I’m using the Attitude theme and I’m trying to modify the footer to add a link to a “Legal Terms” page. I’ve created the initial page in French, then translated it in English. Polylang correctly links the FR and the EN pages.

    However, the footer will now display an additional Legal Terms tag. My question is: how can I point to the proper FR/EN page depending on the current language? I need some kind of “contextual” URL there…

    Thanks in advance for any help!

    https://www.ads-software.com/plugins/polylang/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Chouby

    (@chouby)

    Hi!

    How do you enter this url for one language? If it is stored in your theme options, you will need to create a wpml-config.xml file.

    Thread Starter jlgarnier

    (@jlgarnier)

    Thanks Chouby!

    By the way, I have one page in French and one in English. What I need is that the footer may point to the proper version according to the language used for all other elements! It’s strange that menus, widgets, posts properly toggle between FR/EN and not the footer…

    I’d like to have the footer as follow:
    “Copyright © [the-year] [site-link] | Theme by: [th-link] | Powered by: [wp-link] | Legal terms

    Any clue ?

    Thanks in advance for any help!

    Plugin Support Chrystl

    (@chrystl)

    Hello

    How do you enter this url for one language?

    Please answer to this question. You can also provide screen copies.

    Thread Starter jlgarnier

    (@jlgarnier)

    How do you enter this url for one language?

    Simply adding the link to the (French) page in

    Copyright &copy; [the-year] [site-link] | Theme by: [th-link] | Powered by: [wp-link] | <a href="https://wp.me/P5nzdb-51">Legal terms</a>

    I’d like to replace the URL with some kind of tag that would allow the footer to point to FR/EN page according tho the current selected language…

    Have a look at the page, the URL above is the real one…

    Thanks for any help!

    Plugin Author Chouby

    (@chouby)

    Do you enter this in your theme options?

    Thread Starter jlgarnier

    (@jlgarnier)

    Yes, I’ve edited “Footer options” in the Advance Settings tabs… My question is: how can I refer to more than one page in the same settings? What I’m seeking for is a “generic” link to the Legal Terms page which would point to the English page when language=en and the French page when language=fr…

    Any clue for this?

    Thanks again.

    Plugin Author Chouby

    (@chouby)

    Polylang does not add such a feature as “generic link”. However it is possible to translate options and get them in the strings translations panel thanks to the wpml-config.xml file. If you don’t know how to find the right option in your DB, please ask the theme author to tell you in which option is stored your footer text.

    Thread Starter jlgarnier

    (@jlgarnier)

    Fine! I’ll ask the theme developer if there’s such a feature as a translatable footer… In the meantime, I’ll dig a bit into that wmpl-config.xml thing…

    Thanks again!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Linking to the proper page from the footer’ is closed to new replies.