Polylang PHP short-code in Blox not working
-
Hi,
I’m trying to add a Polylang (multilanguage plugin) shortcode (php) to blox so the language-switcher will be displayed.
First I checked the option: Check to enable PHP code.And then I pasted this Polylang code in the Raw content field:
<?php pll_the_languages( array( ‘show_flags’ => 1,’show_names’ => 0 ) ); ?>Source for code: https://polylang.pro/doc/function-reference/#pll_the_languages
The problem is: the flags are displayed but they don’t function (not clickable).
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Polylang PHP short-code in Blox not working’ is closed to new replies.