WordPress.org

Ready to get started?Download WordPress

Forums

Transposh WordPress Translation
[resolved] Hide one flag if that is the current language (3 posts)

  1. bulleteater
    Member
    Posted 1 year ago #

    Is it possible to hide one flag if that is the current language of the website?

    So to be more clear:
    When you are on the dutch version of the website, only the english flag has to be shown
    When you are on the english version of the website, only the dutch flag has to be shown

    Is this possible?

    http://wordpress.org/extend/plugins/transposh-translation-filter-for-wordpress/

  2. Ofer Wald
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    There are two ways to achieve this goal.
    1. use css, there is a tr_active class, just make it display: hidden
    2. rewrite the widget code to eliminate the flag you don't want to see (see the exact if statement that adds the tr_active class :) )

    Best

  3. bulleteater
    Member
    Posted 1 year ago #

    Thank you! I got it working!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.