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

DeathAngelDaemon on "[Plugin: Polylang] How to add swichers at the very TOP of site"

$
0
0

That looks like the Plugin "polylang" is de-activated.
Maybe you can test, whether the plugin is activated.

<?php
if( class_exists('Polylang') && function_exists('pll_the_languages') ) {
    return 'Yeah, the plugin is activated and should be displayed!';
} else {
    return 'FAIL!';
}
?>

If you get the second return, please have a look at your pluginlist and activate polylang if it is not. Otherwise there is maybe another error.
Where have you put in the pll_the_languages(); function?


Viewing all articles
Browse latest Browse all 11471

Trending Articles



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