Support » Plugin: WP Multilang » Hide content if language is set to ENG

  • Hi, I’m building a website that will have content in 3 languages (ENG, RUS, UKR)

    the primary language is RUS. I will translate all pages to ENG and UKR, but won’t be doing it for blogs (at least for now), since it’s too much work.

    What I want to do is to hide blog sections on ENG and UKR, how would I go about it?

    Website is built from scratch, not using any page builders. Not sure what other information you might need.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi bazinga,
    There is different solutions for your needs.
    01. You could manage each menu item to show only in the chosen language(s).
    02. You could also choose to hide some content with CSS.
    ex. to hide the English language switch:
    You have this in your source code:
    <body class="blog language-en">

    You will create this CSS selector: li.item-language-en {

    Let me know…

    Hi Anticosti,

    I didn’t realize there is an extra class in body now, that’s awesome and should do the trick.

    Thank you for an incredible plugin, will recommend everybody to give it a try!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.