Polylang custom strings, display strings
-
1. your permalinks settings: Post name
2. if you are using a static front page: Yes
3. your Polylang settings: Default; Language is set from content/keep language in pretty-linkFirst of all: Thanks for this amazing plugin, I’ll use it everytime ^-^.
Issue: Im trying to register the string (which works), I see them in the Language -> strings tab; But when I try to print the registered string it echo’s just a string… and not an entry in the polylang string setting page..
register string : pll_register_string(‘Entry’, ‘entry’);
print string: <?php pll_e(‘Entry’); ?> It will print ‘Entry’ regardless whats in the string settings textbox per language.I’m probably doing something wrong, but I can’t figure it out by myself :< Maybe someone who would like to enlighten me?
Thanks!
Erwin
- The topic ‘Polylang custom strings, display strings’ is closed to new replies.