• Hello, I am using this great plugin and have French and Dutch as the two languages.

    French is set to default language.

    When I click to a Dutch version of the page all is ok, but when I click the logo to take me to the homepage I am taken to the French home page and not the Dutch home page.

    What am I doing wrong?

    Here is my URL setup: https://prnt.sc/s94mno

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • You should check where the URL behind the logo comes from. For example, is it hard coded, is it the blog url or is added with get_home_url() ?
    Depends on your answer you know the reason for this behavior.

    Thread Starter ntarantino

    (@ntarantino)

    Hey thanks for the reply, here is the pastbin that I hope gives more insight.

    https://pastebin.com/QAPpHxeA

    The URL is created by a custom function $logo_url = wpex_header_logo_url();.
    So, you have to contact theme support to get the issue fixed.
    You should ask why they do not use the WordPress native function get_home_url(). This function returns the right URL with Polylang. Or, you do your own test and change $logo_url = wpex_header_logo_url(); into $logo_url = get_home_url();.
    Maybe this works. But I think there is a reason why the theme delevoper has created a theme function for this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Navigation Logo URL’ is closed to new replies.