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

suc1338 on "Polylang custom strings, display strings"

$
0
0

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-link

First 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

https://wordpress.org/plugins/polylang/


Viewing all articles
Browse latest Browse all 11471

Trending Articles



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