WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Widget Logic] How to get the langage value

[Resolved] [Plugin: Widget Logic] How to get the langage value

Viewing 1 replies (of 1 total)
  • OK it is solved :

    get_bloginfo('language') == 'en-US' /* For the first menu EN */
    get_bloginfo('language') == 'fr-FR' /* For the second menu FR */

    It was really simple, I was wrong with puting if PHP tag in the widget logic textfield… (it is already a condition in it)

    Thanks, kind regards

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Widget Logic] How to get the langage value’ is closed to new replies.