Before you ask please READ THIS

Different logo & URL for different sites

edited May 2020 in Rife Posts: 43
Hello,

I am tring to build simple website in two languages polish/english.
I will not use any language plugin, only creating 2 different menus for two languages.
Is it passible to set 2 different logo SVG and 2 different URLs in logo for different sites.
For example when I am on english version site and click in logo I want to open english version home site.
Similar effect I want to achive in polish version, clicking in logo I want to open polisch version home site.

Kind regards,
Arek
Post edited by Arek on

Comments

  • AirAir
    Posts: 10,970
    Hey :)

    It all depends on how big your website will be. If you will have like 3 subpages, then creating if-else for all those pages IDs is pretty manageable.
    Still, you will have to monitor your changes in code

    This can easily become a hell of custom coding. That is why there are plugins like WPML or Polylang.

    With kind regards.
  • Posts: 43
    Hey :-)

    Site will be small, about 6 subpages in polish & 6 subpages in english.
    Can you please show me if-else example solution. I am not programmer, I am webmaster.

    Kind regards,
    Arek
  • Posts: 43
    Hello :-)

    WPML helped me with some issues so the question about different logo & URL for different sites using if-else function is temporary not actual.

    Thank you
    Arek
  • AirAir
    Posts: 10,970
    OK :-) Thanks for the info. Good job!

    With kind regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion