MB views if polylang lan,guiage = else

Support MB Views MB views if polylang lan,guiage = else

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #46142
    Chris PChris P
    Participant

    Hi there,

    Is it possible to add an if else in MB views template that checks the polylang language

    Thx!

    #46143
    PeterPeter
    Moderator

    Hello Chris,

    It is possible to run a PHP function in the view template, please follow the documentation https://docs.metabox.io/extensions/mb-views/#running-php-functions

    if Polylang supports a PHP function that check the language, you can use that in the view template.

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