• Hi,
    I’ve created a website (child) based on the Spun theme : https://www.tegula.be. This site is the dutch version.
    Now, I’ve created a network site (the english version) : https://www.tegula.be/en/.
    All goes well!

    But, the only problem now is: my site description (www.tegula.be) : “gespecialiseerd in de restauratie van keramische tegels, moza?ek, aardewerk, steengoed, porselein en aanverwante materialen”.
    I hardcoded the site description in header.php.

    I want to put the english version of the site description on https://www.tegula.be/en/

    However, since https://www.tegula.be/en/ is “virtual”, it does not not have an actual folder on the server. So I cannot make a separate translation for my site description.

    Any solution?

    Thanks,
    Christophe.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter christophe913

    (@christophe913)

    Could anyone help please?
    Thanks,
    Christophe.

    Theme Author Caroline Moore

    (@sixhours)

    In header.php, you could use an IF statement to check which site you’re viewing, then change the site description accordingly. I’m not sure exactly how you’d do that, probably check the URL…

    if ( viewing the English version ) :
       echo "English tagline";
    else :
       echo "Dutch tagline";
    endif;

    It’s the “viewing the English version” part I’m not sure how you’d code.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘customize network site (hardcoded site description)’ is closed to new replies.