Hi, I want to add Polylang string translations in different parts on theme, for example the privacy policy bar, I added a custom string, then I tried to add it to the bar, without any result, it is blank. I tried to add the string with these methods:
Please send me your custom code you registered string. I will check it help you.
Or send me your website managment information ( admin url site, username and password ) in order for me to have access to know the exact issue. We will take it a lock on this help you.
I registered the string correctly, I only need to know what I have to use in the customize panel, if I have to put <?php?> or directly the function or other symbols, because they don't work, for example "echo 'something';" doesn't work, neither with <?php ?>
Hi, I want to add Polylang string translations in different parts on theme, for example the privacy policy bar, I added a custom string, then I tried to add it to the bar, without any result, it is blank. I tried to add the string with these methods:
<?php echo pll_e('privacypolicy'); ?>
<?php echo pll__('privacypolicy'); ?>
echo pll_e('privacypolicy');
echo pll__('privacypolicy');
How can I do? Thank you
Hi,
"pll_e" function translates a string previously registered with "pll_register_string" function http://prntscr.com/n24e32.
Please register string with "pll_register_string" function before use "pll_e" function.
Please checkthis guide to know how to use function of polylang plugin
Best Regards,
PenciDesign
Hi,
I registered correctly, but it doesn't appear, how can I use it? With <?php ?> or without it? Thank you
Hi,
Please send me your custom code you registered string. I will check it help you.
Or send me your website managment information ( admin url site, username and password ) in order for me to have access to know the exact issue. We will take it a lock on this help you.
Best Regards,
PenciDesign
I registered the string correctly, I only need to know what I have to use in the customize panel, if I have to put <?php?> or directly the function or other symbols, because they don't work, for example "echo 'something';" doesn't work, neither with <?php ?>
Hi,
Do you want use in the customize panel like screenshot http://prntscr.com/n37bpu
If right, please add custom code to register customize panel on function.php file
http://prntscr.com/n37df7 , http://prntscr.com/n37dq5, http://prntscr.com/n37dze
UsageBest Regards,
PenciDesign