Support » Plugin: Polylang » is_home() ??

  • heikkiwaan

    (@heikkiwaan)


    i’m trying to use is_home() or somethign else to detect if we are on ANY home/front page (any language) to disable the page title header.

    how can i do it with php and polylang running?
    Thanks.

Viewing 1 replies (of 1 total)
  • Plugin Author Chouby

    (@chouby)

    Hello,

    Polylang honors is_home() and is_front_page() in all languages. So without Polylang, is_front_page() returns true only on your front page. With Polylang it returns true for all front pages in all languages.

Viewing 1 replies (of 1 total)
  • The topic ‘is_home() ??’ is closed to new replies.