WordPress.org

Forums

Multilingual Press
[resolved] Variable according to filter language (2 posts)

  1. fedinx
    Member
    Posted 1 year ago #

    Hello:
    I'm using the Plugin and would need to know:
    (When the language is changed (in the front-end)) There is a variable that stores the language is in each case? Would need this to print specifications (like 'en-EN' or 'es-ES') in some HTML Tags, according to the language being displayed (eg in tags from 'header.php'). Or if I wanted to show specific content only in the 'X page English' and not show it on the same page but in Spanish, filtering with this variable.
    thanks

    http://wordpress.org/plugins/multilingual-press/

  2. toscho
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, please use Mlp_Helpers::get_blog_language().

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Multilingual Press
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags