-1
votes
0answers
20 views

Polylang language switcher drop down not working [on hold]

i have this polylang language switcher plugin on my site 2 of the shortcode works but for the drodown its not working. <?php // WORKING ?> <ul><?php pll_the_languages(); ...
0
votes
0answers
84 views

Using fallback language with polylang and using pagination in different language leads to page not found

Following scenario I am using this in my archive.php to fall back to german in case there are no translations: if (is_category()) { $categories = get_the_category(); ...
0
votes
0answers
221 views

Polylang fallback language does not get activated even with patch

<?php //my patched archive.php to display posts of a category get_header(); ?> <div id="content"> <?php global $wp_query; ...
1
vote
1answer
2k views

detect the language a post is written in

Is there any way to evaluate the language a post/page is written in? I am building a multilingual site and am almost pulling my hair out trying to get the front-end navigation to take the chosen ...