Quantcast
Channel: polylang – WordPress.org Forums
Viewing all articles
Browse latest Browse all 11471

Sheeloo on "Epic bug with Polylang without touching anything"

$
0
0

Yes, it works ! But i've another strange thing, maybe something easy to solve.

All my website (except blog who is only in FR) is based on the var $pll_current_language

For example to check the language and put the right page (or include), i do :
if(pll_current_language($value) == 'fr') { $include = get_pages( ...... ); }
else { ..... }

But pll_current_language always return a bool(false)

$pll_current_language is no used anymore on Polylang 1.2.3 ?

I'll check further when i'll be at home, i can't do anything at this time :(

Thanks again Chouby !


Viewing all articles
Browse latest Browse all 11471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>